C++ PATCH: Fix sprintf format

Eric Botcazou ebotcazou@libertysurf.fr
Wed Jun 18 07:24:00 GMT 2003


> Hopefully this patch, applied to mainline and branch, will make the
> regression-checker happy...

I don't know if this is better on PowerPC, but bootstrap is still (and again) 
broken on SPARC:

sunshine% /opt/build/eric/gcc/gcc/xgcc -shared-libgcc 
-B/opt/build/eric/gcc/gcc/ -nostdinc++ 
-L/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3/src 
-L/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3/src/.libs 
-B/opt/TWWfsw/gcc34/sparc-sun-solaris2.5.1/bin/ 
-B/opt/TWWfsw/gcc34/sparc-sun-solaris2.5.1/lib/ -isystem 
/opt/TWWfsw/gcc34/sparc-sun-solaris2.5.1/include -isystem 
/opt/TWWfsw/gcc34/sparc-sun-solaris2.5.1/sys-include -nostdinc++ 
-I/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3/include/sparc-sun-solaris2.5.1 
-I/opt/build/eric/gcc/sparc-sun-solaris2.5.1/libstdc++-v3/include 
-I../../../src/libstdc++-v3/libsupc++ -I../../../src/libstdc++-v3/libmath 
-O2 -g -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings 
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c 
../../../src/libstdc++-v3/src/codecvt.cc  -fPIC -DPIC -o .libs/codecvt.o
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 578: error: unterminated string
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 578: error: invalid number of 
operands
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: invalid character 
(0x28)
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: statement syntax
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: unknown opcode 
"_ZNKSt4fposI9mbstate_tEcvlEv"
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: statement syntax
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: invalid digit in 
radix 10
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: unknown opcode "B."
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: statement syntax
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: unterminated string
/usr/ccs/bin/as: "/var/tmp//ccPZGbQc.s", line 579: error: statement syntax

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: codecvt_bug.s
Type: text/x-asm
Size: 1497 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20030618/47e45ebf/attachment.bin>


More information about the Gcc-patches mailing list