public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: middle-end/8306: ICE for bitfield7_y.C in C++ compatibility tests
@ 2002-12-20 7:39 ehrhardt
0 siblings, 0 replies; 2+ messages in thread
From: ehrhardt @ 2002-12-20 7:39 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, janis187, nobody
Synopsis: ICE for bitfield7_y.C in C++ compatibility tests
State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Fri Dec 20 07:39:30 2002
State-Changed-Why:
Confirmed with 3.2 and 3.4 on sparc-sun-solaris. This is a regression
from 2.95.x. This is a minimal example, compile with g++, gcc is fine:
int main ()
{
union U {int i : 64; } u;
if (u.i == 7);
}
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8306
^ permalink raw reply [flat|nested] 2+ messages in thread
* middle-end/8306: ICE for bitfield7_y.C in C++ compatibility tests
@ 2002-10-21 16:46 janis187
0 siblings, 0 replies; 2+ messages in thread
From: janis187 @ 2002-10-21 16:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 8306
>Category: middle-end
>Synopsis: ICE for bitfield7_y.C in C++ compatibility tests
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Mon Oct 21 16:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Janis Johnson
>Release: GCC 3.3 20021018 (experimentatal)
>Organization:
>Environment:
powerpc*
>Description:
The testsuite file g++.dg/compat/eh/bitfield7_y.C causes GCC
to ICE for powerpc, arm, and sparc targets (as seen by test
results in the gcc-testresults archive). These occur with
GCC 3.3 20021018 (experimental). I don't know if the ICE
occurs with earlier versions of GCC; perhaps someone with
ready access to earlier versions for those targets can try
the test case with them.
The ICE is in simplify_gen_subreg, at simplify-rtx.c:2681.
See David Edelsohn's analysis at
http://gcc.gnu.org/ml/gcc/2002-10/msg01133.html.
>How-To-Repeat:
Compile gcc/testsuite/g++.dg/compat/eh/bitfield7_y.C with
target of powerpc, sparc, or arm.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-12-20 15:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-20 7:39 middle-end/8306: ICE for bitfield7_y.C in C++ compatibility tests ehrhardt
-- strict thread matches above, loose matches on Subject: below --
2002-10-21 16:46 janis187
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).