Commit Graph

104622 Commits

Author SHA1 Message Date
Mingming Sun
98824c6fc4 invoke.texi (MIPS Options): Add loongson3a processor.
gcc/
2010-09-21  Mingming Sun  <mingm.sun@gmail.com>

	* doc/invoke.texi (MIPS Options): Add loongson3a processor.
	* config/mips/mips.md (define_attr "cpu"): Add loongson_3a.
	(define_insn "prefetch"): Add TARGET_LOONGSON_3A.
	* config/mips/mips.h (TARGET_LOONGSON_3A): Define.
	(TUNE_LOONGSON_3A): Define.
	(TARGET_LOONGSON_VECTORS): Add TARGET_LOONGSON_3A.
	(MIPS_ISA_LEVEL_SPEC): Add loongson3a.
	* config/mips/mips.c (mips_cpu_info_table): Add loongson3a.
	(mips_issue_rate): Add PROCESSOR_LOONGSON_3A.
	(mips_rtx_cost_data): Add Loongson-3A.

From-SVN: r166716
2010-11-13 17:30:52 +00:00
Iain Sandoe
989b59db15 fsf-nsstring-format-1.m: Adjust format messages.
gcc/testsuite:

	* objc.dg/fsf-nsstring-format-1.m: Adjust format messages.
	* obj-c++.dg/fsf-nsstring-format-1.mm: Likewise.

From-SVN: r166713
2010-11-13 17:15:17 +00:00
Kaveh R. Ghazi
3df087348e MAINTAINERS: Update my email address.
* MAINTAINERS: Update my email address.

From-SVN: r166712
2010-11-13 16:34:31 +00:00
Paolo Bonzini
42348a6906 re PR c/46462 (Revision 166700 caused new C test failures)
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	PR c/46462
	* gcc.dg/gomp/pr34607.c: Adjust errors for unknown typenames.
	* gcc.dg/pr35746.c: Likewise.
	* gcc.dg/cpp/direct2.c: Likewise.
	* gcc.dg/cpp/direct2s.c: Likewise.
	* gcc.dg/noncompile/920923-1.c: Likewise.
	* gcc.dg/dfp/constants-c99.c: Add -Wno-overflow.

From-SVN: r166711
2010-11-13 16:19:33 +00:00
Nicola Pero
29be86db00 method-format-1.mm: Adjust.
2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        * obj-c++.dg/attributes/method-format-1.mm: Adjust.

From-SVN: r166710
2010-11-13 15:58:02 +00:00
Nicola Pero
5a2a6eb050 In gcc/objc/: 2010-11-13 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/objc/:
2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc-act.c (objc_get_protocol_qualified_type): detect cases
        where we are asked to attach a protocol to something which is not
        an Objective-C object type, and produce an error.

In gcc/testsuite/:
2010-11-13  Nicola Pero  <nicola.pero@meta-innovation.com>

        * objc/compile/20060406-1.m: Fixed testcase not to try to qualify
        a pointer to an arbitrary C struct with an Objective-C protocol.
        Test various valid uses of typedef with Objective-C objects and
        protocols instead.
        * objc.dg/invalid-type-1.m: New.
        * obj-c++.dg/invalid-type-1.m: New.

From-SVN: r166709
2010-11-13 15:53:32 +00:00
Eric Botcazou
4286fd7aec Fix a couple of formatting issues
From-SVN: r166708
2010-11-13 15:15:02 +00:00
Paolo Bonzini
6ce1267512 method-format-1.m: New test.
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	* objc.dg/attributes/method-format-1.m: New test.

From-SVN: r166707
2010-11-13 15:00:06 +00:00
Iain Sandoe
2b7d8ce652 darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto switches.
gcc:

	* config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto
	switches.

From-SVN: r166706
2010-11-13 13:02:24 +00:00
Iain Sandoe
a0abcb2ee3 darwin-segaddr.c: New test for multiple argument c/l switch.
gcc/testsuite:

	* gcc.dg/darwin-segaddr.c: New test for multiple argument c/l switch.

