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]

Bug in current and recent snapshots on alpha with inline and optizing



I never managed to compile OpenSP-1.4 on my alpha and finally reduced the offending
code to a relatively small sample.

The output:
===========
gcc -c -O1 -v test.cxx
Reading specs from /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0e/2.96/specs
gcc version 2.96 20000221 (experimental)
 /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0e/2.96/cpp -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -D__EXCEPTIONS -D__OPTIMIZE__ -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus -Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev6__ -Acpu(ev6) -D__alpha_bwx__ -Acpu(bwx) -D__alpha_max__ -Acpu(max) -D__alpha_fix__ -Acpu(fix) test.cxx /usr/tmp/ccLmtMdO.ii
GNU CPP version 2.96 20000221 (experimental) (cpplib)

#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++-3
 /usr/local/include
 /usr/local/alphaev6-dec-osf4.0e/include
 /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0e/2.96/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/alphaev6-dec-osf4.0e/2.96/cc1plus /usr/tmp/ccLmtMdO.ii -quiet -dumpbase test.cc -O1 -version -o /usr/tmp/ccGD1bsv.s
GNU C++ version 2.96 20000221 (experimental) (alphaev6-dec-osf4.0e) compiled by GNU C version 2.96 20000221 (experimental).
test.cxx: In method `void Parser::compileModes (const Mode *, int,
test.cxx: const Dtd *)':
test.cxx:444: Internal compiler error in `scan_region', at
test.cxx:444: except.c:2704
test.cxx:444: Please submit a full bug report.
test.cxx:444: See <URL:http://www.gnu.org/software/gcc/bugs.html> for
test.cxx:444: instructions.

There is no problem with -O0 or if I remove the inline definition.

The input:
==========

test.cxx


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