This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/50804] FAIL: invalid intermediate result for <var.c[]>.
- 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 03:01:09 +0000
- Subject: [Bug debug/50804] FAIL: invalid intermediate result for <var.c[]>.
- Auto-submitted: auto-generated
- References: <bug-50804-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50804
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2012-02-02 03:01:09 UTC ---
Also fails on hppa-unknown-linux-gnu without "--param
allow-store-data-races=0":
Spawning: gdb -nx -nw -quiet -x
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simu
late-thread/simulate-thread.gdb ./bitfields-2.exe
spawn gdb -nx -nw -x
/home/dave/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thread
/simulate-thread.gdb ./bitfields-2.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/bitfields-2.exe
...done.
Breakpoint 1 at 0x1079c: file
/home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/
simulate-thread/bitfields-2.c, line 51.
Breakpoint 1, simulate_thread_main () at
/home/dave/gnu/gcc/gcc/gcc/testsuite/c-c++-common/simulate-thread/bitfields-2.c:51
51 var.k = 13;
1: x/i $pc
=> 0x1079c <simulate_thread_main>: addil L%0,dp,r1
0x000107a0 51 var.k = 13;
1: x/i $pc
=> 0x107a0 <simulate_thread_main+4>: ldo b0(r1),r1
0x000107a4 51 var.k = 13;
1: x/i $pc
=> 0x107a4 <simulate_thread_main+8>: ldh 8(r1),ret0
0x000107a8 51 var.k = 13;
1: x/i $pc
=> 0x107a8 <simulate_thread_main+12>: depwi d,30,15,ret0
0x000107ac 51 var.k = 13;
1: x/i $pc
=> 0x107ac <simulate_thread_main+16>: sth ret0,8(r1)
0x000107b0 51 var.k = 13;
1: x/i $pc
=> 0x107b0 <simulate_thread_main+20>: bve,n (rp)
0x000107b0 51 var.k = 13;
1: x/i $pc
=> 0x107b0 <simulate_thread_main+20>: bve,n (rp)
FAIL: invalid intermediate result for <var.c[]>.
FAIL: c-c++-common/simulate-thread/bitfields-2.c -Os -g thread simulation
test