This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/34535] New: [4.3 Regression] FAIL: libmudflap.c++/fail24-frag.cxx ICE


Executing on host: /home/dave/gnu/gcc-4.3/objdir/./gcc/g++ -shared-libgcc
-B/home/dave/gnu/gcc-4.3/objdir/./gcc -nostdinc++
-L/home/dave/gnu/gcc-4.3/objdir/hppa
-linux/libstdc++-v3/src
-L/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/
src/.libs -B/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/bin/
-B/home/dave/opt/gn
u/gcc/gcc-4.3.0/hppa-linux/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-l
inux/include -isystem /home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/sys-include
-g
gdb3 -DDEBUG_ASSERT -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0
-ffunction-secti
ons -fdata-sections -g -O2 -D_GNU_SOURCE
-I/home/dave/gnu/gcc-4.3/gcc/libmudflap
/testsuite -I/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/.. -I..
-nostdinc++
-I/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux -I/h
ome/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include
-I/home/dave/gnu/gcc
-4.3/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/includ
e/backward -I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/util
-L/home/dave
/gnu/gcc-4.3/objdir/hppa-linux/./libmudflap/.libs
/home/dave/gnu/gcc-4.3/gcc/lib
mudflap/testsuite/libmudflap.c++/fail24-frag.cxx   -fmudflap -lmudflap 
-L/home/
dave/gnu/gcc-4.3/objdir/hppa-linux/./libmudflap/testsuite -ldl -lm   -o
./fail24-frag.exe    (timeout = 300)
/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx:12:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
compiler exited with status 1
output is:
/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx:12:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

FAIL: libmudflap.c++/fail24-frag.cxx (test for excess errors)
Excess errors:
/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx:12:
internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

WARNING: libmudflap.c++/fail24-frag.cxx compilation failed to produce
executable

(gdb) r
Starting program: /home/dave/gnu/gcc-4.3/objdir/gcc/cc1plus -nostdinc++
-nostdinc++ -v -I/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite
-I/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/.. -I..
-I/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux
-I/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include
-I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/util -iprefix
/home/dave/gnu/gcc-4.3/objdir/gcc/../lib/gcc/hppa-linux/4.3.0/ -isystem
/home/dave/gnu/gcc-4.3/objdir/./gcc/include -isystem
/home/dave/gnu/gcc-4.3/objdir/./gcc/include-fixed -dD -D_GNU_SOURCE
-DDEBUG_ASSERT -D_GLIBCXX_ASSERT -D_GNU_SOURCE -isystem
/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/sys-include
/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx
-D_MUDFLAP -include mf-runtime.h -dumpbase fail24-frag.cxx -auxbase fail24-frag
-ggdb3 -g -g -O2 -O2 -version -fmessage-length=0 -ffunction-sections
-fdata-sections -fmudflap -fno-builtin -fno-merge-constants -o xxx.s
ignoring nonexistent directory
"/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/include"
ignoring nonexistent directory
"/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/sys-include"
ignoring nonexistent directory
"/home/dave/gnu/gcc-4.3/objdir/gcc/../lib/gcc/hppa-linux/4.3.0/include"
ignoring nonexistent directory
"/home/dave/gnu/gcc-4.3/objdir/gcc/../lib/gcc/hppa-linux/4.3.0/include-fixed"
ignoring nonexistent directory
"/home/dave/gnu/gcc-4.3/objdir/gcc/../lib/gcc/hppa-linux/4.3.0/../../../../hppa-linux/include"
ignoring nonexistent directory "/home/dave/opt/gnu/gcc/gcc-4.3.0/include"
ignoring nonexistent directory
"/home/dave/opt/gnu/gcc/gcc-4.3.0/lib/gcc/hppa-linux/4.3.0/include"
ignoring nonexistent directory
"/home/dave/opt/gnu/gcc/gcc-4.3.0/lib/gcc/hppa-linux/4.3.0/include-fixed"
ignoring nonexistent directory
"/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite
 /home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/..
 ..
 /home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux
 /home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include
 /home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/libsupc++
 /home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/include/backward
 /home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/util
 /home/dave/gnu/gcc-4.3/objdir/./gcc/include
 /home/dave/gnu/gcc-4.3/objdir/./gcc/include-fixed
 /home/dave/opt/gnu/include
 /usr/include
