This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/65889] [6 Regressions] [OOP] ICE with sizeof a polymorphic variable.


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65889

--- Comment #4 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Wed Oct  7 10:58:46 2015
New Revision: 228566

URL: https://gcc.gnu.org/viewcvs?rev=228566&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2015-10-07  Andre Vehreschild  <vehre@gcc.gnu.org>

        PR fortran/65889
        * trans-intrinsic.c (gfc_conv_intrinsic_sizeof): Handle pointer to and
        on stack class objects as sizeof parameter.

gcc/testsuite/ChangeLog:

2015-10-07  Andre Vehreschild  <vehre@gcc.gnu.org>

        PR fortran/65889
        * gfortran.dg/sizeof_5.f90: New test.



Added:
    trunk/gcc/testsuite/gfortran.dg/sizeof_5.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-intrinsic.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]