https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70108
Bug ID: 70108
Summary: FAIL: gcc.dg/simulate-thread/speculative-store-2.c
-O0 -g thread simulation test
Product: gcc
Version: 5.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: danglin at gcc dot gnu.org
Target Milestone: ---
Host: hppa2.0w-hp-hpux11.11
Target: hppa2.0w-hp-hpux11.11
Build: hppa2.0w-hp-hpux11.11
This is a new fail on 5.3.1 and 6.0.0. It was probably introduced by this
change:
2016-03-03 Rainer Orth <[email protected]>
* lib/gcc-gdb-test.exp (gdb-test): Make log message match command.
Invoke gdb with -batch.
* lib/gcc-simulate-thread.exp (simulate-thread): Likewise.
spawn /mnt/gnu/gcc/objdir-test/gcc/xgcc -B/mnt/gnu/gcc/objdir-test/gcc/
/mnt/gnu
/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thread/speculative-store-2.c
-fno-diagnos
tics-show-caret -fdiagnostics-color=never -O0 -g --param
allow-store-data-races=
0 -O2 -lm -o speculative-store-2.exe
PASS: gcc.dg/simulate-thread/speculative-store-2.c -O0 -g (test for excess
er
rors)
Spawning: gdb -nx -nw -batch -x
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-t
hread/simulate-thread.gdb ./speculative-store-2.exe
spawn gdb -nx -nw -batch -x
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-threa
d/simulate-thread.gdb ./speculative-store-2.exe
Traceback (most recent call last):
File "/home/gnu/share/gdb/python/gdb/__init__.py", line 108, in
auto_load_pack
ages
__import__(modname)
File "/home/gnu/share/gdb/python/gdb/command/frame_filters.py", line 22, in
<m
odule>
from gdb.FrameIterator import FrameIterator
File "/home/gnu/share/gdb/python/gdb/FrameIterator.py", line 17, in <module>
import itertools
ImportError: Failed to load /home/gnu/lib/python2.7/lib-dynload/itertools.sl
Breakpoint 1 at 0x2e40: file
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thre
ad/speculative-store-2.c, line 50.
warning: Private mapping of shared library text was not specified
by the executable; setting a breakpoint in a shared library which
is not privately mapped will not work. See the HP-UX 11i v3 chatr
manpage for methods to privately map shared library text.
Breakpoint 1, simulate_thread_main () at
/mnt/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate-thread/speculative-store-2.c:50
50 if (p->data > 0)
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
0x00002e44 50 if (p->data > 0)
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
0x00002e44 50 if (p->data > 0)warning: Cannot find suitable
address to place dummy breakpoint; nested calls ma
y fail.
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
49 for (p = q; p; p = p->next)warning: Cannot find suitable address to
place dummy breakpoint; nested calls ma
y fail.
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
0x00002e54 49 for (p = q; p; p = p->next)
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
0x00002e58 49 for (p = q; p; p = p->next)
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
0x00002e44 50 if (p->data > 0)
[...]
49 for (p = q; p; p = p->next)warning: Cannot find suitable address to
place dummy breakpoint; nested calls may fail.
warning: Cannot find suitable address to place dummy breakpoint; nested calls
may fail.
FAIL: Testcase exceeded maximum instruction count threshold
FAIL: gcc.dg/simulate-thread/speculative-store-2.c -O0 -g thread simulation
t
est
Similar fails:
FAIL: gcc.dg/simulate-thread/speculative-store-2.c -O2 -g thread simulation
t
est
FAIL: gcc.dg/simulate-thread/speculative-store-2.c -O3 -g thread simulation
t
est
FAIL: gcc.dg/simulate-thread/speculative-store-4.c -O0 -g thread simulation
t
est