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

[tuples][patch] C90 language conformance improvements and build options fixes


This patch fixes a number of issues that prevented the tuples branch from
compiling with the '-pedantic' option.  Also, prevent some warnings that
cause compilations to fail with -Werror.

	* tree-into-ssa.c (rewrite_initialize_block):
	Avoid declaration following statement in block.
	* tree-nrv.c (tree_nrv):
	Avoid declaration following statement in block.
	* tree-eh.c (collect_finally_tree): Fix typo in comment.
	Avoid cast to union type.
	(replace_goto_queue_cond_clause, replace_goto_queue_1,
	maybe_record_in_goto_queue, verify_norecord_switch_expr,
	lower_try_finally_fallthru_label): Avoid cast to union type.
	* fortran/Make-lang.in: Add -Wno-missing-format-attribute
	to fortran-warn options to avoid conflict with -Wno-format.
	* gimplify.c (gimplify_switch_expr):  Change assignment
	to initialiation.
	(gimplify_case_label_expr): Avoid declaration following
	statement in block.
	* tree-ssa-coalesce.c (create_outofssa_var_map): Avoid
	declaration following statement in block.
	* tree-ssa.c (ssa_redirect_edge, flush_pending_stmts):
	Avoid declaration following statements in block.
	* Makefile.in: Add -Wno-missing-format-attribute
	to builtins.o-warn and expr.o-warn options to avoid conflict
	with -Wno-format.  Removed fortran/*-warn options, -Wno-format
	and -Wno-uninitialized, which belong in fortran/Make-lang.in,
	and are applied to all fortran files there.

Committed to gimple-tuples-branch.  Approved by dnovillo.

--Bill


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