Commit 3358cae0 by Zack Weinberg

c-decl.c (store_parm_decls_newstyle): Correct test for a nested function.

	* c-decl.c (store_parm_decls_newstyle): Correct test for a
	nested function.

From-SVN: r81677
parent 62d45923
2004-05-10 Zack Weinberg <zack@codesourcery.com>
* c-decl.c (store_parm_decls_newstyle): Correct test for a
nested function.
2004-05-10 Richard Sandiford <rsandifo@redhat.com>
* read-rtl.c (read_rtx): Allow 's' and 'T' strings to be omitted,
......@@ -35,7 +40,7 @@
* config/rs6000/rs6000.c (function_arg_boundary): Align for ABI_V4
when size is 8 bytes.
(function_arg_advance): Account for stack space used by AltiVec
args when -mabi=altivec. Simplify alignment calculations. For
args when -mabi=altivec. Simplify alignment calculations. For
ABI_V4, pass AltiVec vectors by reference when -mabi=no-altivec.
(function_arg): Similarly.
(function_arg_pass_by_reference): True for ABI_V4 AltiVec when
......
......@@ -5828,8 +5828,7 @@ store_parm_decls_newstyle (tree fndecl, tree arg_info)
warning if we got here because ARG_INFO_TYPES was error_mark_node
(this happens when a function definition has just an ellipsis in
its parameter list). */
else if (warn_traditional && !in_system_header
&& !current_scope->outer_function
else if (warn_traditional && !in_system_header && !current_function_scope
&& ARG_INFO_TYPES (arg_info) != error_mark_node)
warning ("%Jtraditional C rejects ISO C style function definitions",
fndecl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment