public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/44152] New: ICE on compiling xshow.f of xplor-nih with -O3 -ffast-math -fwhopr Date: Sat, 15 May 2010 15:17:00 -0000 [thread overview] Message-ID: <bug-44152-11113@http.gcc.gnu.org/bugzilla/> (raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 5641 bytes --] The compilation of xshow.f of the xplor-nih package causes a compiler ICE for... gfortran -c xshow.f -O3 -ffast-math -fwhopr -fdefault-integer-8 -ffixed-line-length-120 -fno-second-underscore xshow.f:295.7: & HEAP(VSTACK),HEAP(LSTACK), 1 Warning: Type mismatch in argument 'vstack' at (1); passed INTEGER(8) to COMPLEX(8) xshow.f:367.7: & HEAP(VSTACK),HEAP(LSTACK),HEAP(INDEX),HEAP(HPH), 1 Warning: Type mismatch in argument 'vstack' at (1); passed INTEGER(8) to COMPLEX(8) xshow.f: In function xshow_: xshow.f:2:0: 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. This doesn't occur with "-O2 -ffast-math -fwhopr" and also is triggered by the minimal subset of compiler options "-O2 -fipa-cp-clone -ftree-vectorize -fno-signed-zeros -fno-trapping-math -fassociative-math -fwhopr". The segmentation fault backtraces in gdb as... (gdb) r xshow.f -ffixed-form -fPIC -quiet -dumpbase xshow.f -mmacosx-version-min=10.6.3 -mtune=generic -auxbase xshow -O2 -version -fipa-cp-clone -ftree-vectorize -fno-signed-zeros -fno-trapping-math -fassociative-math -fwhopr -fdefault-integer-8 -ffixed-line-length-120 -fno-second-underscore -fintrinsic-modules-path /sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin10.3.0/4.6.0/finclude -o /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccdh1126.s Starting program: /sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.3.0/4.6.0/f951 xshow.f -ffixed-form -fPIC -quiet -dumpbase xshow.f -mmacosx-version-min=10.6.3 -mtune=generic -auxbase xshow -O2 -version -fipa-cp-clone -ftree-vectorize -fno-signed-zeros -fno-trapping-math -fassociative-math -fwhopr -fdefault-integer-8 -ffixed-line-length-120 -fno-second-underscore -fintrinsic-modules-path /sw/lib/gcc4.6/lib/gcc/x86_64-apple-darwin10.3.0/4.6.0/finclude -o /var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccdh1126.s Reading symbols for shared libraries .++++++++++++..... done GNU Fortran (GCC) version 4.6.0 20100515 (experimental) [trunk revision 159301] (x86_64-apple-darwin10.3.0) compiled by GNU C version 4.6.0 20100515 (experimental) [trunk revision 159301], GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU Fortran (GCC) version 4.6.0 20100515 (experimental) [trunk revision 159301] (x86_64-apple-darwin10.3.0) compiled by GNU C version 4.6.0 20100515 (experimental) [trunk revision 159301], GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 xshow.f:295.7: & HEAP(VSTACK),HEAP(LSTACK), 1 Warning: Type mismatch in argument 'vstack' at (1); passed INTEGER(8) to COMPLEX(8) xshow.f:367.7: & HEAP(VSTACK),HEAP(LSTACK),HEAP(INDEX),HEAP(HPH), 1 Warning: Type mismatch in argument 'vstack' at (1); passed INTEGER(8) to COMPLEX(8) Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004 vect_mark_slp_stmts (node=<value temporarily unavailable, due to optimizations>, mark=pure_slp, j=-1) at ../../gcc-4.6-20100515/gcc/tree-vect-slp.c:2391 2391 } (gdb) bt #0 vect_mark_slp_stmts (node=<value temporarily unavailable, due to optimizations>, mark=pure_slp, j=-1) at ../../gcc-4.6-20100515/gcc/tree-vect-slp.c:2391 #1 0x000000010072e754 in vect_make_slp_decision (loop_vinfo=0x1425dd990) at ../../gcc-4.6-20100515/gcc/tree-vect-slp.c:1261 #2 0x0000000100725a5b in vect_analyze_loop (loop=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.6-20100515/gcc/tree-vect-loop.c:1495 #3 0x000000010073144a in vectorize_loops () at ../../gcc-4.6-20100515/gcc/tree-vectorizer.c:219 #4 0x000000010056185a in execute_one_pass (pass=0x100aeefc0) at ../../gcc-4.6-20100515/gcc/passes.c:1591 #5 0x0000000100561afd in execute_pass_list (pass=0x100aeefc0) at ../../gcc-4.6-20100515/gcc/passes.c:1646 #6 0x0000000100561b0f in execute_pass_list (pass=0x100aef1a0) at ../../gcc-4.6-20100515/gcc/passes.c:1647 #7 0x0000000100561b0f in execute_pass_list (pass=0x100aee3c0) at ../../gcc-4.6-20100515/gcc/passes.c:1647 #8 0x0000000100659ba5 in tree_rest_of_compilation (fndecl=0x142643f00) at ../../gcc-4.6-20100515/gcc/tree-optimize.c:413 #9 0x00000001007b6950 in cgraph_expand_function (node=0x14240aa80) at ../../gcc-4.6-20100515/gcc/cgraphunit.c:1622 #10 0x00000001007b8cc9 in cgraph_optimize () at ../../gcc-4.6-20100515/gcc/cgraphunit.c:1701 #11 0x00000001007b91ea in cgraph_finalize_compilation_unit () at ../../gcc-4.6-20100515/gcc/cgraphunit.c:1161 #12 0x0000000100501b36 in write_global_declarations () at ../../gcc-4.6-20100515/gcc/langhooks.c:309 #13 0x0000000100613620 in toplev_main (argc=26, argv=0x7fff5fbfed68) at ../../gcc-4.6-20100515/gcc/toplev.c:1061 #14 0x0000000100001094 in start () -- Summary: ICE on compiling xshow.f of xplor-nih with -O3 -ffast- math -fwhopr Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44152
next reply other threads:[~2010-05-15 15:17 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-05-15 15:17 howarth at nitro dot med dot uc dot edu [this message] 2010-05-15 15:21 ` [Bug lto/44152] " howarth at nitro dot med dot uc dot edu 2010-05-15 16:09 ` dominiq at lps dot ens dot fr 2010-07-22 14:47 ` rguenth at gcc dot gnu dot org 2010-07-27 9:25 ` irar at il dot ibm dot com 2010-07-27 12:27 ` [Bug tree-optimization/44152] " irar at gcc dot gnu dot org 2010-07-27 13:03 ` rguenth at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-44152-11113@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).