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]

Committed PATCH: fix bug 30833


I've committed the attached patch as "obvious". Bug 30833 ran into the missing case tcc_vl_exp in tree-dump.c, and I looked around and found another one in tree-ssa-propagate.c. Bootstrapped and regtested on x86_64-unknown-linux-gnu.

-Sandra

2007-02-18  Sandra Loosemore  <sandra@codesourcery.com>

	PR middle-end/30833
	* tree-dump.c (dequeue_and_dump): Add tcc_vl_exp case missed
	during CALL_EXPR representation conversion.
	* tree-ssa-propagate.c (set_rhs): Likewise.
Index: tree-dump.c
===================================================================
*** tree-dump.c	(revision 122100)
--- tree-dump.c	(working copy)
*************** dequeue_and_dump (dump_info_p di)
*** 319,324 ****
--- 319,325 ----
  	case tcc_expression:
  	case tcc_reference:
  	case tcc_statement:
+ 	case tcc_vl_exp:
  	  /* These nodes are handled explicitly below.  */
  	  break;
  
Index: tree-ssa-propagate.c
===================================================================
*** tree-ssa-propagate.c	(revision 122100)
--- tree-ssa-propagate.c	(working copy)
*************** set_rhs (tree *stmt_p, tree expr)
*** 615,621 ****
  	    return false;
  	  break;
  
- 	case CALL_EXPR:
  	case EXC_PTR_EXPR:
  	case FILTER_EXPR:
  	  break;
--- 615,620 ----
*************** set_rhs (tree *stmt_p, tree expr)
*** 625,630 ****
--- 624,639 ----
  	}
        break;
  
+     case tcc_vl_exp:
+       switch (code)
+ 	{
+ 	case CALL_EXPR:
+ 	  break;
+ 	default:
+ 	  return false;
+ 	}
+       break;
+ 
      case tcc_exceptional:
        switch (code)
  	{

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