This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/39616] Stage 2 Werror - trunk revision 145459 - libcpp/identifiers.c:113: error: variably modified 'proxy_assertion_broken' at file scope


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39616

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
extern char proxy_assertion_broken[offsetof (struct cpp_hashnode, ident) == 0 ?
1 : -1];


offsetof needs to be a constant expression but the openbsd definition is not
(pointer are not part of an integral constant expression).  OpenBSD also
disable all use of gcc supplied headers so only a fixincludes can be done but
since that is for a 7 year old OS which is most likely not used any more.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]