cp/method.c: ASM_GENERATE_INTERNAL_LABEL (buf, "LTHUNK", thunk_labelno); java/class.c: ASM_GENERATE_INTERNAL_LABEL (buf, name, alias_labelno++); java/expr.c: ASM_GENERATE_INTERNAL_LABEL(buf, "LJpc=", start_label_pc_this_method + pc); java/expr.c: ASM_GENERATE_INTERNAL_LABEL(buff, "LJv", l_number); I currently get a warning building java for picochip because of this issue. We should have a target hook so that we can wean the frontends off this macro.
Author: amylaar Date: Sat Nov 6 15:04:52 2010 New Revision: 166404 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166404 Log: PR middle-end/46314 gcc: * target.def (generate_internal_label): New asm_out hook. * output.h (default_generate_internal_label): Declare. * varasm.c (default_generate_internal_label): Define. gcc/cp: * method.c (make_alias_for_thunk): Use targetm.asm_out.generate_internal_label. gcc/java: * class.c: Include target.h. (make_local_function_alias): Use targetm.asm_out.generate_internal_label. * expr.c (lookup_label, generate_name): Likewise. Modified: trunk/gcc/ChangeLog trunk/gcc/cp/ChangeLog trunk/gcc/cp/method.c trunk/gcc/java/ChangeLog trunk/gcc/java/class.c trunk/gcc/java/expr.c trunk/gcc/output.h trunk/gcc/target.def trunk/gcc/varasm.c
Patch has been applied to trunk.