[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 Richard Guenther changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-02 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #13 from Richard Guenther 2011-02-02 09:59:29 UTC --- Author: rguenth Date: Wed Feb 2 09:59:23 2011 New Revision: 169518 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=169518 Log: 2011-02-02 Richard Guenther PR tree-o

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #12 from Joost VandeVondele 2011-02-01 21:00:18 UTC --- The patch from comment #9 allows a release checking compiler to build CP2K with LTO.

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #11 from Joost VandeVondele 2011-02-01 15:52:42 UTC --- (In reply to comment #9) > In file included from :425:0: > /tmp/cp2k/makefiles/../src/realspace_grid_types.F: In function > 'rs_pw_transfer_replicated': > /tmp/cp2k/makefiles/../

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #10 from Richard Guenther 2011-02-01 15:40:30 UTC --- Testcase: /* { dg-lto-do run } */ /* { dg-extra-ld-options "-O2 -ffast-math" } */ double cabs(_Complex double); double __attribute__((used)) foo (_Complex double x, int b) { if

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 Richard Guenther changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #8 from Joost VandeVondele 2011-02-01 14:53:44 UTC --- (In reply to comment #7) > Hm, you are using -O0 for the compile and -O3 ... for the link step? Should > work in theory, but of course isn't tested thoroughly. Right :-) I'm try

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #7 from Richard Guenther 2011-02-01 14:46:56 UTC --- Hm, you are using -O0 for the compile and -O3 ... for the link step? Should work in theory, but of course isn't tested thoroughly.

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #6 from Joost VandeVondele 2011-02-01 12:29:36 UTC --- to reproduce from sources wget http://www.pci.uzh.ch/vandevondele/tmp/cp2k.tgz tar -xzvf cp2k.tgz cd cp2k/makefiles make -j ARCH=gfortran-test24 VERSION=sopt this assumes that y

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #5 from Joost VandeVondele 2011-02-01 12:23:35 UTC --- (In reply to comment #4) > That's indeed invalid - it should be an SSA name. This means some > earlier pass messed up (or PRE itself). The bug shouldn't depend > on LTO (apart f

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 Richard Guenther changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #3 from Joost VandeVondele 2011-02-01 12:04:46 UTC --- (In reply to comment #2) > I think we need source code (LTO bytecode isn't really portable). oops... that's building CP2K. Let me see if I can reproduce this with this night's ta

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #2 from Richard Guenther 2011-02-01 11:53:09 UTC --- I think we need source code (LTO bytecode isn't really portable). It looks like that vuse is somehow bogus - mind posting the output of (gdb) call debug_tree (vuse) at that point

[Bug middle-end/47566] ICE in vn_reference_lookup

2011-02-01 Thread Joost.VandeVondele at pci dot uzh.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47566 --- Comment #1 from Joost VandeVondele 2011-02-01 09:42:12 UTC --- gzipped testcase (2.7Mb) downloadable from http://www.pci.uzh.ch/vandevondele/tmp/cp2k.sopt.ltrans1.o.gz