http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51250
Mikael Morin <mikael at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikael at gcc dot gnu.org AssignedTo|unassigned at gcc dot |mikael at gcc dot gnu.org |gnu.org | --- Comment #3 from Mikael Morin <mikael at gcc dot gnu.org> 2011-11-22 19:02:27 UTC --- I will take care of this one after mid-december. Beside the workaround proposed by Tobias, you can use a variable instead of a constant for SUM's DIM argument. Or you can patch gfc_inline_intrinsic_function_p (in trans-intrinsic.c) to return false in the SUM case.