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

Reply via email to