This is the mail archive of the gcc-cvs@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]

r110046 - in /branches/apple-local-200502-branc...


Author: mrs
Date: Fri Jan 20 22:31:20 2006
New Revision: 110046

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=110046
Log:
	Radar 4381918
	* c-decl.c (start_function): Avoid warnings about lack of return
	in asm functions.
	* config/i386/i386.c (ix86_save_reg): Don't save any registers for
	asm functions.
	(ix86_expand_prologue): Don't adjust the stack for asm functions.
	(ix86_expand_epilogue): Don't generate most of the epilogue for an
	asm function, but do generate a ret.
	* function.c (assign_parms): Don't avoid doing work for asm
	functions.
	(expand_function_start): We don't need DECL_RTL for asm functions.
	(expand_function_end): Use a naked return for asm functions.
	(expand_function_end): 
	* gimple-low.c (lower_function_body): Don't generate a return; for
	asm functions.
	* tree-inline.c (inline_forbidden_p): Don't inline asm functions on ppc.

cp:
	Radar 4381918
	* decl.c (start_preparsed_function): Avoid warnings about lack of return
	in asm functions.

testsuite:
	Radar 4381918
	* gcc.apple/asm-function-19.c: Add.
	* gcc.apple/asm-function-20.c: Add.
	* g++.dg/asm-function-19.C: Add.
	* g++.dg/asm-function-20.C: Add.

Added:
    branches/apple-local-200502-branch/gcc/testsuite/g++.dg/asm-function-19.C
    branches/apple-local-200502-branch/gcc/testsuite/g++.dg/asm-function-20.C
    branches/apple-local-200502-branch/gcc/testsuite/gcc.apple/asm-function-19.c
    branches/apple-local-200502-branch/gcc/testsuite/gcc.apple/asm-function-20.c
Modified:
    branches/apple-local-200502-branch/gcc/ChangeLog.apple-ppc
    branches/apple-local-200502-branch/gcc/c-decl.c
    branches/apple-local-200502-branch/gcc/config/i386/i386.c
    branches/apple-local-200502-branch/gcc/cp/ChangeLog.apple-ppc
    branches/apple-local-200502-branch/gcc/cp/decl.c
    branches/apple-local-200502-branch/gcc/function.c
    branches/apple-local-200502-branch/gcc/gimple-low.c
    branches/apple-local-200502-branch/gcc/testsuite/ChangeLog.apple-ppc
    branches/apple-local-200502-branch/gcc/tree-inline.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]