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 bootstrap/14671] [3.3/3.4 regression] caller-save.c:491: internal compiler error: Segmentation fault


------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-04-04 23:31 -------
Subject: Re:  [3.3/3.4 regression] caller-save.c:491: int

> ------- Additional Comments From mmitchel at gcc dot gnu dot org  2004-04-04
> 23:05 -------
> Dave, can you confirm whether or not this PR is fixed?

This PR is not fixed and not fully understood.  At the moment, the
effect on 3.3/3.4 is hypothetical.  Clearly, the in_use bit for
the object is not set or has been clobbered.  The stage1 compiler
doesn't have the same problem.

The enclosed patch appears to "fix" the problem but it doesn't
explain why things broke with Zdenek's patch of March 18.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Index: loop.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/loop.c,v
retrieving revision 1.497
diff -u -3 -p -r1.497 loop.c
--- loop.c	18 Mar 2004 16:42:31 -0000	1.497
+++ loop.c	4 Apr 2004 23:21:30 -0000
@@ -537,10 +537,7 @@ loop_optimize (rtx f, FILE *dumpfile, in
       struct loop *loop = &loops->array[i];
 
       if (! loop->invalid && loop->end)
-	{
-	  scan_loop (loop, flags);
-	  ggc_collect ();
-	}
+	scan_loop (loop, flags);
     }
 
   end_alias_analysis ();


-- 


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


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