public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/9358: ICE in simplify_gen_subreg
@ 2003-01-17 21:26 aj
0 siblings, 0 replies; 3+ messages in thread
From: aj @ 2003-01-17 21:26 UTC (permalink / raw)
To: gcc-gnats; +Cc: matz, dmuell
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2428 bytes --]
>Number: 9358
>Category: c++
>Synopsis: ICE in simplify_gen_subreg
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 17 13:26:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Dirk Müller
>Release: GCC 3.3 since 2002-12-06
>Organization:
>Environment:
i686-linux-gnu and x86_64-linux-gnu
>Description:
=== Cut===
struct A { ~A(); };
struct B {
A a;
void x(B) { }
};
void foo(const B& b)
{
B y;
y.x( b );
}
=== Cut ===
Gives an ICE with GCC 3.3 and 3.4 but not with 3.2:
gromit:~/tmp:[0]$ /opt/gcc/3.3-devel/bin/g++ -O1 -c test.cc
test.cc: In function `void foo(const B&)':
test.cc:5: internal compiler error: in simplify_gen_subreg, at simplify-rtx.c:
2673
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gromit:~/tmp:[1]$ /opt/gcc/3.2-devel/bin/g++ -O1 -c test.cc
gromit:~/tmp:[0]$ /opt/gcc/3.4-devel/bin/g++ -O1 -c test.cc
test.cc: In function `void foo(const B&)':
test.cc:5: internal compiler error: in simplify_gen_subreg, at simplify-rtx.c:
2629
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Just compile the small test program.
>Fix:
The bug was introduced with this patch set:
+2002-12-04 Jason Merrill <jason@redhat.com>
+
+ PR c++/8461, c++/8625
+ * integrate.c (copy_decl_for_inlining): Handle explicit invisible
+ references.
+ * tree-inline.c (initialize_inlined_parameters): Likewise.
+
+ * tree.c (variably_modified_type_p): Just return an error_mark_node.
--- gcc/cp/ChangeLog 4 Dec 2002 11:32:13 -0000 1.3068
+++ gcc/cp/ChangeLog 4 Dec 2002 20:12:59 -0000 1.3069
@@ -6,6 +6,18 @@
2002-12-03 Jason Merrill <jason@redhat.com>
+ PR c++/8674
+ * call.c (build_over_call): Check specifically for TARGET_EXPR
+ when eliding.
+
+ PR c++/8461, c++/8625
+ * call.c (convert_for_arg_passing): Don't mess with error_mark_node.
+ (cp_convert_parm_for_inlining): Remove.
+ * cp-lang.c (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING):
+ Remove.
+ * cp-tree.h (ADDR_IS_INVISIREF): Remove.
+ * except.c (stabilize_throw_expr): Remove ADDR_IS_INVISIREF code.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/9358: ICE in simplify_gen_subreg
@ 2003-01-18 14:42 paolo
0 siblings, 0 replies; 3+ messages in thread
From: paolo @ 2003-01-18 14:42 UTC (permalink / raw)
To: aj, dmuell, gcc-bugs, gcc-prs, matz, nobody
Synopsis: ICE in simplify_gen_subreg
State-Changed-From-To: analyzed->closed
State-Changed-By: paolo
State-Changed-When: Sat Jan 18 06:42:08 2003
State-Changed-Why:
Fixed for 3.3 and 3.4 with:
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg01265.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9358
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/9358: ICE in simplify_gen_subreg
@ 2003-01-17 21:28 aj
0 siblings, 0 replies; 3+ messages in thread
From: aj @ 2003-01-17 21:28 UTC (permalink / raw)
To: aj, dmuell, gcc-bugs, gcc-prs, matz, nobody
Synopsis: ICE in simplify_gen_subreg
State-Changed-From-To: open->analyzed
State-Changed-By: aj
State-Changed-When: Fri Jan 17 13:28:18 2003
State-Changed-Why:
This is the same problem as PR 9167 - and a regression
from GCC 3.2.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9358
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-18 14:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-17 21:26 c++/9358: ICE in simplify_gen_subreg aj
2003-01-17 21:28 aj
2003-01-18 14:42 paolo
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).