[Bug tree-optimization/17340] [4.0 Regression] Internal error compiling with -O3
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Dec 8 00:54:00 GMT 2004
------- Additional Comments From steven at gcc dot gnu dot org 2004-12-08 00:54 -------
The rest of this bug goes away when I do this:
Index: global.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/global.c,v
retrieving revision 1.118
diff -u -3 -p -r1.118 global.c
--- global.c 25 Nov 2004 09:30:03 -0000 1.118
+++ global.c 8 Dec 2004 00:48:59 -0000
@@ -344,7 +344,9 @@ global_alloc (FILE *file)
size_t i;
rtx x;
+#if 0
make_accurate_live_analysis ();
+#endif
max_allocno = 0;
Since I have no idea what this "make_accurate_live_analysis ()" tries
to achieve, or how, I'll leave this for someone else to look at. But my
personal feeling is that this "feature" should be turned off at least at
"-O1", because we see "make_accurate_live_analysis ()" show up on profiles
way too often, and now it also blows up GCC until it runs out of memory.
The motivation for "make_accurate_live_analysis ()" is here:
http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01038.html.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17340
More information about the Gcc-bugs
mailing list