[Bug c++/54194] misleading suggestion about arithmetic in operand of '|'
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 5 15:37:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54194
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |paolo.carlini at oracle dot
|gnu.org |com
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-05 15:36:35 UTC ---
Ok, I have the straightforward patch changing the position of the caret to the
'|'. This is certainly suboptimal but totally consistent with the existing
warn_about_parentheses infrastructure which generically mentions the operands
and prints *that* operator. I suppose that for long expressions the change can
make for a good improvement.
More information about the Gcc-bugs
mailing list