------- Comment #2 from tromey at gcc dot gnu dot org  2009-03-30 01:38 -------
convert_to_integer sets TREE_NO_WARNING on the shift,
causing cc1 to later bypass the warning.

#0  convert_to_integer (type=0xb7cf62d8, expr=0xb7cee630)
    at ../../trunk/gcc/convert.c:542
#1  0x080a7069 in convert (type=0xb7cf62d8, expr=0xb7cee630)
    at ../../trunk/gcc/c-convert.c:101
#2  0x080a4769 in build_binary_op (location=334, code=RSHIFT_EXPR, 
    orig_op0=0xb7cef1e0, orig_op1=0xb7d09054, convert_p=1)
    at ../../trunk/gcc/c-typeck.c:8573
#3  0x0808bb56 in parser_build_binary_op (location=334, code=RSHIFT_EXPR, arg1=
      {value = 0xb7cef1e0, original_code = ERROR_MARK}, arg2=
      {value = 0xb7d09054, original_code = ERROR_MARK})
    at ../../trunk/gcc/c-typeck.c:2794
#4  0x080fb741 in c_parser_binary_expression (parser=0xb7d80850, after=0x0)
    at ../../trunk/gcc/c-parser.c:4738


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


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

Reply via email to