[Bug c++/54194] GCC 4.8 gives misleading suggestion about arithmetic in operand of '|'

2012-08-07 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54194 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug c++/54194] GCC 4.8 gives misleading suggestion about arithmetic in operand of '|'

2012-08-07 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54194 --- Comment #2 from Manuel López-Ibáñez manu at gcc dot gnu.org 2012-08-07 19:35:45 UTC --- Use warning_at and pass down the correct location of the operator if possible, otherwise input_location? Of course, it would be nice to have ranges but I