> Why do you reformat everything? > The enumerators aren't sorted alphabetically, just add the new one > after RID_BITINT.
i thought it was, but now i see it's not really, it can go in the end. > >> @@ -434,20 +434,21 @@ extern machine_mode c_default_pointer_mode; >> #define D_CXXONLY 0x0002 /* C++ only (not in C). */ >> #define D_C99 0x0004 /* In C, C99 only. */ >> #define D_C23 0x0008 /* In C, C23 only. */ >> -#define D_CXX11 0x0010 /* In C++, C++11 only. */ >> -#define D_EXT 0x0020 /* GCC extension. */ >> -#define D_EXT89 0x0040 /* GCC extension incorporated in C99. >> */ >> -#define D_EXT11 0x0080 /* GCC extension incorporated in C23. >> */ >> -#define D_ASM 0x0100 /* Disabled by -fno-asm. */ >> -#define D_OBJC 0x0200 /* In Objective C and neither C nor >> C++. */ >> -#define D_CXX_OBJC 0x0400 /* In Objective C, and C++, but not C. */ >> -#define D_CXXWARN 0x0800 /* In C warn with -Wcxx-compat. */ >> -#define D_CXX_CONCEPTS 0x1000 /* In C++, only with concepts. */ >> -#define D_TRANSMEM 0x2000 /* C++ transactional memory TS. */ >> -#define D_CXX_CHAR8_T 0x4000 /* In C++, only with -fchar8_t. */ >> -#define D_CXX20 0x8000 /* In C++, C++20 only. */ >> -#define D_CXX_COROUTINES 0x10000 /* In C++, only with coroutines. */ >> -#define D_CXX_MODULES 0x20000 /* In C++, only with modules. */ >> +#define D_DEFER 0x0010 /* C defer statements TS. */ >> +#define D_CXX11 0x0020 /* In C++, C++11 only. */ >> +#define D_EXT 0x0040 /* GCC extension. */ >> +#define D_EXT89 0x0080 /* GCC extension incorporated in C99. >> */ >> +#define D_EXT11 0x0100 /* GCC extension incorporated in C23. >> */ >> +#define D_ASM 0x0200 /* Disabled by -fno-asm. */ >> +#define D_OBJC 0x0400 /* In Objective C and neither C nor >> C++. */ >> +#define D_CXX_OBJC 0x0800 /* In Objective C, and C++, but not C. */ >> +#define D_CXXWARN 0x1000 /* In C warn with -Wcxx-compat. */ >> +#define D_CXX_CONCEPTS 0x2000 /* In C++, only with concepts. */ >> +#define D_TRANSMEM 0x4000 /* C++ transactional memory TS. */ >> +#define D_CXX_CHAR8_T 0x8000 /* In C++, only with -fchar8_t. */ >> +#define D_CXX20 0x10000 /* In C++, C++20 only. */ >> +#define D_CXX_COROUTINES 0x20000 /* In C++, only with coroutines. */ >> +#define D_CXX_MODULES 0x40000 /* In C++, only with modules. */ > > Again, why? Just add it to the end. this one though, had D_C99 and D_C23 masks in order at the top, and blame showed D_C2X being added right after them, since the patch used to add D_C2Y, i assumed that's where it should go, but it can just be moved down. > >> --- a/gcc/c-family/c.opt >> +++ b/gcc/c-family/c.opt >> @@ -1931,6 +1931,10 @@ fdefault-inline >> C++ ObjC++ Ignore >> Does nothing. Preserved for backward compatibility. >> >> +fdefer-ts >> +C Var(flag_defer_ts) >> +Enables support for defer statements from ISO/DIS TS 25755 for ISO C2Y > > Shouldn't that be C ObjC ? the technical specification is only for C as far as i know, is it wanted to extend it for ObjC? -- navi
68990292A7A98C5E.asc
Description: application/pgp-keys
signature.asc
Description: PGP signature