re PR fortran/53718 ([OOP] gfortran generates asm label twice in the same output...
authorJanus Weil <janus@gcc.gnu.org>
Wed, 31 Oct 2012 21:55:50 +0000 (22:55 +0100)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 31 Oct 2012 21:55:50 +0000 (22:55 +0100)
commit755634e60252de3270554fd06c222da98128c3ac
treeb6e33fd27397f05e68dceaea242adf1b7842646d
parent03b06a83441cac588cf04f494915ffd3868a9bed
re PR fortran/53718 ([OOP] gfortran generates asm label twice in the same output file)

2012-10-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/53718
* trans.h (GFC_DECL_PUSH_TOPLEVEL): Removed.
* trans-decl.c (gfc_get_symbol_decl,gfc_generate_function_code): Remove
GFC_DECL_PUSH_TOPLEVEL.
(build_function_decl): Do not push __copy procedure to toplevel.

2012-10-31  Janus Weil  <janus@gcc.gnu.org>

PR fortran/53718
* gfortran.dg/class_54.f90: New.

From-SVN: r193048
gcc/fortran/ChangeLog
gcc/fortran/trans-decl.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/class_54.f90 [new file with mode: 0644]