--- 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 ; ar -r all.a
> test_c.o
--- 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 only.
gcc -c -flto tes
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-13 17:58 ---
>void (*build_eri)();
In C means something different from:
void (*build_eri)(void);
Please try with the void.
--- CUT --
void (*build_eri)();
In C means that the build_eri takes a variable arguments.
--
http
--- 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 more recent
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-13 16:12 ---
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
Copyright 2008 Free Software Foundation, Inc.
This program is free softwa