------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca  
2005-07-15 20:24 -------
Subject: Re:  [4.0 regression] ICE in cp_expr_size, at cp/cp-objcp-common.c:101

> I'm using gas from binutils-2.16. But the ICE seems to appear before as =
> is run
> at all (If the cc1plus command succeeds it will be followed by
> "/usr/local/binutils-2.16/bin/as -o trauscher.o trauscher.s"). The =
> linker can
> thus not have any influence either. IMHO ;-)

I wasn't implying that either the linker or the assembler are directly
involved.  The choice of assembler when GCC is configured affects the
defaults for code generation.  In particular, when gas is used, there
is support for one-only in C++.

> When I'm testing trauscher's example I get the following output, which =
> says
> "something" about my setup. (11.11 with PHSS_30970 installed).
> Dave, how does your working configuration look like?
> 
> -bash-3.00$ /usr/local/gcc-4.0.1/bin/g++ -v -save-temps -c trauscher.cpp
> Using built-in specs.
> Target: hppa2.0w-hp-hpux11.11
> Configured with: /data/develop/src/gcc-4.0.1/o/../configure
> --enable-languages=3Dc,c++ --with-gnu-as --without-gnu-ld
> --with-as=3D/usr/local/binutils-2.16/bin/as =
> --prefix=3D/usr/local/gcc-4.0.1

The setup appears fine.  I've enclosed mine below.

> Thread model: single

I've enabled posix threads.

> gcc version 4.0.1
>  /usr/local/gcc-4.0.1/libexec/gcc/hppa2.0w-hp-hpux11.11/4.0.1/cc1plus -E =
> -quiet
> -v trauscher.cpp -fpch-preprocess -o trauscher.ii

I wonder if this is a pch problem.

Dave
-- 
J. David Anglin                                  [EMAIL PROTECTED]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

Using built-in specs.
Target: hppa2.0w-hp-hpux11.11
Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as 
--enable-shared --disable-nls --with-local-prefix=/opt/gnu 
--prefix=/opt/gnu/gcc/gcc-4.0.1 --enable-debug=no --enable-threads=posix 
--with-gmp=/opt/gnu/gcc/gcc-4.0.1 --disable-libmudflap 
--enable-languages=c,c++,objc,f95,java,ada --disable-checking
Thread model: posix
gcc version 4.0.1
 /opt/gnu/gcc/gcc-4.0.1/libexec/gcc/hppa2.0w-hp-hpux11.11/4.0.1/cc1plus 
-fpreprocessed mcop.ii -quiet -dumpbase mcop.ii -auxbase mcop -version -o 
/var/tmp//ccGHSXib.s
GNU C++ version 4.0.1 (hppa2.0w-hp-hpux11.11)
        compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
 /opt/gnu/bin/as -o mcop.o /var/tmp//ccGHSXib.s


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21123

Reply via email to