This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][no-undefined-overflow] Maybe fix bootstrap


Committed as obvious.

Richard.

2009-04-11  Richard Guenther  <rguenther@suse.de>

	* c-common.c (c_fully_fold_internal): Handle *NV_EXPR.

Index: gcc/c-common.c
===================================================================
*** gcc/c-common.c	(revision 145959)
--- gcc/c-common.c	(working copy)
*************** c_fully_fold_internal (tree expr, bool i
*** 1420,1428 ****
--- 1420,1432 ----
      case POSTDECREMENT_EXPR:
      case POSTINCREMENT_EXPR:
      case PLUS_EXPR:
+     case PLUSNV_EXPR:
      case MINUS_EXPR:
+     case MINUSNV_EXPR:
      case MULT_EXPR:
+     case MULTNV_EXPR:
      case POINTER_PLUS_EXPR:
+     case POINTER_PLUSNV_EXPR:
      case TRUNC_DIV_EXPR:
      case CEIL_DIV_EXPR:
      case FLOOR_DIV_EXPR:
*************** c_fully_fold_internal (tree expr, bool i
*** 1483,1488 ****
--- 1487,1493 ----
      CASE_CONVERT:
      case NON_LVALUE_EXPR:
      case NEGATE_EXPR:
+     case NEGATENV_EXPR:
      case BIT_NOT_EXPR:
      case TRUTH_NOT_EXPR:
      case ADDR_EXPR:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]