End of search list.
GNU C++ (GCC) version 4.3.0 20071219 (experimental) [trunk revision 131051]
(hppa-linux)
        compiled by GNU C version 4.3.0 20071219 (experimental) [trunk revision
131051], GMP version 4.2.2, MPFR version 2.3.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
options passed:  -nostdinc++ -nostdinc++ -v
 -I/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite
 -I/home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/.. -I..
 -I/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include/hppa-linux
 -I/home/dave/gnu/gcc-4.3/objdir/hppa-linux/libstdc++-v3/include
 -I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/libsupc++
 -I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/include/backward
 -I/home/dave/gnu/gcc-4.3/gcc/libstdc++-v3/testsuite/util -iprefix
 /home/dave/gnu/gcc-4.3/objdir/gcc/../lib/gcc/hppa-linux/4.3.0/ -isystem
 /home/dave/gnu/gcc-4.3/objdir/./gcc/include -isystem
 /home/dave/gnu/gcc-4.3/objdir/./gcc/include-fixed -D_GNU_SOURCE
 -DDEBUG_ASSERT -D_GLIBCXX_ASSERT -D_GNU_SOURCE -isystem
 /home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/include -isystem
 /home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/sys-include
 /home/dave/gnu/gcc-4.3/gcc/libmudflap/testsuite/libmudflap.c++/fail24-frag.cxx
 -D_MUDFLAP -include mf-runtime.h -ggdb3 -g -g -O2 -O2 -fmessage-length=0
 -ffunction-sections -fdata-sections -fmudflap -fno-builtin
 -fno-merge-constants
options enabled:  -falign-functions -falign-jumps -falign-labels
 -fargument-alias -fauto-inc-dec -fbranch-count-reg -fcaller-saves -fcommon
 -fcprop-registers -fcrossjumping -fcse-follow-jumps -fdata-sections
 -fdefer-pop -fdelayed-branch -fdelete-null-pointer-checks -fearly-inlining
 -feliminate-unused-debug-types -fexceptions -fexpensive-optimizations
 -fforward-propagate -ffunction-cse -ffunction-sections -fgcse -fgcse-lm
 -fguess-branch-probability -fident -fif-conversion -fif-conversion2
 -finline-functions-called-once -finline-small-functions -fipa-pure-const
 -fipa-reference -fivopts -fkeep-static-consts -fleading-underscore
 -fmath-errno -fmove-loop-invariants -fmudflap -fomit-frame-pointer
 -foptimize-register-move -foptimize-sibling-calls -fpeephole -fpeephole2
 -freg-struct-return -fregmove -freorder-blocks -freorder-functions
 -frerun-cse-after-loop -fsched-interblock -fsched-spec
 -fsched-stalled-insns-dep -fschedule-insns -fschedule-insns2
 -fsigned-zeros -fsplit-ivs-in-unroller -fsplit-wide-types
 -fstrict-aliasing -fstrict-overflow -fthread-jumps -ftoplevel-reorder
 -ftrapping-math -ftree-ccp -ftree-ch -ftree-copy-prop -ftree-copyrename
 -ftree-cselim -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-fre
 -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
 -ftree-parallelize-loops= -ftree-pre -ftree-reassoc -ftree-salias
 -ftree-scev-cprop -ftree-sink -ftree-sra -ftree-store-ccp -ftree-ter
 -ftree-vect-loop-version -ftree-vrp -funit-at-a-time -fvar-tracking
 -fzero-initialized-in-bss -mbig-switch -mgas -mglibc -mno-space-regs
Compiler executable checksum: 04ed41a4bed3a85281869562079411b0
 int vprintf(const char*, void*) int getchar() int fgetc_unlocked(FILE*) int
