This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54194] misleading suggestion about arithmetic in operand of '|'
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 05 Oct 2012 16:32:02 +0000
- Subject: [Bug c++/54194] misleading suggestion about arithmetic in operand of '|'
- Auto-submitted: auto-generated
- References: <bug-54194-4@http.gcc.gnu.org/bugzilla/>
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.