public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "Joost.VandeVondele at pci dot uzh.ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/47566] New: ICE in vn_reference_lookup
Date: Tue, 01 Feb 2011 09:38:00 -0000	[thread overview]
Message-ID: <bug-47566-4@http.gcc.gnu.org/bugzilla/> (raw)

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

           Summary: ICE in vn_reference_lookup
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Joost.VandeVondele@pci.uzh.ch


current trunk fails with ICE compiling with LTO cp2k.

/data03/vondele/gnu/gcc_trunk/install/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto1
-march=amdfam10 -mcx16 -msahf -mpopcnt -mabm --param l1-cache-size=64 --param
l1-cache-line-size=64 --param l2-cache-size=512 -mtune=amdfam10 -quiet -dumpdir
/data03/vondele/cp2k_gcc/cp2k/makefiles/../exe/gfortran-test24/ -dumpbase
cp2k.sopt.ltrans1 -auxbase-strip cp2k.sopt.ltrans1.ltrans.o -O3 -version
-ffree-form -funroll-loops -ffast-math -fuse-linker-plugin -fltrans
cp2k.sopt.ltrans1.o -o cp2k.sopt.ltrans1.s -v

GNU GIMPLE (GCC) version 4.6.0 20110201 (experimental) [trunk revision 169466]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.0 20110201 (experimental) [trunk revision
169466], GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU GIMPLE (GCC) version 4.6.0 20110201 (experimental) [trunk revision 169466]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.0 20110201 (experimental) [trunk revision
169466], GMP version 4.3.2, MPFR version 2.4.2, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
In file included from :520:0:
/data03/vondele/cp2k_gcc/cp2k/makefiles/../src/fft_tools.F: In function
‘fft3d_pb’:
/data03/vondele/cp2k_gcc/cp2k/makefiles/../src/fft_tools.F:994:0: internal
compiler error: Segmentation fault

in gdb I get

Program received signal SIGSEGV, Segmentation fault.
0x000000000079583b in vn_reference_lookup (op=0x7fffef4a4460,
vuse=0x7ffff532eb40, kind=VN_WALK, vnresult=0x0) at
../../gcc/gcc/tree-ssa-sccvn.c:1543
1543      vr1.vuse = vuse ? SSA_VAL (vuse) : NULL_TREE;
(gdb) bt
#0  0x000000000079583b in vn_reference_lookup (op=0x7fffef4a4460,
vuse=0x7ffff532eb40, kind=VN_WALK, vnresult=0x0) at
../../gcc/gcc/tree-ssa-sccvn.c:1543
#1  0x0000000000787a0c in eliminate () at ../../gcc/gcc/tree-ssa-pre.c:4331
#2  0x000000000078a2a5 in execute_pre (do_fre=0 '\000') at
../../gcc/gcc/tree-ssa-pre.c:4901
#3  execute_pre (do_fre=0 '\000') at ../../gcc/gcc/tree-ssa-pre.c:4845
#4  0x000000000064fdb9 in execute_one_pass (pass=0x10968c0) at
../../gcc/gcc/passes.c:1561
#5  0x0000000000650065 in execute_pass_list (pass=0x10968c0) at
../../gcc/gcc/passes.c:1616
#6  0x0000000000650077 in execute_pass_list (pass=0x10957e0) at
../../gcc/gcc/passes.c:1617
#7  0x000000000071b481 in tree_rest_of_compilation (fndecl=0x7ffff5c2ff00) at
../../gcc/gcc/tree-optimize.c:422
#8  0x000000000085884f in cgraph_expand_function (node=0x7ffff54599a0) at
../../gcc/gcc/cgraphunit.c:1563
#9  0x000000000085a46a in cgraph_expand_all_functions () at
../../gcc/gcc/cgraphunit.c:1622
#10 cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1882
#11 0x00000000004b9fdf in lto_main () at ../../gcc/gcc/lto/lto.c:2457

details of gfortran -v:

gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/data03/vondele/gnu/gcc_trunk/install/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure
--prefix=/data03/vondele/gnu/gcc_trunk/install --enable-languages=c,c++,fortran
--disable-multilib --enable-plugins --enable-cloog-backend=isl
--with-ppl=/data03/vondele/gnu/ppl-0.11/install
--with-cloog=/data03/vondele/gnu/cloog-0.16.1/install/
--with-libelf=/data03/vondele/gnu/libelf-0.8.13/install --enable-gold
--enable-checking=release
Thread model: posix
gcc version 4.6.0 20110201 (experimental) [trunk revision 169466] (GCC)


             reply	other threads:[~2011-02-01  9:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-01  9:38 Joost.VandeVondele at pci dot uzh.ch [this message]
2011-02-01  9:42 ` [Bug middle-end/47566] " Joost.VandeVondele at pci dot uzh.ch
2011-02-01 11:53 ` rguenth at gcc dot gnu.org
2011-02-01 12:04 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-01 12:12 ` rguenth at gcc dot gnu.org
2011-02-01 12:23 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-01 12:29 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-01 14:47 ` rguenth at gcc dot gnu.org
2011-02-01 14:54 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-01 15:36 ` rguenth at gcc dot gnu.org
2011-02-01 15:40 ` rguenth at gcc dot gnu.org
2011-02-01 15:52 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-01 21:23 ` Joost.VandeVondele at pci dot uzh.ch
2011-02-02  9:59 ` rguenth at gcc dot gnu.org
2011-02-02 10:00 ` rguenth at gcc dot gnu.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-47566-4@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: link
Be 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).