--- Comment #8 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-23 13:36 ---
with the patch in place, CP2K compiles fine again. Thanks, closing as fixed.
--
Joost dot VandeVondele at pci dot uzh dot ch changed:
What|Removed |Added
--- Comment #3 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-23 10:52 ---
Under valgrind:
==5634== Invalid read of size 8
==5634==at 0x936AD4: expr_invariant_in_loop_p (gimple.h:1149)
==5634==by 0xCE643E: evolution_function_is_invariant_rec_p
(tree-chrec.c:1009
--- Comment #2 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-23 10:46 ---
gfortran -O3 -floop-block -c -v bug.f90
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/data03/vondele/gcc_trunk/build/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target
org
ReportedBy: Joost dot VandeVondele at pci dot uzh dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45758
--- Comment #5 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-22 11:31 ---
I guess this bug can be closed unless you intend backporting to earlier
versions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45723
--
Joost dot VandeVondele at pci dot uzh dot ch changed:
What|Removed |Added
Known to fail||4.6.0
Known to work
dTo: unassigned at gcc dot gnu dot org
ReportedBy: Joost dot VandeVondele at pci dot uzh dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45745
--- Comment #3 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-20 06:30 ---
(In reply to comment #2)
> Created an attachment (id=21841)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21841&action=view) [edit]
> Possible patch
>
> This patch passes
--
Joost dot VandeVondele at pci dot uzh dot ch changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi
: UNCONFIRMED
Severity: normal
Priority: P3
Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Joost dot VandeVondele at pci dot uzh dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45723
--
Joost dot VandeVondele at pci dot uzh dot ch changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
--- Comment #2 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-18 07:48 ---
reduced testcase:
> cat bug.f90
integer index(18),i,j,k,l,ipiv(18),info,ichange,neq,lda,ldb,
& nrhs,iplas
real*8 ep0(6),al10(18),al20(18),dg0(18),ep(6),al1(18),
&
--- Comment #4 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-15 18:25 ---
If realspace_grid_type%r is declared as pointer instead of allocatable, the
testcase can be compiled, and a similar workaround in CP2K allows an LTO build
of CP2K to finish (after updating binutils to
--- Comment #6 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-15 15:17 ---
OK, fixed with using CVS binutils...
ld -v
GNU gold (GNU Binutils 2.20.51.20100915) 1.10
--
Joost dot VandeVondele at pci dot uzh dot ch changed:
What|Removed
--- Comment #5 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-14 13:07 ---
A slight variation leads to an lto1 ICE:
declaring build eri as: 'extern void (*build_eri)(void);'
leads to:
> gcc -c -flto test_c.c ; gfortran -c -flto test.f90 ; rm all.a
--- Comment #4 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-14 06:04 ---
(In reply to comment #3)
>
> In C means that the build_eri takes a variable arguments.
>
:-) thanks... using 'void (*build_eri)(void);' fixes the warning... now it is
an error
--- Comment #2 from Joost dot VandeVondele at pci dot uzh dot ch
2010-09-13 17:13 ---
(In reply to comment #1)
> It works for me. I suppose you have older gold with known bugs? I have
>
> GNU gold (GNU Binutils; SUSE:openSUSE 11.1 2.20.51.20091013-0.1) 1.9
my date is mo
Summary: LTO / function pointers with iso_c_binding
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Joost dot
18 matches
Mail list logo