http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56650
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2013-03-27 11:23:41 UTC --- Author: burnus Date: Wed Mar 27 10:45:58 2013 New Revision: 197159 URL: http://gcc.gnu.org/viewcvs?rev=197159&root=gcc&view=rev Log: 2013-03-27 Tobias Burnus <bur...@net-b.de> PR fortran/56650 PR fortran/36437 * check.c (gfc_check_sizeof, gfc_check_c_sizeof, gfc_check_storage_size): Update checks. * intrinsic.texi (SIZEOF): Correct class. * intrinsic.h (gfc_simplify_sizeof, gfc_simplify_storage_size): New prototypes. * intrinsic.c (add_functions): Use them. * simplify.c (gfc_simplify_sizeof, gfc_simplify_storage_size): New functions. 2013-03-27 Tobias Burnus <bur...@net-b.de> PR fortran/56650 PR fortran/36437 * gfortran.dg/sizeof_2.f90: New. * gfortran.dg/sizeof_3.f90: New. * gfortran.dg/sizeof_proc.f90: Update dg-error. Added: trunk/gcc/testsuite/gfortran.dg/sizeof_2.f90 trunk/gcc/testsuite/gfortran.dg/sizeof_3.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/check.c trunk/gcc/fortran/intrinsic.c trunk/gcc/fortran/intrinsic.h trunk/gcc/fortran/intrinsic.texi trunk/gcc/fortran/simplify.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gfortran.dg/sizeof_proc.f90