C++ PATCH: PR 11326

Andreas Schwab schwab@suse.de
Wed Feb 18 10:46:00 GMT 2004


Mark Mitchell <mark@codesourcery.com> writes:

> Tested on ia64-hp-hpux11.22, applied on the mainline and on the 3.4
> branch as soon as I finish testing the minor variations required
> there.

This is breaking ia64-linux:

./xgcc -B./ -B/usr/local/ia64-suse-linux/bin/ -isystem /usr/local/ia64-suse-linux/include -isystem /usr/local/ia64-suse-linux/sys-include -L/tmp/cvs/gcc-20040218/Build/gcc/../ld -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include   -DL_fixdfdi -c ../../gcc/libgcc2.c -o libgcc/./_fixdfdi.o
../../gcc/libgcc2.c: In function `__fixdfti':
../../gcc/libgcc2.c:1208: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt 3
#0  ia64_struct_retval_addr_is_first_parm_p (fntype=0x8)
    at ../../gcc/config/ia64/ia64.c:8767
#1  0x4000000000430dd0 in ia64_struct_value_rtx (fntype=0x8, incoming=938352)
    at ../../gcc/config/ia64/ia64.c:8936
#2  0x40000000000e5170 in emit_library_call_value_1 (retval=1, 
    orgfun=0x20000000003c5520, value=0x0, fn_type=LCT_CONST, outmode=TImode, 
    nargs=1, p=0x60000fffffffa758) at ../../gcc/calls.c:3698
(More stack frames follow...)
(gdb) up 2
#2  0x40000000000e5170 in emit_library_call_value_1 (retval=1, 
    orgfun=0x20000000003c5520, value=0x0, fn_type=LCT_CONST, outmode=TImode, 
    nargs=1, p=0x60000fffffffa758) at ../../gcc/calls.c:3698
3698      rtx struct_value = targetm.calls.struct_value_rtx (0, 0);

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstra\xDFe 5, 90409 N\xFCrnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list