This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ICE in 2.95.2



GCC 2.95.2

Next Cube running NextSTEP 4.2, 3.3 Developer

g++    -DNO_NAMESPACE -D__USE_GNU -DNeXT -g -pipe -ansi -pedantic  
-pedantic-errors -fvtable-thunks -fsjlj-exceptions -fno-keep-static-consts  
-fshort-enums -fstrict-aliasing -ffloat-store -fno-common -ffor-scope  
-Wsign-promo -ftemplate-depth-30 -fverbose-asm -fimplicit-templates  
-fno-external-templates -fno-repo -Wall -W -Wbad-function-cast  
-Wpointer-arith -Wcast-qual -Wconversion -Wstrict-prototypes  
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings  
-Winline -Wtraditional -Wno-long-long -v --save-temps -o x x.cc
g++: Warning: -pipe ignored since -save-temps specified
Reading specs from /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/specs
Reading specs from /usr/local/lib/gcc-lib/m68k-next-nextstep3/specs
gcc driver version 2.95.2 19991024 (release) executing gcc version egcs-2.91.53
 /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/cpp -lang-c++ -v  
-D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=91 -D__cplusplus -trigraphs  
-D__STRICT_ANSI__ -D__mc68000__ -D__m68k__ -D__NeXT__ -D__unix__ -D__MACH__  
-D__BIG_ENDIAN__ -D__ARCHITECTURE__="m68k" -D_NEXT_SOURCE -D__mc68000  
-D__m68k -D__NeXT -D__unix -Asystem(unix) -Asystem(mach) -Acpu(m68k)  
-Amachine(m68k) -D__EXCEPTIONS -g -Wsign-promo -Wall -W -Wbad-function-cast  
-Wpointer-arith -Wcast-qual -Wconversion -Wstrict-prototypes  
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings  
-Winline -Wtraditional -Wno-long-long -pedantic -pedantic-errors -D__STDC__  
-DNO_NAMESPACE -D__USE_GNU -DNeXT x.cc x.ii
GNU CPP version 2.95.2 19991024 (release) (68k, MIT syntax)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/../../../../include/g++-3
 /usr/local/include
  
/usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/../../../../m68k-next-nextstep3/include
 /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/include
 /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/include/ansi
 /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/include/bsd
 /NextDeveloper/Headers
 /NextDeveloper/Headers/ansi
 /NextDeveloper/Headers/bsd
 /LocalDeveloper/Headers
 /NextDeveloper/2.0CompatibleHeaders
 /usr/include
 /usr/include/bsd
End of search list.
The following default directories have been omitted from the search path:
 /LocalDeveloper/Headers/ansi
 /LocalDeveloper/Headers/bsd
End of omitted list.
 /usr/local/lib/gcc-lib/m68k-next-nextstep3/2.95.2/cc1plus x.ii -quiet  
-dumpbase x.cc -g -Wsign-promo -Wall -W -Wbad-function-cast -Wpointer-arith  
-Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes  
-Wmissing-declarations -Wnested-externs -Wwrite-strings -Winline  
-Wtraditional -Wno-long-long -pedantic -pedantic-errors -ansi -version  
-fvtable-thunks -fsjlj-exceptions -fno-keep-static-consts -fshort-enums  
-fstrict-aliasing -ffloat-store -fno-common -ffor-scope -ftemplate-depth-30  
-fverbose-asm -fimplicit-templates -fno-external-templates -fno-repo -o x.s
GNU C++ version 2.95.2 19991024 (release) (m68k-next-nextstep3) compiled by  
GNU C version 2.95.2 19991024 (release).
x.cc:5: warning: all member functions in class `A' are private
x.cc:13: Internal compiler error.
x.cc:13: Please submit a full bug report.
x.cc:13: See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for  
instructions.

Program:

class A
{
    virtual void f();
};

template <class T>
class X : virtual public A
{
    void f();
};

X<int> x;


The x.ii:

# 1 "x.cc"

class A
{
    virtual void f();
};

template <class T>
class X : virtual public A
{
    void f();
};

X<int> x;


---
Where diesel guitars from faraway bars, blast out the
best songs from our holy wars. Coyote carnival catches
on fire, all the cops in the world pick us up on radar.
Jim McKelvey  mckelvey@fafnir.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]