This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix PR 40172 -- bootstrap breakage on some targets caused by fix for PR16302.


2009/5/19 David Daney <ddaney@caviumnetworks.com>:
> The fix for PR 16302 caused -Wlogical-op (part of the default -Wextra) to
> generate fatal warning for some code in GCC.
>
> I propose that we supply -Wno-logical-op as a fix.

-Wlogical-op was added to -Wextra in GCC 4.5, so this can be reverted
changing 4 lines. It is likely that, if it causes trouble for GCC, it
will case trouble for other codebases. That would be my preferred
option, short of fixing -Wlogical-op to not warn about macros, which
is impossible given GCC current capabilities.

Cheers,

Manuel.


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