From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19208 invoked by alias); 6 Feb 2006 12:55:25 -0000 Received: (qmail 19191 invoked by uid 48); 6 Feb 2006 12:55:20 -0000 Date: Mon, 06 Feb 2006 12:55:00 -0000 Subject: [Bug tree-optimization/26125] New: g++.dg/opt/complex5.C:11: ICE: Segmentation fault X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "danglin at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00482.txt.bz2 List-Id: Executing on host: /test/gnu/gcc-4.1/objdir/gcc/testsuite/../g++ -B/test/gnu/gcc -4.1/objdir/gcc/testsuite/../ /test/gnu/gcc-4.1/gcc/gcc/testsuite/g++.dg/opt/com plex5.C -nostdinc++ -I/test/gnu/gcc-4.1/objdir/hppa2.0w-hp-hpux11.11/libstdc++- v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc-4.1/objdir/hppa2.0w-hp-hpux11.1 1/libstdc++-v3/include -I/test/gnu/gcc-4.1/gcc/libstdc++-v3/libsupc++ -I/test/gn u/gcc-4.1/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc-4.1/gcc/libstdc++-v3 /testsuite -fmessage-length=0 -O2 -S -o complex5.s (timeout = 300) /test/gnu/gcc-4.1/gcc/gcc/testsuite/g++.dg/opt/complex5.C: In function 'double _ _complex__ elt_zero()': /test/gnu/gcc-4.1/gcc/gcc/testsuite/g++.dg/opt/complex5.C:11: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. compiler exited with status 1 output is: /test/gnu/gcc-4.1/gcc/gcc/testsuite/g++.dg/opt/complex5.C: In function 'double _ _complex__ elt_zero()': /test/gnu/gcc-4.1/gcc/gcc/testsuite/g++.dg/opt/complex5.C:11: internal compiler error: Segmentation fault (gdb) r `cat xx.sh` Starting program: /test/gnu/gcc-4.1/objdir/gcc/cc1plus `cat xx.sh` Detaching after fork from child process 19856. GNU C++ version 4.1.0 20060205 (prerelease) (hppa2.0w-hp-hpux11.11) compiled by GNU C version 4.1.0 20060205 (prerelease). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 options passed: -nostdinc++ -I/test/gnu/gcc-4.1/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc-4.1/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc-4.1/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc-4.1/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc-4.1/gcc/libstdc++-v3/testsuite -iprefix -isystem -auxbase-strip -O2 -fmessage-length=0 options enabled: -falign-loops -fargument-alias -fbranch-count-reg -fcaller-saves -fcommon -fcprop-registers -fcrossjumping -fcse-follow-jumps -fcse-skip-blocks -fdefer-pop -fdelayed-branch -fdelete-null-pointer-checks -fearly-inlining -feliminate-unused-debug-types -fexceptions -fexpensive-optimizations -ffunction-cse -fgcse -fgcse-lm -fguess-branch-probability -fident -fif-conversion -fif-conversion2 -finline-functions-called-once -fipa-pure-const -fipa-reference -fipa-type-escape -fivopts -fkeep-static-consts -fleading-underscore -floop-optimize -floop-optimize2 -fmath-errno -fmerge-constants -fomit-frame-pointer -foptimize-register-move -foptimize-sibling-calls -fpeephole -fpeephole2 -freg-struct-return -fregmove -freorder-blocks -freorder-functions -frerun-cse-after-loop -frerun-loop-opt -fsched-interblock -fsched-spec -fsched-stalled-insns-dep -fschedule-insns -fschedule-insns2 -fshow-column -fsplit-ivs-in-unroller -fstrength-reduce -fstrict-aliasing -fthread-jumps -ftrapping-math -ftree-ccp -ftree-ch -ftree-copy-prop -ftree-copyrename -ftree-dce -ftree-dominator-opts -ftree-dse -ftree-fre -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize -ftree-lrs -ftree-pre -ftree-salias -ftree-sink -ftree-sra -ftree-store-ccp -ftree-store-copy-prop -ftree-ter -ftree-vect-loop-version -ftree-vrp -funit-at-a-time -fvar-tracking -fzero-initialized-in-bss -mbig-switch -mgas -mspace-regs Compiler executable checksum: c122a4c335979b8f0ae5e70db9004734 double __complex__ to_complex(double) double __complex__ elt_zero() Analyzing compilation unitPerforming intraprocedural optimizations Assembling functions: double __complex__ elt_zero() Program received signal SIGSEGV, Segmentation fault. 0x0026d820 in simple_iv_increment_p (stmt=0x0) at ../../gcc/gcc/tree-ssa-dom.c:1739 1739 if (TREE_CODE (phi) != PHI_NODE) (gdb) bt #0 0x0026d820 in simple_iv_increment_p (stmt=0x0) at ../../gcc/gcc/tree-ssa-dom.c:1739 #1 0x00271784 in optimize_stmt (walk_data=0x0, bb=0x400246a0, si= {tsi = {ptr = 0x7ae89e80, container = 0x7ae8f450}, bb = 0x7adf0960}) at ../../gcc/gcc/tree-ssa-dom.c:2558 #2 0x003be2e8 in walk_dominator_tree (walk_data=0x7eff0dc8, bb=0x7adf0960) at ../../gcc/gcc/domwalk.c:196 #3 0x003be0e8 in walk_dominator_tree (walk_data=0x7eff0dc8, bb=0x7adf08c0) at ../../gcc/gcc/domwalk.c:212 #4 0x0026dce8 in tree_ssa_dominator_optimize () at ../../gcc/gcc/tree-ssa-dom.c:446 #5 0x002216d0 in execute_one_pass (pass=0x400657e8) at ../../gcc/gcc/passes.c:827 #6 0x00221824 in execute_pass_list (pass=0x400657e8) at ../../gcc/gcc/passes.c:859 #7 0x00221838 in execute_pass_list (pass=0x40007338) at ../../gcc/gcc/passes.c:860 #8 0x0010e7ec in tree_rest_of_compilation (fndecl=0x7ae8c700) at ../../gcc/gcc/tree-optimize.c:419 #9 0x000a8db8 in expand_body (fn=0x7ae8c700) at ../../gcc/gcc/cp/semantics.c:3014 #10 0x0023db9c in cgraph_expand_function (node=0x7ae8c780) at ../../gcc/gcc/cgraphunit.c:1055 ---Type to continue, or q to quit--- #11 0x0023e444 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1121 #12 0x0006fb48 in cp_finish_file () at ../../gcc/gcc/cp/decl2.c:3115 #13 0x00029314 in finish_file () at ../../gcc/gcc/cp/cp-lang.c:144 #14 0x000f37dc in c_common_parse_file (set_yydebug=0) at ../../gcc/gcc/c-opts.c:1144 #15 0x00201c2c in toplev_main (argc=1074028192, argv=0x400466a0) at ../../gcc/gcc/toplev.c:991 #16 0x000ff1b4 in main (argc=0, argv=0x7adf0960) at ../../gcc/gcc/main.c:35 -- Summary: g++.dg/opt/complex5.C:11: ICE: Segmentation fault Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa2.0w-hp-hpux11.11 GCC host triplet: hppa2.0w-hp-hpux11.11 GCC target triplet: hppa2.0w-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26125