From-SVN: r166705
2010-11-13 12:56:39 +00:00
Iain Sandoe
a99291e491 don't emit debug sections until they are required
gcc:

	* dwarf2out.c (macinfo_entry): New struct.
	(output_comp_unit): Emit the section start label here and flag that we
	will emit an info section.
	(dwarf2out_start_source_file): Save data in a macinfo entry rather than
	emitting directly.
	(dwarf2out_end_source_file): Likewise.
	(dwarf2out_define): Likewise.
	(dwarf2out_undef): Likewise.
	(output_macinfo): New.
	(dwarf2out_init): Do not emit debug section switches here, allocate a
	vec for macinfo, when required.
	(dwarf2out_finish): First switch to debug_abbrev_section here.
	debug_line_section,  debug_macinfo_section, Likewise.  
	Check that the pubtypes table has at least one unpruned entry before
	trying to emit it.

From-SVN: r166704
2010-11-13 12:50:37 +00:00
Joseph Myers
d0f20be4d0 * gcc.pot: Regenerate.
From-SVN: r166703
2010-11-13 12:13:53 +00:00
Tobias Burnus
40309aefe2 re PR fortran/45742 (VOLATILE has no effect)
2010-11-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45742
        * gfortran.dg/volatile12.f90: Use the right three in
        * cleanup-tree-dump.

From-SVN: r166702
2010-11-13 12:46:25 +01:00
Tobias Burnus
c28d1d9b76 re PR fortran/45742 (VOLATILE has no effect)
2010-11-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45742
        * trans-common.c (build_field): Add TREE_SIDE_EFFECTS for
        * volatile.
        * trans-decl.c (gfc_finish_var_decl): Ditto.
        (create_function_arglist): Handle volatile dummy arguments.

2010-11-13  Tobias Burnus  <burnus@net-b.de>

        PR fortran/45742
        * gfortran.dg/volatile12.f90: New.

From-SVN: r166701
2010-11-13 11:29:04 +01:00
Paolo Bonzini
2f413185c2 [multiple changes]
2010-10-30  Paolo Bonzini  <bonzini@gnu.org>

	PR c/20385
	* c-parser.c (c_parser_next_token_starts_declaration): Rename to...
	(c_parser_next_tokens_start_declaration): ... this.  Handle 2nd
	token lookahead.
	(c_parser_compound_statement_nostart, c_parser_label,
	c_parser_for_statement, c_parser_omp_for_loop): Adjust calls.
	(c_parser_declaration_or_fndef): Detect the case now matched by
	c_parser_next_tokens_start_declaration, give error and correct it.

testsuite:
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	PR c/20385
	* gcc.dg/decl-9.c: New.

From-SVN: r166700
2010-11-13 10:01:33 +00:00
Paolo Bonzini
9e5b211566 c-tree.h (enum c_typespec_kind): Add ctsk_none.
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	* c-tree.h (enum c_typespec_kind): Add ctsk_none.
	(struct c_declspecs): Replace tagdef_seen_p and type_seen_p
	with typespec_kind.
	* c-decl.c (build_null_declspecs): Initialize typespec_kind.
	(shadow_tag_warned, check_compound_literal_type): Adjust
	uses of tag_defined_p.
	(declspecs_add_type): Set typespec_kind.
	* c-parser.c (c_parser_declaration_or_fndef,
	c_parser_declspecs, c_parser_struct_declaration,
	c_parser_parameter_declaration, c_parser_type_name,
	c_parser_objc_diagnose_bad_element_prefix): Adjust uses
	of type_seen_p.
	* c-typeck.c (c_cast_expr): Use typespec_kind instead of
	tag_defined_p, pass ctsk_firstref through.

testsuite:
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.dg/Wcxx-compat-8.c: Add testcases involving incomplete types.

From-SVN: r166699
2010-11-13 09:52:00 +00:00
Paolo Bonzini
1840660113 c-format.c (enum format_specifier_kind, [...]): New.
gcc:
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	* c-format.c (enum format_specifier_kind, kind_descriptions): New.
	(struct format_wanted_type): Replace field "name" with "kind", add
	"format_start" and "format_length".
	(check_format_info_main): Fill in new fields.  Fill in
	FORMAT_WANTED_TYPES even for missing arguments.  Move checks
	after the final NUL outside the while loop.  Do not include
	width and precision modifiers in the format_start/format_length
	of the main format.
	(check_format_types): Remove FORMAT_START and FORMAT_LENGTH
	arguments.  Compute WANTED_TYPE first so that format_type_warning
	can be called for missing arguments.  Adjust calls to
	format_type_warning.
	(format_type_warning): Fetch as much information as possible
	from format_wanted_type.  Adjust printing now that every
	warning has a "descr", as well as for missing argument warnings
	and to include % sign for format specifiers.

