http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50804
Bug #: 50804 Summary: FAIL: invalid intermediate result for <var.c[]>. Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassig...@gcc.gnu.org ReportedBy: dang...@gcc.gnu.org Host: hppa2.0w-hp-hpux11.11 Target: hppa2.0w-hp-hpux11.11 Build: hppa2.0w-hp-hpux11.11 Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/c-c++-common/simulate-thread/bitfields-2.c -Os - g --param allow-store-data-races=0 -lm -o bitfields-2.exe (timeout = 300) PASS: c-c++-common/simulate-thread/bitfields-2.c -Os -g (test for excess error s) Spawning: gdb -nx -nw -quiet -x /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/simulate- thread/simulate-thread.gdb ./bitfields-2.exe Traceback (most recent call last): File "<string>", line 35, in ? File "/home/gnu/share/gdb/python/gdb/__init__.py", line 18, in ? gdb.command.pretty_printers.register_pretty_printer_commands() File "/home/gnu/share/gdb/python/gdb/command/pretty_printers.py", line 368, in register_pretty_printer_commands InfoPrettyPrinter() File "/home/gnu/share/gdb/python/gdb/command/pretty_printers.py", line 100, in __init__ gdb.COMMAND_DATA) RuntimeError: Could not find command prefix info. GNU gdb (GDB) 7.2.0.20101115-cvs Copyright (C) 2010 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 "hppa2.0w-hp-hpux11.11". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /test/gnu/gcc/objdir/gcc/testsuite/gcc/bitfields-2.exe...done. Breakpoint 1 at 0x2dac: file /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/simulate-thread/bitfields-2.c, line 52. 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 /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/simulate-thread/bitfields-2.c:52 52 } warning: Cannot find suitable address to place dummy breakpoint; nested calls may fail. Breakpoint 1, simulate_thread_main () at /test/gnu/gcc/gcc/gcc/testsuite/c-c++-common/simulate-thread/bitfields-2.c:52 52 } warning: Cannot find suitable address to place dummy breakpoint; nested calls may fail. FAIL: invalid intermediate result for <var.c[]>. Program exiFAIL: c-c++-common/simulate-thread/bitfields-2.c -Os -g -bash-3.2$ ./xgcc -B./ -v Reading specs from ./specs COLLECT_GCC=./xgcc COLLECT_LTO_WRAPPER=./lto-wrapper Target: hppa2.0w-hp-hpux11.11 Configured with: ../gcc/configure --with-gnu-as --with-as=/opt/gnu/bin/as --enable-shared --with-local-prefix=/opt/gnu --prefix=/opt/gnu/gcc/gcc-4.7 --with-gmp=/opt/gnu/gcc/gmp --enable-threads=posix --enable-debug=no --disable-nls --without-cloog --without-ppl --enable-languages=c,c++,objc,fortran,java,ada,obj-c++ Thread model: posix gcc version 4.7.0 20111018 (experimental) [trunk revision 180156] (GCC)