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]
Other format: [Raw text]

Re: recent 3.0.3 regression for g++.pt/memtemp100.C

[Get raw message]
Hmm.  I built both i386 GNU/Linux and SPARC Solaris 7 native compilers
from the same sources.  The Linux version works, but the SPARC version
has the same problem I saw with Xtensa.  The "gcc -v" output for SPARC
is included below.

Mark Mitchell wrote:
> 
> --On Tuesday, November 27, 2001 10:03:38 AM -0800 Bob Wilson
> <bwilson@tensilica.com> wrote:
> 
> > I built from yesterday's 3.0 CVS files and saw a regression from 3.0.2.
> > The g++.pt/memtemp100.C test fails with:
> >
> > .../g++.old-deja/g++.pt/memtemp100.C:18: parse error before `>' token
> > .../g++.old-deja/g++.pt/memtemp100.C:25: confused by earlier errors,
> > bailing out compiler exited with status 1
> 
> That's a new test case, but it compiles OK on i386 GNU/Linux.  I'm
> not sure what could be going wrong on your target, but it's not
> happenning here.


% ~/tmp/gcctest/bin/g++ -S -v memtemp100.C
Reading specs from
/home/bwilson/tmp/gcctest/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/specs
Configured with: ../cvs/configure --prefix=/home/bwilson/tmp/gcctest
--enable-languages=c,c++
Thread model: posix
gcc version 3.0.3 20011127 (prerelease)

/home/bwilson/tmp/gcctest/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/cc1plus
-v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=3 -Dsparc -Dsun
-Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__
-D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4
-D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_XOPEN_SOURCE=500
-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__
-D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc memtemp100.C
-D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100
-quiet -dumpbase memtemp100.C -version -o memtemp100.s
GNU CPP version 3.0.3 20011127 (prerelease) (cpplib) (sparc)
GNU C++ version 3.0.3 20011127 (prerelease) (sparc-sun-solaris2.7)
        compiled by GNU C version 3.0.3 20011127 (prerelease).
ignoring nonexistent directory
"/home/bwilson/tmp/gcctest/sparc-sun-solaris2.7/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/bwilson/tmp/gcctest/include/g++-v3
 /home/bwilson/tmp/gcctest/include/g++-v3/sparc-sun-solaris2.7
 /home/bwilson/tmp/gcctest/include/g++-v3/backward
 /usr/local/include

/home/bwilson/tmp/gcctest/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/include
 /usr/include
End of search list.
memtemp100.C:18: parse error before `>' token
memtemp100.C:25: confused by earlier errors, bailing out


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