http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47287
Summary: FAIL: gcc.c-torture/execute/builtins/20010124-1.c execution with -flto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa-unknown-linux-gnu Target: hppa-unknown-linux-gnu Build: hppa2.0w-hp-hpux11.11 Executing on host: /home2/dave/gcc-4.6/objdir/gcc/xgcc -B/home2/dave/gcc-4.6/obj dir/gcc/ /home2/dave/gcc-4.6/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/20 010124-1.c /home2/dave/gcc-4.6/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/ 20010124-1-lib.c /home2/dave/gcc-4.6/gcc/gcc/testsuite/gcc.c-torture/execute/bui ltins/lib/main.c -w -O2 -flto -lm -o /home2/dave/gcc-4.6/objdir/gcc/testsu ite/gcc/20010124-1.x7 (timeout = 300) PASS: gcc.c-torture/execute/builtins/20010124-1.c compilation, -O2 -flto Setting LD_LIBRARY_PATH to :/home2/dave/gcc-4.6/objdir/gcc::/home2/dave/gcc-4.6/ objdir/gcc:/home2/dave/gcc-4.6/objdir/hppa-linux/libstdc++-v3/src/.libs:/home2/d ave/gcc-4.6/objdir/hppa-linux/libmudflap/.libs:/home2/dave/gcc-4.6/objdir/hppa-l inux/libssp/.libs:/home2/dave/gcc-4.6/objdir/hppa-linux/libgomp/.libs:/home2/dav e/gcc-4.6/objdir/./gcc:/home2/dave/gcc-4.6/objdir/./prev-gcc FAIL: gcc.c-torture/execute/builtins/20010124-1.c execution, -O2 -flto This might be a regression. Program fails because main_test function is replaced by millicode function $$dyncall from milli.S: (gdb) r Starting program: /home2/dave/gcc-4.6/objdir/gcc/testsuite/gcc/20010124-1.x6g Breakpoint 1, main_test () at ../../../gcc/libgcc/../gcc/config/pa/milli64.S:219 219 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address (gdb) disass Dump of assembler code for function main_test: => 0x00010544 <+0>: bb,>=,n r22,1e,0x10554 <main_test+16> 0x00010548 <+4>: depwi 0,31,2,r22 0x0001054c <+8>: ldw 4(r22),r19 0x00010550 <+12>: ldw 0(r22),r22 0x00010554 <+16>: bv r0(r22) 0x00010558 <+20>: stw rp,-18(sp) End of assembler dump.