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

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).