[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 rguenth at gcc dot gnu.org 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=gccview=revrev=169518 Log: 2011-02-02 Richard

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[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 Joost.VandeVondele at pci dot uzh.ch 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

[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 rguenth at gcc dot gnu.org 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

[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 Joost.VandeVondele at pci dot uzh.ch 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

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added CC||rguenth at

[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 Joost.VandeVondele at pci dot uzh.ch 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

[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 Joost.VandeVondele at pci dot uzh.ch 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

[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 rguenth at gcc dot gnu.org 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 #8 from Joost VandeVondele Joost.VandeVondele at pci dot uzh.ch 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

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[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 rguenth at gcc dot gnu.org 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

[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 Joost.VandeVondele at pci dot uzh.ch 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

[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 Joost.VandeVondele at pci dot uzh.ch 2011-02-01 21:00:18 UTC --- The patch from comment #9 allows a release checking compiler to build CP2K with LTO.