https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71230
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Joost.VandeVondele at mat dot ethz | |.ch --- Comment #2 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> --- smaller testcase (different compiler options needed): > gfortran -c -fbounds-check -O1 -ffast-math bug.f90 bug.f90:1:0: FUNCTION pw_integral_aa ( cc ) RESULT ( integral_value ) internal compiler error: in zero_one_operation, at tree-ssa-reassoc.c:1230 0xd5b4f8 zero_one_operation ../../gcc/gcc/tree-ssa-reassoc.c:1229 0xd62f98 undistribute_ops_list ../../gcc/gcc/tree-ssa-reassoc.c:1583 0xd63a28 reassociate_bb ../../gcc/gcc/tree-ssa-reassoc.c:5199 0xd63867 reassociate_bb ../../gcc/gcc/tree-ssa-reassoc.c:5325 0xd63867 reassociate_bb ../../gcc/gcc/tree-ssa-reassoc.c:5325 > cat bug.f90 FUNCTION pw_integral_aa ( cc ) RESULT ( integral_value ) COMPLEX(KIND=8), DIMENSION(:), POINTER :: cc integral_value = accurate_sum ( CONJG ( cc (:) ) * cc (:) ) END FUNCTION pw_integral_aa