Patchwork Do not allow NON_LVALUE_EXPR in GIMPLE

login
register
mail settings
Submitter Richard Guenther
Date Aug. 29, 2014, 8:09 a.m.
Message ID <alpine.LSU.2.11.1408291008470.20733@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/384086/
State New
Headers show

Comments

Richard Guenther - Aug. 29, 2014, 8:09 a.m.
Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.

Richard.

2014-08-28  Richard Biener  <rguenther@suse.de>

	* tree-cfg.c (verify_gimple_assign_unary): Do not allow
	NON_LVALUE_EXPR in gimple.

Patch

Index: gcc/tree-cfg.c
===================================================================
--- gcc/tree-cfg.c	(revision 214677)
+++ gcc/tree-cfg.c	(working copy)
@@ -3572,7 +3572,6 @@  verify_gimple_assign_unary (gimple stmt)
     case ABS_EXPR:
     case BIT_NOT_EXPR:
     case PAREN_EXPR:
-    case NON_LVALUE_EXPR:
     case CONJ_EXPR:
       break;