testsuite:
2010-11-13  Paolo Bonzini  <bonzini@gnu.org>

	* gcc.dg/format/few-1.c: New test.
	* gcc.dg/format/asm_fprintf-1.c: Adjust.
	* gcc.dg/format/c90-scanf-1.c: Adjust.
	* gcc.dg/format/cmn-err-1.c: Adjust.
	* gcc.dg/format/dfp-printf-1.c: Adjust.
	* gcc.dg/format/dfp-scanf-1.c: Adjust.
	* gcc.dg/format/gcc_diag-1.c: Adjust.
	* gcc.dg/format/ms_unnamed-1.c: Adjust.
	* gcc.dg/format/strfmon-1.c: Adjust.
	* gcc.dg/format/unnamed-1.c: Adjust.
	* gcc.dg/format/xopen-2.c: Adjust.
	* g++.dg/ext/builtin4.C: Adjust.
	* g++.dg/ext/builtin5.C: Adjust.

From-SVN: r166698
2010-11-13 09:42:58 +00:00
Alexander Monakov
5f33b97225 re PR rtl-optimization/46204 (g++.dg/torture/stackalign/throw-1.C fails to compile on IA64)
PR rtl-optimization/46204
	* sel-sched-ir.c (maybe_tidy_empty_bb): Remove second argument.
	Update all callers.  Do not recompute topological order.  Adjust
	fallthrough edges following a degenerate conditional jump.

From-SVN: r166697
2010-11-13 12:28:52 +03:00
Ian Lance Taylor
759fe2404d re PR other/46332 (__cxa_demangle yields excess parentheses for function types)
libiberty/:
	PR other/46332
	* cp-demangle.c (d_print_function_type): Don't print parentheses
	if there are no modifiers to print.
	* testsuite/demangle-expected: Tweak one test case, add another.
libstdc++/:
	* testsuite/abi/demangle/abi_examples/14.cc (main): Change
	expected demangling.

From-SVN: r166695
2010-11-13 01:21:12 +00:00
GCC Administrator
3c87e428b0 Daily bump.
From-SVN: r166694
2010-11-13 00:18:07 +00:00
Joseph Myers
2d1f38bb06 * gcc.pot: Regenerate.
From-SVN: r166690
2010-11-12 23:37:09 +00:00
Joseph Myers
c5fa0890a2 opts-common.c (control_warning_option): New.
* opts-common.c (control_warning_option): New.
	* opts.c (set_default_handlers): New.
	(decode_options): Use set_default_handlers and
	control_warning_option.
	(common_handle_option): Update call to enable_warning_as_error.
	(enable_warning_as_error): Take gcc_options parameters.  Use
	control_warning_option.
	* opts.h (set_default_handlers, control_warning_option): Declare.

c-family:
	* c-common.h (c_family_lang_mask): Declare.
	* c-opts.c (c_family_lang_mask): Make extern.
	* c-pragma.c (handle_pragma_diagnostic): Use
	control_warning_option.

testsuite:
	* gcc.dg/pragma-diag-2.c: New test.

From-SVN: r166689
2010-11-12 23:30:42 +00:00
Joseph Myers
a4d8c67600 Makefile.in (OPTS_H): Define.
* Makefile.in (OPTS_H): Define.
	(c-decl.o, c-family/c-common.o, c-family/c-opts.o,
	c-family/c-pch.o, c-family/c-pragma.o, gcc.o, gccspec.o,
	cppspec.o, options.o, gcc-options.o, lto-opts.o, opts.o,
	opts-common.o, toplev.o, passes.o, matrix-reorg.o,
	ipa-struct-reorg.o, PLUGIN_HEADERS): Use $(OPTS_H).
	* gcc.c (driver_handle_option): Take location_t parameter.
	(process_command, do_self_spec): Update calls to
	read_cmdline_option.
	* langhooks-def.h (lhd_handle_option): Take location_t parameter.
	* langhooks.c (lhd_handle_option): Take location_t parameter.
	* langhooks.h (handle_option): Take location_t parameter.
	* lto-opts.c (lto_reissue_options): Update call to set_option.
	* opts-common.c (handle_option): Make static.  Take location_t
	parameter and pass it to other functions.
	(handle_generated_option): Take location_t parameter and pass it
	to other functions.
	(read_cmdline_option): Take location_t parameter and pass it to
	other functions.  Use warning_at and error_at.
	(set_option): Take location_t parameter and pass it to other
	functions.
	* opts.c (common_handle_option): Take location_t parameter and
	pass it to other functions.
	(enable_warning_as_error): Make static.  Take location_t parameter
	and pass it to other functions.
	(lang_handle_option): Take location_t parameter and pass it to
	other functions.
	(target_handle_option): Take location_t parameter.
	(read_cmdline_options, maybe_default_option,
	maybe_default_options, default_options_optimization,
	decode_options): Take location_t parameter and pass it to other
	functions.
	* opts.h: Include input.h.
	(struct cl_option_handler_func, decode_options, set_option,
	handle_generated_option, read_cmdline_option): Take location_t
	parameters.
	(handle_option, enable_warning_as_error): Remove.
	* toplev.c (toplev_main): Update call to decode_options.

