------- Comment #2 from pinskia at gcc dot gnu dot org 2007-08-20 08:12 ------- With - 1, we get: (plus:DI (symbol_ref:DI ("a") [flags 0x1402] <var_decl 0x42510ba0 a>) (const_int -1 [0xffffffffffffffff]))
While with +1, we get: (const:SI (plus:SI (symbol_ref:SI ("a") [flags 0x1402] <var_decl 0x42510b40 a>) (const_int 1 [0x1]))) Notice the wrapper of const. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32563