[Bug middle-end/45758] New: [4.6 Regression] ICE in expr_invariant_in_loop_p

2010-09-23 Thread Joost dot VandeVondele at pci dot uzh dot ch
Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Joost dot VandeVondele at pci dot uzh dot ch http://gcc.gnu.org/bugzilla

[Bug middle-end/45758] [4.6 Regression] ICE in expr_invariant_in_loop_p

2010-09-23 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug middle-end/45758] [4.6 Regression] ICE in expr_invariant_in_loop_p

2010-09-23 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug fortran/45745] [4.6 Regression] ICE in gfc_conv_array_stride

2010-09-23 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug fortran/45745] New: [4.6 Regression] ICE in gfc_conv_array_stride

2010-09-22 Thread Joost dot VandeVondele at pci dot uzh dot ch
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=45745

[Bug fortran/45745] [4.6 Regression] ICE in gfc_conv_array_stride

2010-09-22 Thread Joost dot VandeVondele at pci dot uzh dot ch
-- Joost dot VandeVondele at pci dot uzh dot ch changed: What|Removed |Added Known to fail||4.6.0 Known to work

[Bug libfortran/45723] opening /dev/null for appending writes

2010-09-22 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug libfortran/45723] opening /dev/null for appending writes

2010-09-20 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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=21841action=view) [edit] Possible patch This patch passes regression testing. Don't

[Bug tree-optimization/45714] Vectorization of double pow function causes a segmentation fault

2010-09-18 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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), al2(18),dg(18

[Bug tree-optimization/45714] Vectorization of double pow function causes a segmentation fault

2010-09-18 Thread Joost dot VandeVondele at pci dot uzh dot ch
-- Joost dot VandeVondele at pci dot uzh dot ch changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1

[Bug libfortran/45723] New: opening /dev/null for appending writes

2010-09-18 Thread Joost dot VandeVondele at pci dot uzh dot ch
: 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

[Bug libfortran/45723] opening /dev/null for appending writes

2010-09-18 Thread Joost dot VandeVondele at pci dot uzh dot ch
-- Joost dot VandeVondele at pci dot uzh dot ch changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug lto/45586] [4.6 Regression] ICE non-trivial conversion at assignment

2010-09-15 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug fortran/45659] LTO / function pointers with iso_c_binding

2010-09-15 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug fortran/45659] LTO / function pointers with iso_c_binding

2010-09-14 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug fortran/45659] LTO / function pointers with iso_c_binding

2010-09-14 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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

[Bug fortran/45659] New: LTO / function pointers with iso_c_binding

2010-09-13 Thread Joost dot VandeVondele at pci dot uzh dot ch
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 VandeVondele at pci dot uzh dot ch http

[Bug fortran/45659] LTO / function pointers with iso_c_binding

2010-09-13 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- 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