This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/26781] [4.2 Regression] ICE in tree-ssa-pre.c at create_component_ref_by_piec



------- Comment #10 from pinskia at gcc dot gnu dot org  2006-03-21 16:26 -------
I am testing the following patch:
Index: tree-ssa-pre.c
===================================================================
--- tree-ssa-pre.c      (revision 112250)
+++ tree-ssa-pre.c      (working copy)
@@ -2246,6 +2246,7 @@ create_component_ref_by_pieces (basic_bl
     case PARM_DECL:
     case RESULT_DECL:
     case SSA_NAME:
+    case STRING_CST:
       return genop;
     default:
       gcc_unreachable ();    

It works for the two simplified testcase (and the orginal one) but I would like
some comments from Daniel about this patch before submitting it.


-- 


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


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