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/55935] [OOP] Fortran fronted has ADDR_EXPRs of FUNCTION_DECLs with bogus BLOCK


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

--- Comment #16 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-13 12:33:49 UTC ---
Author: jakub
Date: Sun Jan 13 12:33:43 2013
New Revision: 195136

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195136
Log:
    PR fortran/55935
    * gimple-fold.c (get_symbol_constant_value): Call
    unshare_expr.
    (fold_gimple_assign): Don't call unshare_expr here.
    (fold_ctor_reference): Call unshare_expr.

    * trans-expr.c (gfc_conv_structure): Call
    unshare_expr_without_location on the ctor elements.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/gimple-fold.c


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