ada:
	* gcc-interface/Make-lang.in (ada/misc.o): Use $(OPTS_H).
	* gcc-interface/misc.c (gnat_handle_option): Take location_t
	parameter.

c-family:
	* c-common.c (parse_optimize_options): Update call to
	decode_options.
	* c-common.h (c_common_handle_option): Update prototype.
	* c-opts.c (c_common_handle_option): Take location_t parameter and
	pass it to other functions.

cp:
	* Make-lang.in (g++spec.o): Use $(OPTS_H).

fortran:
	* Make-lang.in (gfortranspec.o): Use $(OPTS_H).
	* gfortran.h (gfc_handle_option): Take location_t parameter.
	* options.c (gfc_handle_option): Take location_t parameter.

java:
	* Make-lang.in (jvspec.o, java/lang.o): Use $(OPTS_H).
	* lang.c (java_handle_option): Take location_t parameter.

lto:
	* Make-lang.in (lto/lto.o): Use $(OPTS_H).
	* lto-lang.c (lto_handle_option): Take location_t parameter.

From-SVN: r166688
2010-11-12 23:26:56 +00:00
Jerry DeLisle
912762788e re PR fortran/45794 (ICE: Segmentation fault in gfc_conv_procedure_call)
2010-11-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/45794
	* gfortran.dg/optional_mask.f90: New test.

From-SVN: r166687
2010-11-12 23:17:24 +00:00
Jerry DeLisle
4e141305fa re PR fortran/45794 (ICE: Segmentation fault in gfc_conv_procedure_call)
2010-11-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR fortran/45794
	trans-expr.c (gfc_conv_procedure_call): Avoid NULL array spec.

From-SVN: r166686
2010-11-12 23:07:18 +00:00
Ville Voutilainen
c6c06f31ca Core 1135, 1136, 1145, 1149
Core 1135, 1136, 1145, 1149
	* method.c (defaultable_fn_check): Do not disallow defaulting a
	non-public or explicit special member function on its first
	declaration.

From-SVN: r166685
2010-11-12 17:44:18 -05:00
Tobias Grosser
f16e223735 Add -enable-cloog-backend.
* config/cloog.m4: Add -enable-cloog-backend=(isl|ppl|ppl-legacy) to
	define the cloog backend to use. Furthermore, only pass the ppllibs
	to the configure checks, if necessary.
	*configure: Regenerate.

From-SVN: r166684
2010-11-12 22:08:57 +00:00
Tobias Grosser
731d888632 Remove warning because of CLooG isl/ppl difference
* graphite-cloog-util.c (oppose_constraint,
	  cloog_matrix_to_ppl_constraint,
	  new_Constraint_System_from_Cloog_Matrix): Explicitly cast to int as
	  CLooG isl uses unsigned integers. This triggered a warning.

From-SVN: r166683
2010-11-12 22:08:48 +00:00
Tobias Grosser
0bb52d6882 Improve check for CLooG PPL Legacy.
* config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL.
	* configure: regenerate

From-SVN: r166682
2010-11-12 22:08:38 +00:00
Joern Rennecke
17f846435a re PR bootstrap/46456 (cppbuiltin.o fails to build for arm-eabi)
PR bootstrap/46456
	* cppbuiltin.c (define_builtin_macros_for_type_sizes): Split assert.

From-SVN: r166678
2010-11-12 21:43:54 +00:00
Joern Rennecke
973c37951e re PR target/46435 (cris-elf --enable-werror-always build fails)
PR target/46435
	* config/cris/cris.c (saved_regs_mentioned): Delete.
	(cris_reload_address_legitimized): Cast itype to enum reload_type.
	Remove unused variable op0p.
	(cris_rtx_costs): Cast argument 2 to rtx_cost to enum rtx_code.
	(cris_emit_movem_store): Use add_reg_note.