getc_unlocked(FILE*) int getchar_unlocked() int putchar(int) int
fputc_unlocked(int, FILE*) int putc_unlocked(int, FILE*) int
putchar_unlocked(int) __ssize_t getline(char**, size_t*, FILE*) int
feof_unlocked(FILE*) int ferror_unlocked(FILE*) double atof(const char*) int
atoi(const char*) long int atol(const char*) long long int atoll(const char*)
unsigned int gnu_dev_major(long long unsigned int) unsigned int
gnu_dev_minor(long long unsigned int) long long unsigned int
gnu_dev_makedev(unsigned int, unsigned int) int main()
Analyzing compilation unit
Performing interprocedural optimizations
 <visibility> <early_local_cleanups> <inline> <static-var>
<pure-const>Assembling functions:
 int main()
Program received signal SIGSEGV, Segmentation fault.
0x0002055c in cp_classify_record (type=<value optimized out>)
    at ../../gcc/gcc/cp/cp-lang.c:162
162       if (CLASSTYPE_DECLARED_CLASS (type))
(gdb) disass 0x0002054c 0x0002056c
Dump of assembler code from 0x2054c to 0x2056c:
0x0002054c <cp_classify_record+16>:     ldw,s ret0(r19),r20
0x00020550 <cp_classify_record+20>:     cmpib,<> 2,r20,0x20578
<cp_classify_record+60>
0x00020554 <cp_classify_record+24>:     ldo 40(sp),sp
0x00020558 <cp_classify_record+28>:     ldw 60(r26),r26
0x0002055c <cp_classify_record+32>:     ldw 0(r26),ret0
0x00020560 <cp_classify_record+36>:     cmpib,<=,n 0,ret0,0x20598
<cp_classify_record+92>
0x00020564 <cp_classify_record+40>:     ldw 4(r26),ret0
0x00020568 <cp_classify_record+44>:     ldw -54(sp),rp
End of assembler dump.
(gdb) p/x $r26
$1 = 0x0
(gdb) bt
#0  0x0002055c in cp_classify_record (type=<value optimized out>)
    at ../../gcc/gcc/cp/cp-lang.c:162
#1  0x0028e950 in record_type_tag (type=0x0) at ../../gcc/gcc/dwarf2out.c:11923
#2  0x002a4734 in gen_type_die_with_usage (type=0x400d36e8,
    context_die=0x400dfc78, usage=<value optimized out>)
    at ../../gcc/gcc/dwarf2out.c:13144
#3  0x002ad504 in gen_array_type_die (type=0x400d37b8, context_die=0x400dfc78)
    at ../../gcc/gcc/dwarf2out.c:11697
#4  0x002a3950 in gen_type_die_with_usage (type=0x400d37b8,
    context_die=0x400dfc78, usage=DINFO_USAGE_DIR_USE)
    at ../../gcc/gcc/dwarf2out.c:13362
#5  0x002a7de0 in gen_decl_die (decl=0x40088058, context_die=0x400dfc78)
    at ../../gcc/gcc/dwarf2out.c:13944
#6  0x00475ea8 in emit_debug_global_declarations (vec=0x4008a808, len=14)
    at ../../gcc/gcc/toplev.c:905
#7  0x0004e748 in wrapup_globals_for_namespace (
    namespace=<value optimized out>, data=<value optimized out>)
    at ../../gcc/gcc/cp/decl.c:845
#8  0x00034e54 in walk_namespaces_r (namespace=0x0,
    f=@0x873f82: 0x4e6ec <wrapup_globals_for_namespace>, data=0xfb282c88)
    at ../../gcc/gcc/cp/decl.c:812
#9  0x000daebc in cp_write_global_declarations ()
    at ../../gcc/gcc/cp/decl2.c:3433
---Type <return> to continue, or q <return> to quit---
#10 0x004781f8 in toplev_main (argc=<value optimized out>,
    argv=<value optimized out>) at ../../gcc/gcc/toplev.c:1055
#11 0x407f8234 in __libc_start_main () from /lib/libc.so.6
#12 0x000203c8 in _start ()


-- 
           Summary: [4.3 Regression] FAIL: libmudflap.c++/fail24-frag.cxx
                    ICE
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa-unknown-linux-gnu
  GCC host triplet: hppa-unknown-linux-gnu
GCC target triplet: hppa-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34535


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]