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 c++/52247] [4.5/4.6/4.7 Regression] ICE with asm goto


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-02-14 19:51:06 UTC ---
Author: jakub
Date: Tue Feb 14 19:51:01 2012
New Revision: 184229

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184229
Log:
    PR c++/52247
    * pt.c (tsubst_copy_asm_operands): For LABEL_DECL values call
    lookup_label on label's name and set TREE_USED.

    * g++.dg/template/asmgoto1.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/template/asmgoto1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.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]