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

             Bug #: 54471
           Summary: [4.8 Regression] FAIL: gcc.dg/sms-8.c execution test
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: dang...@gcc.gnu.org
              Host: hppa*-*-* (32-bit)
            Target: hppa*-*-* (32-bit)
             Build: hppa*-*-* (32-bit)


Executing on host: /home/dave/gnu/gcc/objdir/gcc/xgcc
-B/home/dave/gnu/gcc/objdir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/sms-8.c 
-fno-diagnostics-show-caret   -O2 -fmodulo-sched -fmodulo-sched-allow-regmoves
-fdump-rtl-sms --para
m sms-min-sc=1  -lm   -o ./sms-8.exe    (timeout = 300)spawn
/home/dave/gnu/gcc/objdir/gcc/xgcc -B/home/dave/gnu/gcc/objdir/gcc/
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/sms-8.c -fno-diagnostics-show-caret
-O2 -fmodulo-sched -fmodulo-sched-allow-regmoves -fdump-rtl-sms --param
sms-min-sc=1 -
lm -o ./sms-8.exe
PASS: gcc.dg/sms-8.c (test for excess errors)Setting LD_LIBRARY_PATH to
:/home/dave/gnu/gcc/objdir/gcc::/home/dave/gnu/gcc/objdir/gcc:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/src/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libmudflap/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libssp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgomp/.libs:/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libatomic/.libs:/home/dave/gnu/gcc/objd
ir/./gcc:/home/dave/gnu/gcc/objdir/./prev-gcc
spawn [open ...]
FAIL: gcc.dg/sms-8.c execution test

(gdb) disass foo
Dump of assembler code for function foo:
   0x00010608 <+0>:    stw rp,-14(sp)
   0x0001060c <+4>:    ldo 40(sp),sp
=> 0x00010610 <+8>:    b,l 0x103e0,rp
   0x00010614 <+12>:    nop

foo is reduced to a call to abort by tree optimizers.

Reply via email to