public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/14671] [3.4 regression] caller-save.c:491: internal compiler error: Segmentation fault
Date: Sun, 30 May 2004 12:58:00 -0000 [thread overview]
Message-ID: <20040529000620.7729.qmail@sourceware.org> (raw)
In-Reply-To: <20040321182857.14671.danglin@gcc.gnu.org>
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-05-29 00:06 -------
Subject: Re: [3.4 regression] caller-save.c:491: interna
> This patch is OK for GCC 3.4.1. Please check it in!
3.4 is a little bit different. This is what I committed after testing
on hppa-unknown-linux-gnu with a bootstrap with -funroll-loops added to
BOOT_CFLAGS.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
2004-05-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR bootstrap/14671
* alias.c (init_alias_analysis): Allocate alias_invariant array with
ggc_calloc instead of xrealloc.
(end_alias_analysis): Don't free alias_invariant.
Index: alias.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/alias.c,v
retrieving revision 1.209.2.5
diff -u -3 -p -r1.209.2.5 alias.c
--- alias.c 21 Apr 2004 19:52:36 -0000 1.209.2.5
+++ alias.c 28 May 2004 19:04:36 -0000
@@ -2816,10 +2816,7 @@ init_alias_analysis (void)
reg_seen = xmalloc (maxreg);
if (! reload_completed && flag_old_unroll_loops)
{
- /* ??? Why are we realloc'ing if we're just going to zero it? */
- alias_invariant = xrealloc (alias_invariant,
- maxreg * sizeof (rtx));
- memset (alias_invariant, 0, maxreg * sizeof (rtx));
+ alias_invariant = ggc_calloc (maxreg, sizeof (rtx));
alias_invariant_size = maxreg;
}
@@ -3019,7 +3016,6 @@ end_alias_analysis (void)
reg_known_equiv_p = 0;
if (alias_invariant)
{
- free (alias_invariant);
alias_invariant = 0;
alias_invariant_size = 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14671
next prev parent reply other threads:[~2004-05-29 0:06 UTC|newest]
Thread overview: 61+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-21 18:29 [Bug bootstrap/14671] New: [3.5 " danglin at gcc dot gnu dot org
2004-03-21 18:33 ` [Bug bootstrap/14671] " pinskia at gcc dot gnu dot org
2004-03-23 3:32 ` danglin at gcc dot gnu dot org
2004-03-23 3:40 ` pinskia at gcc dot gnu dot org
2004-03-23 4:20 ` danglin at gcc dot gnu dot org
2004-04-04 7:12 ` danglin at gcc dot gnu dot org
2004-04-04 7:23 ` pinskia at gcc dot gnu dot org
2004-04-04 7:54 ` dave at hiauly1 dot hia dot nrc dot ca
2004-04-04 8:08 ` dave at hiauly1 dot hia dot nrc dot ca
2004-04-04 16:06 ` [Bug bootstrap/14671] [3.3/3.4 " pinskia at gcc dot gnu dot org
2004-04-04 16:42 ` dave at hiauly1 dot hia dot nrc dot ca
2004-04-04 23:05 ` mmitchel at gcc dot gnu dot org
2004-04-04 23:31 ` dave at hiauly1 dot hia dot nrc dot ca
2004-04-07 4:24 ` dave at hiauly1 dot hia dot nrc dot ca
2004-04-21 20:04 ` cvs-commit at gcc dot gnu dot org
2004-04-21 20:31 ` danglin at gcc dot gnu dot org
2004-04-24 22:34 ` cvs-commit at gcc dot gnu dot org
2004-05-26 10:47 ` ebotcazou at gcc dot gnu dot org
2004-05-26 13:19 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-26 19:21 ` pinskia at gcc dot gnu dot org
2004-05-26 19:24 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-27 5:10 ` ebotcazou at gcc dot gnu dot org
2004-05-27 10:56 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-27 10:57 ` ebotcazou at gcc dot gnu dot org
2004-05-27 11:34 ` gdr at integrable-solutions dot net
2004-05-27 11:38 ` ebotcazou at gcc dot gnu dot org
2004-05-27 11:48 ` gdr at integrable-solutions dot net
2004-05-27 11:51 ` ebotcazou at gcc dot gnu dot org
2004-05-27 13:36 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-27 17:36 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-27 17:37 ` pinskia at physics dot uc dot edu
2004-05-27 17:38 ` gdr at integrable-solutions dot net
2004-05-27 17:42 ` pinskia at gcc dot gnu dot org
2004-05-27 18:37 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-27 18:44 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-27 19:12 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-28 1:24 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-28 1:34 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-28 4:24 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-28 10:17 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-28 11:25 ` ebotcazou at gcc dot gnu dot org
2004-05-28 13:09 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-28 15:55 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-28 17:34 ` gdr at integrable-solutions dot net
2004-05-28 18:58 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-28 20:01 ` gdr at integrable-solutions dot net
2004-05-28 21:38 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-28 21:39 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-28 22:17 ` rguenth at tat dot physik dot uni-tuebingen dot de
2004-05-28 22:29 ` gdr at integrable-solutions dot net
2004-05-28 22:29 ` ebotcazou at gcc dot gnu dot org
2004-05-29 1:25 ` cvs-commit at gcc dot gnu dot org
2004-05-29 1:44 ` pinskia at gcc dot gnu dot org
2004-05-29 1:50 ` [Bug bootstrap/14671] [3.4 " pinskia at gcc dot gnu dot org
2004-05-29 2:08 ` dave at hiauly1 dot hia dot nrc dot ca
2004-05-29 20:28 ` pinskia at gcc dot gnu dot org
2004-05-30 4:44 ` mmitchel at gcc dot gnu dot org
2004-05-30 11:51 ` cvs-commit at gcc dot gnu dot org
2004-05-30 12:58 ` dave at hiauly1 dot hia dot nrc dot ca [this message]
2004-05-30 13:07 ` pinskia at gcc dot gnu dot org
2004-05-30 13:17 ` dave at hiauly1 dot hia dot nrc dot ca
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040529000620.7729.qmail@sourceware.org \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).