This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52089] FAIL: gcc.dg/simulate-thread/subfields.c -O3 -g thread simulation test
- From: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 02 Feb 2012 02:50:35 +0000
- Subject: [Bug target/52089] FAIL: gcc.dg/simulate-thread/subfields.c -O3 -g thread simulation test
- Auto-submitted: auto-generated
- References: <bug-52089-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52089
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-02-02 02:50:35 UTC ---
Also fails at -Os:
Spawning: gdb -nx -nw -quiet -x
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simu
late-thread/simulate-thread.gdb ./bitfields-3.exe
spawn gdb -nx -nw -x
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thread
/simulate-thread.gdb ./bitfields-3.exe
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
allow-packed-store-data-races=0 -lm -o subfields.exe
PASS: gcc.dg/simulate-thread/subfields.c -Os -g (test for excess errors)
Spawning: gdb -nx -nw -quiet -x
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simu
late-thread/simulate-thread.gdb ./subfields.exe
spawn gdb -nx -nw -x
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thread
/simulate-thread.gdb ./subfields.exe
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/dave/gnu/gcc/objdir/gcc/testsuite/gcc/subfields.exe..
.done.
Breakpoint 1 at 0x107cc: file
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simula
te-thread/subfields.c, line 84.
Breakpoint 1, simulate_thread_main () at
/home/dave/gnu/gcc/gcc/gcc/testsuite/gc
c.dg/simulate-thread/subfields.c:84
84 {
1: x/i $pc
=> 0x107cc <simulate_thread_main>: stw rp,-14(sp)
85 set_a(1);
1: x/i $pc
=> 0x107d0 <simulate_thread_main+4>: ldi 1,r26
86 }
1: x/i $pc
=> 0x107d4 <simulate_thread_main+8>: ldw -14(sp),rp
85 set_a(1);
1: x/i $pc
=> 0x107d8 <simulate_thread_main+12>: b,l 0x10644 <set_a>,r0
0x000107dc 85 set_a(1);
1: x/i $pc
=> 0x107dc <simulate_thread_main+16>: nop
0x000107e0 85 set_a(1);
1: x/i $pc
=> 0x107e0 <simulate_thread_main+20>: nop
$$dyncall () at ../../../gcc/libgcc/config/pa/milli64.S:219
219 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address
1: x/i $pc
=> 0x107e4 <$$dyncall>: bb,*>=,n r22,1e,0x107f4 <$$dyncall+16>
219 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address
1: x/i $pc
=> 0x107e4 <$$dyncall>: bb,*>=,n r22,1e,0x107f4 <$$dyncall+16>
FAIL: Unexpected value. var.b is 16, should be 7
FAIL: gcc.dg/simulate-thread/subfields.c -Os -g thread simulation test