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 c++/54194] misleading suggestion about arithmetic in operand of '|'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54194

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-05 16:32:02 UTC ---
Sure. Since the patch simply using warning_at is trivial and anyway
warn_about_parentheses is currently shared with the C front end, I propose to
just do that for 4.8.0. I'm attaching what I have regtested. I think it would
be a definite improvement. Tell me what you think. If you disagree, no problem,
I can move to something else and completely delay this issue to a later time.


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