From-SVN: r166673
2010-11-12 20:52:33 +00:00
Joern Rennecke
046845defc re PR target/46438 (xtensa-elf --enable-werror-always build fails)
PR target/46438
	* config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use LCT_NORMAL.
	(xtensa_setup_frame_addresses, xtensa_trampoline_init): Likewise.
	(xtensa_function_arg_1): De-constify cum.
	(xtensa_expand_prologue): Use add_reg_note.

From-SVN: r166672
2010-11-12 20:07:34 +00:00
Joern Rennecke
1c71ec0872 re PR target/46437 (mcore-elf --enable-werror-always build fails)
PR target/46437
	* config/mcore/mcore.c (layout_mcore_frame): Remove unused variable
	localreg.

From-SVN: r166671
2010-11-12 19:35:17 +00:00
Tobias Grosser
aba2b02e8f Fix typo
* config/cloog.m4: Fix typo.  verison -> version.
	* configure: Regenerate.

From-SVN: r166670
2010-11-12 18:29:37 +00:00
Tobias Grosser
27882098ab Pass PPL libraries to CLooG version check
* config/cloog.m4: Pass ppl libraries to the CLooG version check.
	* configure: Regenerate.

From-SVN: r166669
2010-11-12 18:29:27 +00:00
Eric Botcazou
d16e455d84 function.c (expand_function_end): Set the locator of the prologue on the stack checking insns.
* function.c (expand_function_end): Set the locator of the prologue on
	the stack checking insns.

From-SVN: r166668
2010-11-12 18:17:41 +00:00
James Dennett
d780189f23 re PR c++/39415 (static_cast used as downcast can silently lose const)
PR c++/39415
	* typeck.c (build_static_cast_1): Convert to the target type
	when doing static_cast<cv Derived*>(Base*).

From-SVN: r166667
2010-11-12 13:00:21 -05:00
Richard Henderson
47c217252a xtensa: Convert to fma.
* config.gcc [xtensa] (extra_options): Add fused-madd.opt.
        * config/xtensa/xtensa.opt (mfused-madd): Remove.
        * config/xtensa/xtensa.c (TARGET_DEFAULT_TARGET_FLAGS): Remove
        MASK_FUSED_MADD.
        * config/xtensa/xtensa.md (fmasf4): Rename from muladdsf3; use
        * fma.
        (fnmasf4): Rename from mulsubsf3; use fma.

From-SVN: r166666
2010-11-12 09:53:36 -08:00
Joern Rennecke
f1cb6795d3 re PR target/46450 (xstormy16-elf --enable-werror-always build fails)
PR target/46450
	* config/stormy16/stormy16.c (xstormy16_expand_prologue):
	Use add_reg_note.
	(xstormy16_function_arg): Dereference cum.
	(xstormy16_expand_builtin): Use expand_normal.
	Change type of omode to enum machine_mode.
	(combine_bnp): Rename and to and_insn.

From-SVN: r166665
2010-11-12 17:46:02 +00:00
Joern Rennecke
a8ea94841c re PR target/46428 (moxie-elf --enable-werror-always build fails)
PR target/46428
	* config/moxie/moxie.c (moxie_expand_prologue): Remove unused variables.
	* config/moxie/moxie.h (HARD_REGNO_OK_FOR_BASE_P): Use unsigned
	comparison.

Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r166664
2010-11-12 17:43:21 +00:00
Joern Rennecke
02809efdd6 re PR target/46431 (fr30-elf --enable-werror-always build fails)
PR target/46431
	* config/fr30/fr30.md (*movsf_constant_store): Remove duplicated
	assignment.

From-SVN: r166663
2010-11-12 17:34:04 +00:00
Joern Rennecke
ae77ff7a03 re PR middle-end/44769 (warning for split_double when HOST_BITS_PER_WIDE_INT < BITS_PER_WORD)
PR middle-end/44769
	* final.c (split_double): Don't use BITS_PER_WORD directly in
	shift count.

