Revision 126278 fails: FAIL: gfortran.dg/array_constructor_6.f90 -O3 -fomit-frame-pointer -funroll-loops execution test FAIL: gfortran.dg/array_constructor_6.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions execution test and revision 126120 works.
revision 126200 works.
revision 126240 works.
revision 126260 works.
revision 126271 is bad.
revision 126264 is bad.
revision 126263 is bad. This patch http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00165.html is the cause.
(In reply to comment #6) > revision 126263 is bad. This patch > > http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00165.html > > is the cause. > I meant to say "revision 126263 works."
Assigning this bug to myself, since it seems I caused it.
Subject: Bug 32748 Author: jb Date: Sun Jul 15 21:33:32 2007 New Revision: 126662 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126662 Log: 2007-07-16 Janne Blomqvist <jb@gcc.gnu.org> PR fortran/32748 * trans-decl.c (gfc_build_builtin_function_decls): Remove DECL_IS_MALLOC attribute from internal_realloc, thus reverting part of my 2007-07-03 patch. Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-decl.c
With the 126662 commit, this should now be fixed, closing.
The failure is gone, but the cause might just be hidden again (the IL generated for the realloc looks safe, even with the malloc attribute set).