This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.apple-ppc c-common.c c-commo ...
- From: fjahanian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 15 Jul 2005 21:10:04 -0000
- Subject: gcc/gcc ChangeLog.apple-ppc c-common.c c-commo ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: apple-local-200502-branch
Changes by: fjahanian@gcc.gnu.org 2005-07-15 21:10:03
Modified files:
gcc : ChangeLog.apple-ppc c-common.c c-common.h
c-typeck.c tree-cfg.c tree.def tree.h
gcc/cp : semantics.c
gcc/doc : c-tree.texi
gcc/testsuite : ChangeLog.apple-ppc
Added files:
gcc/testsuite/gcc.apple: asm-label-1.c asm-label-2.c
Log message:
Radar 4178242
* c-common.c (print_cw_asm_operand): Add a new argument
to return the label declaration in.
(cw_asm_label): Add label declaration, if any, to asm_expr
tree.
(get_cw_asm_label): Build and return a label declaration tree
instead of a node_identifier for the label.
(cw_asm_labelno): Make it static.
* c-common.h: Remove extern declaration of cw_asm_labelno.
* c-typeck.c (parser_build_binary_op): Check for a spurious label
decl tree and return an error node instead.
(cw_asm_c_build_component_ref): If a label declaration, get its
underlying identifier node.
* tree-cfg.c (set_bb_for_stmt): Generate a unique label name for the
asm_expr's generic label name, if any.
* tree.def (ASM_EXPR): Define a new field for it.
* tree.h (ASM_LABEL): New macro definition.
* cp/semantics.c (finish_asm_stmt): Building of ASM_EXPR tree requires a
new argument.
Oked by Mike.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.1.4.89&r2=1.1.4.90
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.604.2.13&r2=1.604.2.14
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-common.h.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.276.6.10&r2=1.276.6.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.418.4.15&r2=1.418.4.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-cfg.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.149.4.4&r2=2.149.4.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.def.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.112.6.2&r2=1.112.6.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.h.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.692.2.5&r2=1.692.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.460.4.8&r2=1.460.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/c-tree.texi.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.71.4.1&r2=1.71.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.apple-ppc.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.1.4.60&r2=1.1.4.61
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.apple/asm-label-1.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.apple/asm-label-2.c.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=NONE&r2=1.1.2.1