From-SVN: r166662
2010-11-12 17:24:16 +00:00
Joern Rennecke
d3c176fcaf re PR target/46412 (bfin-elf --enable-werror-always build fails)
PR target/46412
	* config/bfin/bfin-protos.h (bfin_local_alignment): Update prototype.
	* config/bfin/bfin.c: Include sel-sched.h .
	(bfin_cpus): Use BFIN_CPU_UNKNOWN for last initializer element.
	(expand_interrupt_handler_prologue): Remove unused variable insn.
	(bfin_load_pic_reg): Likewise.
	(bfin_rtx_costs): Make code / outer_code variables of type
	enum rtx_code, copied from re-named parameters.
	(bfin_local_alignment): Change align argument and return type
	to unsigned.
	(bfin_adjust_cost): Remove unused variable insn_type.
	Declare variables at start of block.
	(struct loop_info): Rename to...
	(struct loop_info_d).
	(workaround_rts_anomaly): Change type of icode to int.
	(harmless_null_pointer_p): Cast REGNO (..) to int before comparison
	with int-typed variable.
	(note_np_check_stores): Likewise.
	(trapping_loads_p): Remove unused variable pat.
	(bfin_expand_binop_builtin): Use expand_normal.
	(bfin_expand_unop_builtin): Likewise.
	(bfin_expand_builtin): Likewise.
	Set tmode before use.

From-SVN: r166661
2010-11-12 17:15:18 +00:00
Joern Rennecke
4a6336ad33 re PR bootstrap/44756 ([meta-bug] --enable-werror-always issues)
PR bootstrap/44756
	PR build/44767
	* doc/tm.texi.in (LOCAL_ALIGNMENT): State that the type, if any,
	should be unsigned.
	(STACK_SLOT_ALIGNMENT, LOCAL_DECL_ALIGNMENT, PUSH_ROUNDING): Likewise.
	* doc/tm.texi: Regenerate.

From-SVN: r166660
2010-11-12 17:11:06 +00:00
Pat Haugen
c8967d95e7 opts-common.c (decode_cmdline_option): Initialize separate_args.
* opts-common.c (decode_cmdline_option): Initialize separate_args.

From-SVN: r166658
2010-11-12 16:36:36 +00:00
Jan Hubicka
211ceacad5 invoke.texi (early-inlining-insns): Update default.
* doc/invoke.texi (early-inlining-insns): Update default.
	* params.def (early-inlining-insns): Default to 10.

From-SVN: r166657
2010-11-12 16:29:10 +00:00
Olivier Hainque
146d930bb7 aix.h: #undef TARGET_AIX_OS before #define.
* config/rs6000/aix.h: #undef TARGET_AIX_OS before #define.

From-SVN: r166654
2010-11-12 16:04:12 +00:00
Joern Rennecke
f42865cb32 re PR rtl-optimization/46433 (var-tracking.c doesn't include tm_p.h)
PR rtl-optimization/46433
        * var-tracking.c: Include tm_p.h .

From-SVN: r166651
2010-11-12 13:20:28 +00:00
Rainer Orth
882557be02 gcc:
* config/mips/iris6.h [!IRIX_USING_GNU_LD]
	(SUPPORTS_INIT_PRIORITY): Define.

	gcc/testsuite:
	* lib/prune.exp (prune_gcc_output): Ignore IRIX 6 linker multiline
	warning.
	* g++.dg/abi/packed1.C (struct INNER): Ignore warning on
	mips-sgi-irix*.
	* g++.dg/cpp/_Pragma1.C: Skip on mips-sgi-irix*.
	* gcc.target/mips/call-3.c: Add dg-require-visibility.

From-SVN: r166648
2010-11-12 10:55:34 +00:00
Joern Rennecke
3f02a5f3d3 re PR target/46430 (avr-elf --enable-werror-always build fails)
PR target/46430
	* config/avr/avr-protos.h (avr_return_addr_rtx): Update prototype.
	* config/avr/driver-avr.c (avr_device_to_arch): Always return value.
	(avr_device_to_data_start, avr_device_to_startfiles): Likewise.
	(avr_device_to_devicelib): Likewise.
	* config/avr/avr.md (zero_extendqihi2): Put variable declarations
	into block.
	(zero_extendqisi2, zero_extendhisi2, zero_extendqidi2): Likewise.
	(zero_extendhidi2, zero_extendsidi2): Likewise.
	* config/avr/avr.c (avr_num_arg_regs): Constify type.
	(avr_return_addr_rtx): De-constify tem.
	(avr_rotate_bytes): Move declarations to start of block.
	Don't use variable length array.
	Put nested if/else into block.

From-SVN: r166647
2010-11-12 10:09:39 +00:00