public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1
@ 2002-12-03 6:06 ebotcazou
0 siblings, 0 replies; 3+ messages in thread
From: ebotcazou @ 2002-12-03 6:06 UTC (permalink / raw)
To: ebotcazou, gcc-bugs, gcc-prs, nobody, sowhat
Synopsis: [3.2/3.3 regression] ICE in fixup_var_refs_1
Responsible-Changed-From-To: unassigned->ebotcazou
Responsible-Changed-By: ebotcazou
Responsible-Changed-When: Tue Dec 3 06:06:24 2002
Responsible-Changed-Why:
Working on a fix.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7675
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1
@ 2002-12-31 0:26 Eric Botcazou
0 siblings, 0 replies; 3+ messages in thread
From: Eric Botcazou @ 2002-12-31 0:26 UTC (permalink / raw)
To: ebotcazou; +Cc: gcc-prs
The following reply was made to PR optimization/7675; it has been noted by GNATS.
From: "Eric Botcazou" <ebotcazou@libertysurf.fr>
To: <janis187@us.ibm.com>
Cc: <gcc-gnats@gcc.gnu.org>,
<gcc-prs@gcc.gnu.org>,
<gcc-bugs@gcc.gnu.org>,
<sowhat@amnis.co.jp>
Subject: Re: optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1
Date: Tue, 31 Dec 2002 09:19:06 +0100
> Eric, I just noticed that you're working on a patch. Perhaps
> this information will be useful for you.
See the analysis and the patch at:
http://gcc.gnu.org/ml/gcc-patches/2002-12/msg00336.html
Unfortunately, the bug is the consequence of a fundamental problem with
nested functions in the C front-end, whose right solution is the one
proposed by Richard:
http://gcc.gnu.org/ml/gcc-patches/2002-12/msg00367.html
I'll try to address it for 3.4 and, in the meantime, ask Richard what to do
for the 3.2 and 3.3 branches, in light of you pinpointing Jason's patch.
Thanks.
- Eric
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1
@ 2002-12-24 12:26 Janis Johnson
0 siblings, 0 replies; 3+ messages in thread
From: Janis Johnson @ 2002-12-24 12:26 UTC (permalink / raw)
To: ebotcazou; +Cc: gcc-prs
The following reply was made to PR optimization/7675; it has been noted by GNATS.
From: Janis Johnson <janis187@us.ibm.com>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
sowhat@amnis.co.jp, ebotcazou@gcc.gnu.org
Cc:
Subject: Re: optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1
Date: Tue, 24 Dec 2002 12:24:53 -0800
The regression reported in PR optimization/7675 showed up
starting with this patch:
2000-11-11 Jason Merrill <jason@redhat.com>
* function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
give the parm a register and then call put_var_into_stack.
* stmt.c (expand_decl): Likewise.
cp/
* typeck.c (mark_addressable): Don't call put_var_into_stack.
Here's a small test case that causes the compiler to ICE
when compiled on i686-linux with -O:
-------------------
/* ICE when compiled with -O */
int dummy (int *);
void foo(int i, int j)
{
int k=j;
void bar() { int x=k, y=i, z=j; }
dummy(&j);
}
-------------------
Output from the mainline compiler:
7675.c: In function `foo':
7675.c:9: internal compiler error: in fixup_var_refs_1, at
function.c:1900
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
Eric, I just noticed that you're working on a patch. Perhaps
this information will be useful for you.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7675
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-12-31 8:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-03 6:06 optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1 ebotcazou
2002-12-24 12:26 Janis Johnson
2002-12-31 0:26 Eric Botcazou
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).