[Bug fortran/51073] _gfortran_caf_register incorrectly assumes malloc(0) returns non-NULL

joel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 10 18:02:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51073

--- Comment #6 from Joel Sherrill <joel at gcc dot gnu.org> 2011-11-10 17:49:19 UTC ---
Patch doesn't compile.

/users/joel/test-gcc/gcc-svn/gcc/fortran/trans-decl.c: In function
‘generate_coarray_sym_init’:
/users/joel/test-gcc/gcc-svn/gcc/fortran/trans-decl.c:4240:59: error: macro
"fold_build2_loc" requires 5 arguments, but only 4 given
/users/joel/test-gcc/gcc-svn/gcc/fortran/trans-decl.c:4238:10: error:
‘fold_build2_loc’ undeclared (first use in this function)
/users/joel/test-gcc/gcc-svn/gcc/fortran/trans-decl.c:4238:10: note: each
undeclared identifier is reported only once for each function it appears in
make[2]: *** [fortran/trans-decl.o] Error 1
make[2]: Leaving directory `/home2/joel/build/b-mips-fortran/gcc'



More information about the Gcc-bugs mailing list