public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19878] New: ICE in import_export_decl
@ 2005-02-10 23:00 jgrimm2 at us dot ibm dot com
2005-02-10 23:05 ` [Bug c++/19878] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: jgrimm2 at us dot ibm dot com @ 2005-02-10 23:00 UTC (permalink / raw)
To: gcc-bugs
ICE on mainline (20050210) when compiling the the attached file f1.c
Compiles fine on 3.4.
> g++ -o f1.o f1.c
f1.c: In function 'void __static_initialization_and_destruction_0(int, int)':
f1.c:7: internal compiler error: in import_export_decl, at cp/decl2.c:1718
Please submit a full bug report,
with preprocessed source if appropriate.
Here's the source:
# 1 "f1.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "f1.c"
# 1 "T14264.h" 1
struct S {
char k;
};
template <class T> void f(T const volatile S::* const volatile);
# 2 "f1.c" 2
char const volatile S::* volatile p00 = &S::k;
char const volatile S::* const p01 = &S::k;
int main(void)
{
return 0;
}
--
Summary: ICE in import_export_decl
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jgrimm2 at us dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ppc64-unknown-linux
GCC host triplet: ppc64-unknown-linux
GCC target triplet: ppc64-unknown-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
@ 2005-02-10 23:05 ` pinskia at gcc dot gnu dot org
2005-02-11 22:10 ` mmitchel at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-10 23:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-10 19:56 -------
Confirmed, here is the most reduced testcase:
struct S {
char k;
};
char const volatile S::* const p01 = &S::k;
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-02-10 19:57:00
date| |
Summary|ICE in import_export_decl |[4.0 Regression] ICE in
| |import_export_decl
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
2005-02-10 23:05 ` [Bug c++/19878] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-02-11 22:10 ` mmitchel at gcc dot gnu dot org
2005-02-12 15:10 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-02-11 22:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
2005-02-10 23:05 ` [Bug c++/19878] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-02-11 22:10 ` mmitchel at gcc dot gnu dot org
@ 2005-02-12 15:10 ` pinskia at gcc dot gnu dot org
2005-02-16 19:17 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-12 15:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-11 23:13 -------
This has been failing since at least 20041124.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
` (2 preceding siblings ...)
2005-02-12 15:10 ` pinskia at gcc dot gnu dot org
@ 2005-02-16 19:17 ` pinskia at gcc dot gnu dot org
2005-02-16 19:28 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-16 19:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-16 15:27 -------
: Search converges between 2004-07-29-trunk (#498) and 2004-07-30-trunk (#499).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
` (3 preceding siblings ...)
2005-02-16 19:17 ` pinskia at gcc dot gnu dot org
@ 2005-02-16 19:28 ` pinskia at gcc dot gnu dot org
2005-02-24 14:02 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-16 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-16 15:34 -------
I think this was caused by:
2004-07-29 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (IDENTIFIER_REPO_CHOSEN): Define.
.....
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
` (4 preceding siblings ...)
2005-02-16 19:28 ` pinskia at gcc dot gnu dot org
@ 2005-02-24 14:02 ` cvs-commit at gcc dot gnu dot org
2005-02-24 14:03 ` mmitchel at gcc dot gnu dot org
2005-03-07 16:01 ` jgrimm2 at us dot ibm dot com
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-24 14:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-24 02:42 -------
Subject: Bug 19878
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: mmitchel@gcc.gnu.org 2005-02-24 02:42:17
Modified files:
gcc/cp : ChangeLog decl.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/init: const2.C
Log message:
PR c++/19878
* decl.c (grokvardecl): Set DECL_INTERFACE_KNOWN for declarations
with internal linkage.
PR c++/19878
* g++.dg/init/const2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4645&r2=1.4646
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1369&r2=1.1370
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5081&r2=1.5082
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/init/const2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
` (5 preceding siblings ...)
2005-02-24 14:02 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-24 14:03 ` mmitchel at gcc dot gnu dot org
2005-03-07 16:01 ` jgrimm2 at us dot ibm dot com
7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-02-24 14:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-02-24 02:43 -------
Fixed in 4.0.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/19878] [4.0 Regression] ICE in import_export_decl
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
` (6 preceding siblings ...)
2005-02-24 14:03 ` mmitchel at gcc dot gnu dot org
@ 2005-03-07 16:01 ` jgrimm2 at us dot ibm dot com
7 siblings, 0 replies; 9+ messages in thread
From: jgrimm2 at us dot ibm dot com @ 2005-03-07 16:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jgrimm2 at us dot ibm dot com 2005-03-07 16:01 -------
Verified. Thanks.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19878
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-03-07 16:01 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-10 23:00 [Bug c++/19878] New: ICE in import_export_decl jgrimm2 at us dot ibm dot com
2005-02-10 23:05 ` [Bug c++/19878] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-02-11 22:10 ` mmitchel at gcc dot gnu dot org
2005-02-12 15:10 ` pinskia at gcc dot gnu dot org
2005-02-16 19:17 ` pinskia at gcc dot gnu dot org
2005-02-16 19:28 ` pinskia at gcc dot gnu dot org
2005-02-24 14:02 ` cvs-commit at gcc dot gnu dot org
2005-02-24 14:03 ` mmitchel at gcc dot gnu dot org
2005-03-07 16:01 ` jgrimm2 at us dot ibm dot com
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).