public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/40468]  New: [4.5 Regression] FAIL: gcc.c-torture/execute/20061031-1.c execution,  -Os
@ 2009-06-16 23:38 danglin at gcc dot gnu dot org
  2009-06-17  1:15 ` [Bug target/40468] " danglin at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2009-06-16 23:38 UTC (permalink / raw)
  To: gcc-bugs

Executing on host: /home/dave/gnu/gcc-4.5/objdir/gcc/xgcc
-B/home/dave/gnu/gcc-4.5/objdir/gcc/
/home/dave/gnu/gcc-4.5/gcc/gcc/testsuite/gcc.c-torture/execute/20061031-1.c  -w
 -Os   -lm   -o /home/dave/gnu/gcc-4.5/objdir/gcc/testsuite/gcc/2
0061031-1.x7    (timeout = 300)
PASS: gcc.c-torture/execute/20061031-1.c compilation,  -Os Setting
LD_LIBRARY_PATH to
:/home/dave/gnu/gcc-4.5/objdir/gcc::/home/dave/gnu/gcc-4.5/objdir/gcc:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libstdc++-v3/.libs:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libmudflap/.libs:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libssp/.libs:/home/dave/gnu/gcc-4.5/objdir/hppa-linux/libgomp/.l
ibs:/home/dave/gnu/gcc-4.5/objdir/./gcc:/home/dave/gnu/gcc-4.5/objdir/./prev-gcc
FAIL: gcc.c-torture/execute/20061031-1.c execution,  -Os 

dave@hiauly6:~/gnu/gcc-4.5/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
Target: hppa-linux
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--prefix=/home/dave/opt/gnu/gcc/gcc-4.4.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --build=hppa-linux --enable-clocale=gnu
--enable-java-gc=boehm --enable-java-awt=xlib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
Thread model: posix
gcc version 4.5.0 20090616 (experimental) [trunk revision 148510] (GCC) 

The problem is the following assembly code:

0x000104e4 <f+56>:      cmpb,<>,n ret0,r19,0x104e8 <f+60>
0x000104e8 <f+60>:      b,l 0x104a8 <ff>,rp
0x000104ec <f+64>:      ldi 1,r26

This is not supposed to happen:

  /* A conditional branch to the following instruction (e.g. the delay slot)
     is asking for a disaster.  This can happen when not optimizing and
     when jump optimization fails.

     While it is usually safe to emit nothing, this can fail if the
     preceding instruction is a nullified branch with an empty delay
     slot and the same branch target as this branch.  We could check
     for this but jump optimization should eliminate nop jumps.  It
     is always safe to emit a nop.  */
  if (next_real_insn (JUMP_LABEL (insn)) == next_real_insn (insn))
    return "nop";


-- 
           Summary: [4.5 Regression] FAIL: gcc.c-torture/execute/20061031-
                    1.c execution,  -Os
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <bug-40468-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2010-12-22 18:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-16 23:38 [Bug target/40468] New: [4.5 Regression] FAIL: gcc.c-torture/execute/20061031-1.c execution, -Os danglin at gcc dot gnu dot org
2009-06-17  1:15 ` [Bug target/40468] " danglin at gcc dot gnu dot org
2009-06-17 15:02 ` jsm28 at gcc dot gnu dot org
2009-06-26  0:41 ` danglin at gcc dot gnu dot org
2009-06-26  1:01 ` danglin at gcc dot gnu dot org
     [not found] <bug-40468-4@http.gcc.gnu.org/bugzilla/>
2010-12-22 18:47 ` danglin at gcc dot gnu.org
2010-12-22 18:49 ` danglin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).