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 gdr at integrable-solutions dot net  2004-05-28 03:05 -------
Subject: Re:  [3.3/3.4 regression] caller-save.c:491: internal compiler error: Segmentation fault

"dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla@gcc.gnu.org> writes:

| ------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  2004-05-28 01:34 -------
| Subject: Re:  [3.3/3.4 regression] caller-save.c:491: int
| 
| > | This appears to be because alias_invariant was not GC allocated.  I
| > | think the patch that I posted earlier today will fix this.  It's basically
| > | the same as that applied to the trunk except that in 3.3 the arrays are
| > | over allocated to allow for expansion during loop_optimize.
| > 
| > Thanks for the additional information.  Please could you give me a
| > link to the patch that you proposed for 3.3.x?  Thanks.
| 
| Here is the patch that I propose.  It uses ggc_alloc_cleared because
| the multiplication is already done in init_alias_analysis.  I have
| added the "rtx *" cast for K&R compatibility.
| 
| I have built the testcase provided with PR15660 and the current version
| of the pooma-2.4.0 with -O2 -funroll-loops.  However, the triggering
| of collection probably depends on the amount of memory in the test
| machine.  So, Richard should test the patch and see if it resolves
| his PR.

Thanks for your time.

Richard --

  Please can you test the patch?

Thanks,

-- Gaby


-- 


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]