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/18904] [4.0 Regression] 4.0-20041205 regression ICE with -O3


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-09 15:39 -------
here is the patch (for some reason I cannot send it out, stupid mail servers):
Index: tree-chrec.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/tree-chrec.c,v
retrieving revision 2.11
diff -u -p -r2.11 tree-chrec.c
--- tree-chrec.c	13 Oct 2004 03:48:03 -0000	2.11
+++ tree-chrec.c	9 Dec 2004 15:28:44 -0000
@@ -983,7 +983,7 @@ chrec_convert (tree type, 
 
     default:
       {
-	tree res = convert (type, chrec);
+	tree res = fold_convert (type, chrec);
 
 	/* Don't propagate overflows.  */
 	TREE_OVERFLOW (res) = 0;


-- 


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


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