public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var
@ 2006-12-26 11:15 reichelt at gcc dot gnu dot org
2006-12-26 11:16 ` [Bug c++/30295] " reichelt at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:15 UTC (permalink / raw)
To: gcc-bugs
The following code snippet triggers an ICE since GCC 4.0.0:
==================================
extern "Java" struct A
{
int i;
};
A foo(A);
void bar()
{
foo(A()).i;
}
==================================
bug.cc: In function 'void bar()':
bug.cc:10: error: no matching function for call to 'A::A(A)'
bug.cc:2: note: candidates are: A::A()
bug.cc:10: error: initializing argument 1 of 'A foo(A)'
bug.cc:10: internal compiler error: in gimple_add_tmp_var, at gimplify.c:720
Please submit a full bug report, [etc.]
With GCC 3.4.x we got the message:
bug.cc: In function `void bar()':
bug.cc:10: error: no matching function for call to `A::A(A)'
bug.cc:10: error: initializing argument 1 of `A foo(A)'
--
Summary: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in
gimple_add_tmp_var
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Keywords: ice-on-invalid-code, error-recovery, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30295
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/30295] [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var
2006-12-26 11:15 [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var reichelt at gcc dot gnu dot org
@ 2006-12-26 11:16 ` reichelt at gcc dot gnu dot org
2006-12-26 13:52 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:16 UTC (permalink / raw)
To: gcc-bugs
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30295
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/30295] [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var
2006-12-26 11:15 [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var reichelt at gcc dot gnu dot org
2006-12-26 11:16 ` [Bug c++/30295] " reichelt at gcc dot gnu dot org
@ 2006-12-26 13:52 ` reichelt at gcc dot gnu dot org
2006-12-26 22:30 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 13:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from reichelt at gcc dot gnu dot org 2006-12-26 13:52 -------
Maybe related to PR 28266.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30295
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/30295] [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var
2006-12-26 11:15 [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var reichelt at gcc dot gnu dot org
2006-12-26 11:16 ` [Bug c++/30295] " reichelt at gcc dot gnu dot org
2006-12-26 13:52 ` reichelt at gcc dot gnu dot org
@ 2006-12-26 22:30 ` pinskia at gcc dot gnu dot org
2007-01-25 6:04 ` mmitchel at gcc dot gnu dot org
2007-02-01 20:12 ` reichelt at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-26 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-12-26 22:30 -------
Confirmed, only related in that the error mark node in the TARGET_EXPR causes
the same issue as PR 28266..
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-12-26 22:30:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30295
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/30295] [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var
2006-12-26 11:15 [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-12-26 22:30 ` pinskia at gcc dot gnu dot org
@ 2007-01-25 6:04 ` mmitchel at gcc dot gnu dot org
2007-02-01 20:12 ` reichelt at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-01-25 6:04 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30295
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/30295] [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var
2006-12-26 11:15 [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2007-01-25 6:04 ` mmitchel at gcc dot gnu dot org
@ 2007-02-01 20:12 ` reichelt at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-01 20:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from reichelt at gcc dot gnu dot org 2007-02-01 20:12 -------
Fixed by the fix for PR28266.
So marking as duplicate.
*** This bug has been marked as a duplicate of 28266 ***
--
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30295
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-02-01 20:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-26 11:15 [Bug c++/30295] New: [4.0/4.1/4.2/4.3 regression] ICE with extern "Java" in gimple_add_tmp_var reichelt at gcc dot gnu dot org
2006-12-26 11:16 ` [Bug c++/30295] " reichelt at gcc dot gnu dot org
2006-12-26 13:52 ` reichelt at gcc dot gnu dot org
2006-12-26 22:30 ` pinskia at gcc dot gnu dot org
2007-01-25 6:04 ` mmitchel at gcc dot gnu dot org
2007-02-01 20:12 ` reichelt at gcc dot gnu dot org
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).