gcc-3.1, Alpha Linux, Compile problems with optimize
James W. McKelvey
mckelvey@maskull.com
Sat May 18 13:09:00 GMT 2002
Errors below occur only with optimization. Code compiles without optimization,
and compiles on Compaq cxx even with, so I'm pretty sure there are no
syntax errors,
Linux alpha1 2.4.9-31 #1 Tue Feb 26 06:07:30 EST 2002 alpha unknown
Reading specs from
/usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/specs
Configured with: ../gcc-3.1/configure --enable-languages=c++
Thread model: single
gcc version 3.1
 /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/cpp0 -lang-c++
-D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100
-D__STRICT_ANSI__ -trigraphs -$ -v -MMD PatternMasterTop.d -D__GNUC__=3
-D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -D__gnu_linux__ -D__linux__
-D__unix__ -D_LONGLONG -D__alpha__ -D__ELF__ -D__linux -D__unix
-Asystem=linux -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_GNU_SOURCE -Acpu=alpha
-Amachine=alpha -D__alpha -D__alpha__ -D__alpha_ev5__ -Acpu=ev5
-D__alpha_bwx__ -Acpu=bwx -DNDEBUG PatternMasterTop.cc -Wall -W
-Wold-style-cast -Wsign-promo -Wpointer-arith -Wcast-qual -Wconversion
-Wmissing-prototypes -Wwrite-strings -Winline -Woverloaded-virtual -pedantic
PatternMasterTop.ii
GNU CPP version 3.1 (cpplib) (Alpha GNU/Linux for ELF)
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory
"/usr/local/alphaev56-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++-v3
 /usr/local/include/g++-v3/alphaev56-unknown-linux-gnu
 /usr/local/include/g++-v3/backward
 /usr/local/include
 /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.1/cc1plus
-fpreprocessed PatternMasterTop.ii -trigraphs -$ -quiet -dumpbase
PatternMasterTop.cc -ansi -O5 -Wall -W -Wold-style-cast -Wsign-promo
-Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -Wwrite-strings
-Winline -Woverloaded-virtual -pedantic -ansi -version -finline-functions
-finline-limit=1000 -fno-common -fstrict-aliasing -fimplicit-templates -o
PatternMasterTop.s
GNU CPP version 3.1 (cpplib) (Alpha GNU/Linux for ELF)
GNU C++ version 3.1 (alphaev56-unknown-linux-gnu)
        compiled by GNU C version 3.1.
In file included from PatternMasterTop.cc:26:
PatternMasterTop.h:72: parse error before `&' token
PatternMasterTop.cc:59: parse error before `&' token
PatternMasterTop.cc: In static member function `static
PatternMaster::string_t
  PatternMaster::PatternMasterTop::dcgettext(...)':
PatternMasterTop.cc:61: `text' undeclared (first use this function)
PatternMasterTop.cc:61: (Each undeclared identifier is reported only once for
  each function it appears in.)
Â
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debug.tar.bz2
Type: application/x-bzip2
Size: 107636 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20020518/6e4e05a2/attachment.bz2>
More information about the Gcc-bugs
mailing list