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
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
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
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
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
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
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
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
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.
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
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
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
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
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.
14 matches
Mail list logo