This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52089] New: 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:47:32 +0000
- Subject: [Bug target/52089] New: FAIL: gcc.dg/simulate-thread/subfields.c -O3 -g thread simulation test
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52089
Bug #: 52089
Summary: FAIL: gcc.dg/simulate-thread/subfields.c -O3 -g
thread simulation test
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu
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 0x1090c: 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
=> 0x1090c <simulate_thread_main>: stw rp,-14(sp)
85 set_a(1);
1: x/i $pc
=> 0x10910 <simulate_thread_main+4>: ldi 1,r26
86 }
1: x/i $pc
=> 0x10914 <simulate_thread_main+8>: ldw -14(sp),rp
85 set_a(1);
1: x/i $pc
=> 0x10918 <simulate_thread_main+12>: b,l 0x10784 <set_a>,r0
0x0001091c 85 set_a(1);
1: x/i $pc
=> 0x1091c <simulate_thread_main+16>: nop
0x00010920 85 set_a(1);
1: x/i $pc
=> 0x10920 <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
=> 0x10924 <$$dyncall>: bb,*>=,n r22,1e,0x10934 <$$dyncall+16>
219 bb,>=,n %r22,30,LREF(1) ; branch if not plabel address
1: x/i $pc
=> 0x10924 <$$dyncall>: bb,*>=,n r22,1e,0x10934 <$$dyncall+16>
FAIL: Unexpected value. var.b is 7, should be 0
FAIL: Unexpected value. var.c is 7, should be 0
FAIL: Unexpected value. var.d is 7, should be 0
Breakpoint 1, simulate_thread_main () at
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thread/subfields.c:84
84 {
1: x/i $pc
=> 0x1090c <simulate_thread_main>: stw rp,-14(sp)
A debugging session is active.
Inferior 1 [process 1024] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
FAIL: gcc.dg/simulate-thread/subfields.c -O3 -g thread simulation test