[Bug rtl-optimization/31703] [4.3 regression]: Gcc 4.3 revision 124101 failed to compile gcc 3.2

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 25 17:15:00 GMT 2007



------- Comment #3 from hjl at lucon dot org  2007-04-25 18:15 -------
rewrite_bittest has

  lhs = GENERIC_TREE_OPERAND (stmt, 0);
  ...

      /* A & (1 << B) */
      t = fold_build2 (BIT_AND_EXPR, TREE_TYPE (a), a, name);
      stmt2 = build_gimple_modify_stmt (lhs, t);

When A & (1 << B) is long long and lhs is int, we may get a problem.


-- 


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



More information about the Gcc-bugs mailing list