]> gcc.gnu.org Git - gcc.git/log
gcc.git
15 years agoRemove obsolete entries from fixincludes.
Ralf Wildenhues [Tue, 15 Sep 2009 04:59:54 +0000 (04:59 +0000)]
Remove obsolete entries from fixincludes.

fixincludes/:
* inclhack.def (isc_fmod, isc_omits_with_stdc)
(nested_sys_limits, sco_math): Remove.
* tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
* tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
* tests/base/sys/limits.h: Remove.
* fixincl.x: Regenerate.

From-SVN: r151708

15 years agoDaily bump.
GCC Administrator [Tue, 15 Sep 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r151707

15 years agomep.h (JUMP_TABLES_IN_TEXT_SECTION): Define.
DJ Delorie [Mon, 14 Sep 2009 23:41:22 +0000 (19:41 -0400)]
mep.h (JUMP_TABLES_IN_TEXT_SECTION): Define.

* config/mep/mep.h (JUMP_TABLES_IN_TEXT_SECTION): Define.

* config/mep/mep.c (mep_emit_cbranch): Don't use BEQZ/BNEI in VLIW
mode.

From-SVN: r151704

15 years agobuiltins.c (expand_builtin_synchronize): Use gimple_build_asm_vec.
Richard Henderson [Mon, 14 Sep 2009 20:17:24 +0000 (13:17 -0700)]
builtins.c (expand_builtin_synchronize): Use gimple_build_asm_vec.

* builtins.c (expand_builtin_synchronize): Use gimple_build_asm_vec.
* cfgbuild.c (make_edges): Handle asm goto.
* cfglayout.c (fixup_reorder_chain): Likewise.
* cfgrtl.c (patch_jump_insn): Likewise.
* gimple-pretty-print.c (dump_gimple_asm): Likewise.
* gimple.c (gimple_build_asm_1): Add and use nlabels parameter.
(gimple_build_asm_vec): Add and use labels parameter.
(gimple_build_asm): Remove.
(walk_gimple_asm): Walk labels too.
* gimple.def (GIMPLE_ASM): Update docs.
* gimple.h: Update decls.
(struct gimple_statement_asm): Change nc to use unsigned char;
add nl member.
(gimple_asm_nlabels): New.
(gimple_asm_label_op, gimple_asm_set_label_op): New.
* gimplify.c (gimplify_asm_expr): Copy labels from ASM_EXPR
into gimple_build_asm_vec.
* jump.c (mark_jump_label_asm): New.
(mark_jump_label): Use it.
(redirect_jump_1): Handle asm goto.
(invert_jump_1): Soft fail if X is null.
* recog.c (extract_asm_operands): New.
(asm_noperands): Use it; handle asm labels.
(decode_asm_operands): Use extract_asm_operands.
(asm_operand_ok): Properly handle empty string.
* reg-stack.c (get_asm_operands_in_out): Rename from
get_asm_operand_n_inputs; use extract_asm_operands; return both
inputs and outputs by reference; update all callers.
* rtl.def (ASM_OPERANDS): Add label vector as operand 6.
* rtl.h (ASM_OPERANDS_LABEL_VEC): New.
(ASM_OPERANDS_LABEL_LENGTH, ASM_OPERANDS_LABEL): New.
(ASM_OPERANDS_SOURCE_LOCATION): Renumber.
(extract_asm_operands): Declare.
* stmt.c (expand_asm_operands): Add and use labels parameter.
(check_unique_operand_names): Likewise.
(resolve_asm_operand_names, resolve_operand_name_1): Likewise.
(expand_asm_stmt): Handle asm labels.
* tree-cfg.c (make_gimple_asm_edges): New.
(make_edges): Use it.
(cleanup_dead_labels): Handle asm labels.
(is_ctrl_altering_stmt): Likewise.
(gimple_redirect_edge_and_branch): Likewise.
* tree.def (ASM_EXPR): Add 5th operand.
* tree.h (ASM_LABELS): New.
(resolve_asm_operand_names): Update decl.

* c-parser.c (c_parser_asm_statement): Parse asm goto.
(c_parser_asm_goto_operands): New.
* c-tree.h (build_asm_expr): Update decl.
* c-typeck.c (build_asm_expr): Add and use labels parameter.
* doc/extend.texi: Document asm goto.

gcc/ada/
* gcc-interface/trans.c (Pragma_to_gnu): Use build5 for ASM_EXPR.

gcc/cp/
* cp-tree.h (finish_asm_stmt): Update decl.
* parser.c (cp_parser_asm_definition): Parse asm goto.
(cp_parser_asm_label_list): New.
* pt.c (tsubst_copy_asm_operands): Don't recurse on labels.
(tsubst_expr): Handle asm labels.
* semantics.c (finish_asm_stmt): Add and use labels parameter.

gcc/testsuite/
* c-c++-common/asmgoto-1.c, c-c++-common/asmgoto-2.c,
c-c++-common/asmgoto-3.c, gcc.c-torture/compile/asmgoto-1.c,
gcc.dg/tree-ssa/asmgoto-1.c: New files.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r151701

15 years agoexp_dbug.ads (Packed Array Encoding): Document the new encoding for the unconstrained...
Eric Botcazou [Mon, 14 Sep 2009 19:27:21 +0000 (19:27 +0000)]
exp_dbug.ads (Packed Array Encoding): Document the new encoding for the unconstrained case.

* exp_dbug.ads (Packed Array Encoding): Document the new encoding for
the unconstrained case.
* gcc-interfaces/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Implement
the encoding.  Do not give a name to the pointer type to the XUT type.
* gcc-interfaces/utils.c (gnat_pushdecl): Propagate DECL_ORIGINAL_TYPE
for fat pointer types, if any.  Make sure DECL_ARTIFICIAL is cleared
on nodes with DECL_ORIGINAL_TYPE set.
(update_pointer_to): Set DECL_ORIGINAL_TYPE to the original pointer
for fat pointer types.  Make sure DECL_ARTIFICIAL is cleared.

From-SVN: r151697

15 years agoSquash commit of EH in gimple
Richard Henderson [Mon, 14 Sep 2009 19:18:58 +0000 (12:18 -0700)]
Squash commit of EH in gimple

From-SVN: r151696

15 years agomips-protos.h (mips_cfun_has_cprestore_slot_p): Declare.
Richard Sandiford [Mon, 14 Sep 2009 18:52:16 +0000 (18:52 +0000)]
mips-protos.h (mips_cfun_has_cprestore_slot_p): Declare.

gcc/
* config/mips/mips-protos.h (mips_cfun_has_cprestore_slot_p): Declare.
(mips_cprestore_address_p): Likewise.
(mips_save_gp_to_cprestore_slot): Likewise.
(mips_restore_gp): Rename to...
(mips_restore_gp_from_cprestore_slot): ...this.
(mips_must_initialize_gp_p): Declare.
(mips_emit_save_slot_move): Likewise.
(mips_output_load_label): Return nothing.
(mips_eh_uses): Declare.
* config/mips/mips.h (TARGET_SPLIT_CALLS): Require epilogue_completed.
(TARGET_CPRESTORE_DIRECTIVE): New macro.
(TARGET_ABSOLUTE_JUMPS): Likewise.
(EH_USES): Likewise.
(FIRST_PSEUDO_REGISTER): Update comment.
(MIPS_ABSOLUTE_JUMP): New macro, extracted from...
(MIPS_CALL): ...here.
(REGISTER_NAMES): Add $cprestore.
* config/mips/mips.c (machine_function): Remove has_gp_insn_p.
Add load_label_length, has_inflexible_gp_insn_p,
has_flexible_gp_insn_p, must_initialize_gp_p and
must_restore_gp_when_clobbered_p.
(mips_expand_call): Don't generate split instructions here.
(mips_split_call): Update the call to mips_restore_gp after
the above name change.
(mips16_cfun_returns_in_fpr_p): Move earlier in file.
(mips_find_gp_ref): New function.
(mips_insn_has_inflexible_gp_ref_p): Likewise.
(mips_cfun_has_inflexible_gp_ref_p): Likewise.
(mips_insn_has_flexible_gp_ref_p): Likewise.
(mips_cfun_has_flexible_gp_ref_p): Likewise.
(mips_function_has_gp_insn): Delete.
(mips_global_pointer): Drop the df_regs_ever_live_p check.
Use the new functions above.  Only return INVALID_REGNUM
for TARGET_ABSOLUTE_JUMPS.
(mips_must_initialize_gp_p): New function.
(mips_get_cprestore_base_and_offset): New function, extracted from...
(mips_cprestore_slot): ...here.  Take a bool parameter.
(mips_cfun_has_cprestore_slot_p): New function.
(mips_cprestore_address_p): Likewise.
(mips_save_gp_to_cprestore_slot): Likewise.
(mips_restore_gp): Rename to...
(mips_restore_gp_from_cprestore_slot): ...this.  Assert
epilogue_completed.  Update the call to mips_cprestore_slot.
Test cfun->machine->must_restore_gp_when_clobbered_p.
(mips_direct_save_slot_move_p): New function.
(mips_emit_save_slot_move): Likewise.
(mips_output_cplocal): Test mips_must_initialize_gp_p () instead
of cfun->machine->global_pointer.
(mips_output_function_prologue): Check mips_must_initialize_gp_p ().
(mips_save_reg): Use mips_emit_save_slot_move.
(mips_expand_prologue): Set must_initialize_gp_p.
Use mips_cfun_has_cprestore_slot_p.  Use gen_potential_cprestore
for all cprestore saves.  Emit a use_cprestore instruction after
setting up the cprestore slot.
(mips_restore_reg): Use mips_emit_save_slot_move.
(mips_process_load_label): New function.
(mips_load_label_length): Likewise.
(mips_output_load_label): Don't return asm: output it here instead.
Use mips_process_load_label.
(mips_adjust_insn_length): Adjust the length of branch instructions
that have length MAX_PIC_BRANCH_LENGTH.
(mips_output_conditional_branch): Update the call to
mips_output_load_label.  Assume the branch target is OPERANDS[0]
rather than OPERANDS[1].  Use MIPS_ABSOLUTE_JUMP for absolute jumps.
(mips_output_order_conditional_branch): Swap the meaning of
OPERANDS[0] and OPERANDS[1].
(mips_variable_issue): Don't count ghost instructions.
(mips_expand_ghost_gp_insns): New function.
(mips_reorg): Rerun mips_reorg_process_insns if it returns true.
(mips_output_mi_thunk): Set must_initialize_gp_p.
(mips_eh_uses): New function.
* config/mips/predicates.md (cprestore_save_slot_operand)
(cprestore_load_slot_operand): New predicates.
* config/mips/mips.md (UNSPEC_POTENTIAL_CPRESTORE): New unspec.
(UNSPEC_MOVE_GP): Likewise.
(UNSPEC_CPRESTORE, UNSPEC_RESTORE_GP, UNSPEC_EH_RETURN)
(UNSPEC_CONSTTABLE_INT, UNSPEC_CONSTTABLE_FLOAT): Bump to make room.
(CPRESTORE_SLOT_REGNUM): New register.
(MAX_PIC_BRANCH_LENGTH): New constant.
(jal_macro): Use MIPS_ABSOLUTE_JUMPS.
(length): Use MAX_PIC_BRANCH_LENGTH as a placeholder for PIC long
branches.  Fix commentary.
(loadgp_newabi_<mode>): Change from unspec_volatile to unspec.
Only split if mips_must_initialize_gp_p; expand to nothing otherwise.
Change type to "ghost".
(loadgp_absolute_<mode>): Likewise.
(loadgp_rtp_<mode>): Likewise.
(copygp_mips16): Likewise.
(loadgp_blockage): Remove redundant mode attribute.
(potential_cprestore): New instruction.
(cprestore): Turn into an unspec set.
(use_cprestore): New instruction.
(*branch_fp): Swap operands 0 and 1.  Remove redundant mode attribute.
(*branch_fp_inverted): Likewise.
(*branch_order<mode>): Likewise.
(*branch_order<mode>_inverted): Likewise.
(*branch_equality<mode>): Likewise.
(*branch_equality<mode>_inverted): Likewise.
(*branch_bit<bbv><mode>): Likewise.
(*branch_bit<bbv><mode>_inverted): Likewise.
(*branch_equality<mode>_mips16): Remove redundant mode.
(jump): Turn into a define_expand.
(*jump_absolute): New instruction.
(*jump_pic): Likewise.
(*jump_mips16): Rename previously-unnamed pattern.  Remove
redundant mode attribute.
(restore_gp): Split on epilogue_completed rather than
reload_completed.  Change type to "ghost".
(move_gp<mode>): New instruction.
* config/mips/mips-dsp.md (mips_bposge): Swap operands 0 and 1.
Remove redundant mode attribute.
* config/mips/mips-ps-3d.md (bc1any4t): Likewise.
(bc1any4f, bc1any2t, bc1any2f): Likewise.
(*branch_upper_lower, *branch_upper_lower_inverted): Likewise.

gcc/testsuite/
* gcc.target/mips/branch-helper.h: New file.
* gcc.target/mips/branch-2.c,
* gcc.target/mips/branch-3.c,
* gcc.target/mips/branch-4.c,
* gcc.target/mips/branch-5.c,
* gcc.target/mips/branch-6.c,
* gcc.target/mips/branch-7.c,
* gcc.target/mips/branch-8.c,
* gcc.target/mips/branch-9.c,
* gcc.target/mips/branch-10.c,
* gcc.target/mips/branch-11.c,
* gcc.target/mips/branch-12.c,
* gcc.target/mips/branch-13.c,
* gcc.target/mips/branch-14.c,
* gcc.target/mips/branch-15.c: New tests.

From-SVN: r151695

15 years agore PR libstdc++/41037 (dec not set in cerr flags)
Paolo Carlini [Mon, 14 Sep 2009 17:01:05 +0000 (17:01 +0000)]
re PR libstdc++/41037 (dec not set in cerr flags)

2009-09-14  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/41037
* src/ios_init.cc (ios_base::Init::Init): Properly initialize cerr
and wcerr flags.
* testsuite/27_io/objects/char/41037.cc: New.
* testsuite/27_io/objects/wchar_t/41037.cc: Likewise.

From-SVN: r151692

15 years agoFix PR 41210 & 41331 on powerpc
Michael Meissner [Mon, 14 Sep 2009 16:59:12 +0000 (16:59 +0000)]
Fix PR 41210 & 41331 on powerpc

From-SVN: r151691

15 years agobfin.c (bfin_expand_builtin, [...]): Force constants to registers for the operands.
Bernd Schmidt [Mon, 14 Sep 2009 13:05:02 +0000 (13:05 +0000)]
bfin.c (bfin_expand_builtin, [...]): Force constants to registers for the operands.

gcc/
* config/bfin/bfin.c (bfin_expand_builtin,
case BFIN_BUILTIN_MULT_1X32X32): Force constants to registers for the
operands.
From Jie Zhang <jie.zhang@analog.com>:
* config/bfin/bfin.c (bfin_expand_builtin): Initialize icodes
before use in two places.
* config/bfin/bfin.md (AREG): Define mode iterator.
(reload_in, reload_out): Use mode iterator AREG.

gcc/testsuite/
* gcc.target/bfin/20090914-1.c: New test.
* gcc.target/bfin/20090914-2.c: New test.
* gcc.target/bfin/20090914-3.c: New test.

From-SVN: r151687

15 years agogcc/
Bernd Schmidt [Mon, 14 Sep 2009 12:05:42 +0000 (12:05 +0000)]
gcc/
From Jie Zhang <jie.zhang@analog.com>:
* config/bfin/bfin.c (bfin_expand_prologue): Ask do_link to
save FP and RETS with saveall attribute.
(bfin_expand_epilogue): Ask do_unlink to restore FP and RETS
with saveall attribute.

gcc/testsuite/
From Jie Zhang <jie.zhang@analog.com>:
* gcc.target/bfin/saveall.c: New test.

From-SVN: r151686

15 years agobfin.c (bfin_longcall_p): Don't use short calls for weak symbols.
Bernd Schmidt [Mon, 14 Sep 2009 11:13:14 +0000 (11:13 +0000)]
bfin.c (bfin_longcall_p): Don't use short calls for weak symbols.

* config/bfin/bfin.c (bfin_longcall_p): Don't use short calls for weak
symbols.

From-SVN: r151685

15 years ago20080410-1.c: Remove obsolete -fira option.
Andrew Stubbs [Mon, 14 Sep 2009 10:41:03 +0000 (10:41 +0000)]
20080410-1.c: Remove obsolete -fira option.

2009-09-14  Andrew Stubbs  <ams@codesourcery.com>

* gcc.target/sh/20080410-1.c: Remove obsolete -fira option.

From-SVN: r151684

15 years agoFix latest entry
Eric Botcazou [Mon, 14 Sep 2009 10:34:17 +0000 (10:34 +0000)]
Fix latest entry

From-SVN: r151683

15 years agoatomicity.h (__exchange_and_add): Set earlyclobber constraint.
Andrew Stubbs [Mon, 14 Sep 2009 10:18:41 +0000 (10:18 +0000)]
atomicity.h (__exchange_and_add): Set earlyclobber constraint.

2009-09-14  Andrew Stubbs  <ams@codesourcery.com>

* config/cpu/sh/atomicity.h (__exchange_and_add): Set earlyclobber
constraint.

From-SVN: r151682

15 years agore PR bootstrap/41350 (FreeBSD bootstrap failure: unimplemented: Multiple EH personal...
Richard Guenther [Mon, 14 Sep 2009 09:38:55 +0000 (09:38 +0000)]
re PR bootstrap/41350 (FreeBSD bootstrap failure: unimplemented: Multiple EH personalities are supported only with assemblers supporting .cfi.personality directive)

2009-09-14  Richard Guenther  <rguenther@suse.de>

PR middle-end/41350
* dwarf2out.c (dwarf2out_begin_prologue): Adjust non-CFI asm
EH personality path.

* g++.dg/debug/dwarf-eh-personality-1.C: New testcase.

From-SVN: r151681

15 years agoDaily bump.
GCC Administrator [Mon, 14 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r151679

15 years agolanghooks-def.h (LANG_HOOKS_EH_RUNTIME_TYPE): Define.
Richard Guenther [Sun, 13 Sep 2009 19:40:33 +0000 (19:40 +0000)]
langhooks-def.h (LANG_HOOKS_EH_RUNTIME_TYPE): Define.

2009-09-13  Richard Guenther  <rguenther@suse.de>
Rafael Avila de Espindola  <espindola@google.com>

* langhooks-def.h (LANG_HOOKS_EH_RUNTIME_TYPE): Define.
(LANG_HOOKS_EH_PERSONALITY): Likewise.
(LANG_HOOKS_INITIALIZER): Adjust.
(lhd_pass_through_t): Declare.
* langhooks.h (struct lang_hooks): Add eh_runtime_type and
eh_personality.
* langhooks.c (lhd_pass_through_t): New function.

        * dwarf2out.c (output_call_frame_info, dwarf2out_do_cfi_startproc,
dwarf2out_begin_prologue): Use personality from current_function_decl.
        * expr.h (get_personality_function): Declare.
* expr.c (get_personality_function): New function.
(build_personality_function): Likewise.
        * libfuncs.h (libfunc_index): Remove LTI_eh_personality.
        (eh_personality_libfunc): Remove.
        * optabs.c (build_libfunc_function): New function split out from ...
(init_one_libfunc): ... here.
        * tree.h (DECL_FUNCTION_PERSONALITY): New.
        (tree_function_decl): Add personality.
(lhd_gcc_personality): Declare.
(build_personality_function): Likewise.
* tree.c (gcc_eh_personality_decl): New.
(lhd_gcc_personality): New function.
* except.h (lang_eh_runtime_type): Remove.
(enum eh_personality_kind): New.
(build_personality_function): Declare.
(function_needs_eh_personality): Declare.
        * except.c (lang_eh_runtime_type): Remove.
(function_needs_eh_personality): New function.
(add_type_for_runtime): Call lang_hooks.type_for_runtime instead.
        (sjlj_emit_function_enter, output_function_exception_table):
        Use personality from current_function_decl.
* tree-eh.c (lower_eh_constructs): Set DECL_FUNCTION_PERSONALITY.
* tree-inline.c (tree_can_inline_p): Do not inline across different
EH personalities.
(expand_call_inline): Likewise.  Adjust the callers EH personality.
(tree_function_versioning): Copy DECL_FUNCTION_PERSONALITY.
* cgraph.c (cgraph_add_new_function): Set DECL_FUNCTION_PERSONALITY.
* Makefile.in (cgraph.o): Add $(EXCEPT_H) dependency.
(c-parser.o): Likewise

* c-tree.h (c_eh_initialized_p): Remove.
(c_maybe_initialize_eh): Likewise.
* c-decl.c (finish_decl): Don't call c_maybe_initialize_eh.
(finish_decl): Don't call c_maybe_initialize_eh.
(c_eh_initialized_p): Remove.
(c_maybe_initialize_eh): Likewise.
        * c-parser.c (c_parser_omp_construct): Likewise.
(c_parse_file): Initialize exception handling.

objc/
* objc-act.c (objc_eh_runtime_type): Export.
(objc_init_exceptions): Remove.  Move warning code ...
(objc_begin_try_stmt): ... here
(objc_build_throw_stmt): ... and here.
(objc_eh_personality_decl): New.
(objc_eh_personality): New function.
* objc-act.h (objc_eh_runtime_type): Declare.
(objc_eh_personality): Likewise.
* objc-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define.
(LANG_HOOKS_EH_PERSONALITY): Likewise.

cp/
* except.c (init_exception_processing): Do not set
lang_eh_runtime_type.
(choose_personality_routine): Do not set eh_personality_decl,
set pragma_java_exceptions.
* cp-lang.c (LANG_HOOKS_EH_RUNTIME_TYPE): Define.
(LANG_HOOKS_EH_PERSONALITY): Likewise.
(cp_eh_personality_decl): New.
(cp_eh_personality): Likewise.
* Make-lang.in (cp-lang.o): Add $(EXPR_H) and $(EXCEPT_H)
dependencies.

java/
* decl.c (do_nothing): Remove.
(java_init_decl_processing): Do not set lang_eh_runtime_type.
* Make-lang.in (lang.o): Add $(EXCEPT_H) dependency.
* lang.c (java_eh_personality): New.
(java_eh_personality_decl): Likewise.
(LANG_HOOKS_EH_PERSONALITY): Define.

ada/
* gcc-interface/misc.c (gnat_init_gcc_eh): Do not set
lang_eh_runtime_type.
(LANG_HOOKS_EH_PERSONALITY): Define.
(gnat_eh_personality_decl): New.
(gnat_eh_personality): Likewise.
* Make-lang.in (misc.o): Add gt-ada-misc.h dependency.
* config-lang.in (gtfiles): Add misc.c.

fortran/
* f95-lang.c (gfc_maybe_initialize_eh): Do not init
eh_personality_libfunc.

Co-Authored-By: Rafael Avila de Espindola <espindola@google.com>
From-SVN: r151676

15 years agoconfig.host: Set for x64 mingw the option use_long_long_for_widest_fast_int to yes.
Kai Tietz [Sun, 13 Sep 2009 16:59:47 +0000 (16:59 +0000)]
config.host: Set for x64 mingw the option use_long_long_for_widest_fast_int to yes.

2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

        * config.host: Set for x64 mingw the option
        use_long_long_for_widest_fast_int to yes.

From-SVN: r151674

15 years agooptimize.c (build_delete_destructor_body): New function.
Wei Guozhi [Sun, 13 Sep 2009 15:06:47 +0000 (15:06 +0000)]
optimize.c (build_delete_destructor_body): New function.

* cp/optimize.c (build_delete_destructor_body): New function.
(maybe_clone_body): Call build_delete_destructor_body for
deleting destructor.

From-SVN: r151673

15 years agoChanglog libcpp
Kai Tietz [Sun, 13 Sep 2009 13:08:20 +0000 (13:08 +0000)]
Changlog libcpp

2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

* configure.ac: Set for i?86-w64-mingw*
need_64bit_hwint to yes.
* configure: Regenerated.

ChangeLog gcc

2009-09-13  Kai Tietz  <kai.tietz@onevision.com>

* config.gcc (tm_file): Remove i386/biarch32.h
for i?86-w64-mingw* case.
(i?86-*-mingw* andx86_64-*-mingw*): Add multilib
support.
* config.host: Set for cygwin and x86/x64 mingw the
option use_long_long_for_widest_fast_int to yes.

From-SVN: r151672

15 years agotree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
Eric Botcazou [Sun, 13 Sep 2009 10:46:11 +0000 (10:46 +0000)]
tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.

* tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
* dbxout.c (dbxout_function_end): Do not test DECL_IGNORED_P.
(dbxout_begin_function): Likewise.
* final.c (dwarf2_debug_info_emitted_p): New predicate.
(final_start_function): Do not emit debug info if DECL_IGNORED_P is
set on the function.
(final_end_function): Likewise.
(final_scan_insn): Likewise.
(rest_of_handle_final): Likewise.
* varasm.c (assemble_start_function): Likewise.
* config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise.

From-SVN: r151670

15 years agore PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advan...
Jerry DeLisle [Sun, 13 Sep 2009 03:44:34 +0000 (03:44 +0000)]
re PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advancing))

2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41328
* gfortran.dg/cr_lf.f90: New test.

From-SVN: r151666

15 years agore PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advan...
Jerry DeLisle [Sun, 13 Sep 2009 03:41:41 +0000 (03:41 +0000)]
re PR fortran/41328 (bad iostat when reading DOS file in a character array (non-advancing))

2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41328
* io/transfer.c (read_sf): Adjust fbuf position and do proper
fbuf reads to traverse CR, CR-LF, and LF style line ends.

From-SVN: r151665

15 years agoDaily bump.
GCC Administrator [Sun, 13 Sep 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r151664

15 years agodbgcnt.c (dbg_cnt_process_single_pair): constify.
Jason Merrill [Sat, 12 Sep 2009 19:46:45 +0000 (15:46 -0400)]
dbgcnt.c (dbg_cnt_process_single_pair): constify.

gcc/
* dbgcnt.c (dbg_cnt_process_single_pair): constify.
* opts.c (common_handle_option): constify.
gcc/cp/
* repo.c (extract_string, get_base_filename, init_repo): constify.
libcpp/
* directives.c (cpp_define): constify.

From-SVN: r151661

15 years ago* doc/install.texi (avr): Remove obsolete reference site.
Gerald Pfeifer [Sat, 12 Sep 2009 18:56:20 +0000 (18:56 +0000)]
* doc/install.texi (avr): Remove obsolete reference site.

From-SVN: r151658

15 years ago* doc/install.texi (Binaries): Adjust AIX link.
Gerald Pfeifer [Sat, 12 Sep 2009 16:55:00 +0000 (16:55 +0000)]
* doc/install.texi (Binaries): Adjust AIX link.

From-SVN: r151656

15 years agoinvoke.texi (-fstrict-aliasing): Correct two examples.
Akim Demaille [Sat, 12 Sep 2009 15:41:59 +0000 (15:41 +0000)]
invoke.texi (-fstrict-aliasing): Correct two examples.

* doc/invoke.texi (-fstrict-aliasing): Correct two examples.
Use an imperative sentence.

From-SVN: r151654

15 years agore PR fortran/41219 (libgfortran build warnings)
Jerry DeLisle [Sat, 12 Sep 2009 15:08:27 +0000 (15:08 +0000)]
re PR fortran/41219 (libgfortran build warnings)

2009-09-12  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/41219
* io/write.c (write_a_char4): Use correct type for crlf constant.

From-SVN: r151653

15 years agoMAINTAINERS (Write After Approval): Update my e-mail address, and move from from...
Joern Rennecke [Sat, 12 Sep 2009 12:46:40 +0000 (12:46 +0000)]
MAINTAINERS (Write After Approval): Update my e-mail address, and move from from here...

        * MAINTAINERS (Write After Approval): Update my e-mail address,
        and move from from here...
        (Waiting for paperwork): To here.

From-SVN: r151652

15 years ago* MAINTAINERS (Write After Approval): Update my e-mail address.
Joern Rennecke [Sat, 12 Sep 2009 12:26:42 +0000 (12:26 +0000)]
* MAINTAINERS (Write After Approval): Update my e-mail address.

From-SVN: r151651

15 years agogsstruct.def (DEFGSSTRUCT): Remove printable-name argument...
Richard Henderson [Sat, 12 Sep 2009 05:49:09 +0000 (22:49 -0700)]
gsstruct.def (DEFGSSTRUCT): Remove printable-name argument...

* gsstruct.def (DEFGSSTRUCT): Remove printable-name argument; add
        structure-name and has-tree-operands arguments; update all entries.
        * gimple.def (DEFGSCODE): Replace 3rd argument with GSS_symbol;
        update all entries.
        * gimple.c (gimple_ops_offset_): Use HAS_TREE_OP argument.
        (gsstruct_code_size): New.
        (gss_for_code_): New.
        (gss_for_code): Remove.
        (gimple_size): Rewrite using gsstruct_code_size.
        (gimple_statement_structure): Move to gimple.h.
        * gimple.h (gimple_ops_offset_, gss_for_code_): Declare.
        (gss_for_code, gimple_statement_structure): New.
        (gimple_ops): Use new arrays; tidy.

From-SVN: r151650

15 years agoDaily bump.
GCC Administrator [Sat, 12 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r151649

15 years agopredicates.md (symbolic_operand): Require a CONST symbolic operand to be a PLUS expre...
John David Anglin [Fri, 11 Sep 2009 22:42:36 +0000 (22:42 +0000)]
predicates.md (symbolic_operand): Require a CONST symbolic operand to be a PLUS expression.

* config/pa/predicates.md (symbolic_operand): Require a CONST symbolic
operand to be a PLUS expression.
* config/pa/pa.c (pa_secondary_reload): Likewise.

From-SVN: r151646

15 years ago* combine.c (propagate_for_debug_subst): Call wrap_constant on top.
Jakub Jelinek [Fri, 11 Sep 2009 19:40:00 +0000 (21:40 +0200)]
* combine.c (propagate_for_debug_subst): Call wrap_constant on top.

From-SVN: r151644

15 years agoprint-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of XEXP (in_rtx, 8).
Jakub Jelinek [Fri, 11 Sep 2009 19:39:10 +0000 (21:39 +0200)]
print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of XEXP (in_rtx, 8).

* print-rtl.c (print_rtx): Use JUMP_LABEL (in_rtx) instead of
XEXP (in_rtx, 8).

From-SVN: r151643

15 years ago2009-09-11 Johannes Singler <singler@ira.uka.de>
Johannes Singler [Fri, 11 Sep 2009 16:33:58 +0000 (16:33 +0000)]
2009-09-11  Johannes Singler  <singler@ira.uka.de>

        * include/parallel/multiway_merge.h
        (multiway_merge_exact_splitting): Deallocate borders correctly.
        (parallel_multiway_merge): Remove unnecessarily complicated
        allocation, random access iterators are default-constructible;
        deallocate ne_seqs correctly.

From-SVN: r151640

15 years agoFrom Jie Zhang <jie.zhang@analog.com>:
Bernd Schmidt [Fri, 11 Sep 2009 16:12:57 +0000 (16:12 +0000)]
From Jie Zhang <jie.zhang@analog.com>:

* doc/extend.texi (node Function Attributes): Document l2
function attribute.
(node Blackfin Variable Attributes): Document l2 variable attributes.

From-SVN: r151639

15 years agoconfigure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
Loren J. Rittle [Fri, 11 Sep 2009 15:37:40 +0000 (15:37 +0000)]
configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.

2009-09-11  Loren J. Rittle  <ljrittle@acm.org>

* configure.ac (*-*-freebsd*): Enable check for __stack_chk_fail.
* configure: Regenerate.

From-SVN: r151638

15 years agoconfig.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler...
Loren J. Rittle [Fri, 11 Sep 2009 15:29:47 +0000 (15:29 +0000)]
config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit to match the system compiler's configuration at...

2009-09-11  Loren J. Rittle  <ljrittle@acm.org>

* config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit
to match the system compiler's configuration at inflection point.
Add comment to remark a remaining difference with system compiler.

From-SVN: r151636

15 years agore PR libstdc++/41316 ([C++0x] forward_list::sort violates strict aliasing rules)
Paolo Carlini [Fri, 11 Sep 2009 13:47:36 +0000 (13:47 +0000)]
re PR libstdc++/41316 ([C++0x] forward_list::sort violates strict aliasing rules)

2009-09-11  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/41316
* include/bits/forward_list.h (_Fwd_list_node_base<>::_M_sort_after):
Remove.
(forward_list<>::sort(_Comp)): Only declare.
(forward_list<>::sort()): Forward to the latter.
* include/bits/forward_list.tcc (_Fwd_list_node_base<>::_M_sort_after):
Remove definition.
(forward_list<>::sort(_Comp)): Define.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line number.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.

From-SVN: r151635

15 years agoFrom Jie Zhang <jie.zhang@analog.com>:
Bernd Schmidt [Fri, 11 Sep 2009 13:32:31 +0000 (13:32 +0000)]
From Jie Zhang <jie.zhang@analog.com>:

* config/bfin/bfin.c (bfin_expand_call): Handle L2 functions.
(bfin_handle_l2_attribute): New.
(bfin_attribute_table): Add l2 attribute.

From-SVN: r151634

15 years ago* gcc.dg/pr39779.c: Remove for real.
Uros Bizjak [Fri, 11 Sep 2009 11:21:26 +0000 (13:21 +0200)]
* gcc.dg/pr39779.c: Remove for real.

From-SVN: r151632

15 years agore PR c++/41275 (ICE: expand_expr_real_1, at expr.c:8416)
Michael Matz [Fri, 11 Sep 2009 11:08:38 +0000 (11:08 +0000)]
re PR c++/41275 (ICE: expand_expr_real_1, at expr.c:8416)

PR middle-end/41275
* tree-inline.c (remap_decls): Don't put DECL_EXTERNAL decls
on the local_decls list.

testsuite/
* g++.dg/tree-ssa/pr41275.C: New test.

From-SVN: r151631

15 years agore PR debug/41276 (Segmentation fault in lookup_page_table_entry)
Alexandre Oliva [Fri, 11 Sep 2009 07:44:06 +0000 (07:44 +0000)]
re PR debug/41276 (Segmentation fault in lookup_page_table_entry)

PR debug/41276
PR debug/41307
* cselib.c (cselib_expand_value_rtx_cb): Document callback
interface.
(cselib_expand_value_rtx_1): Use callback for SUBREGs.  Adjust
for VALUEs, to implement the documented interface.
* var-tracking.c (vt_expand_loc_callback): Handle SUBREGs.
Adjust for VALUEs and anything else, to implement the
documented interface.

From-SVN: r151628

15 years agoOverride all per-target *_LINK variables correctly.
Ralf Wildenhues [Fri, 11 Sep 2009 05:02:20 +0000 (05:02 +0000)]
Override all per-target *_LINK variables correctly.

boehm-gc/:
* Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
(gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
so that library dependency resolution works with portable make.
* Makefile.in: Regenerate.

libgfortran/:
* Makefile.am (libgfortranbegin_la_LINK): New.
* Makefile.in: Regenerate.

libgomp/:
* Makefile.am (libgomp_la_LINK): New.
* Makefile.in: Regenerate.

libjava/:
* Makefile.am (libgij_la_LINK, libjvm_la_LINK): New.
* Makefile.in: Regenerate.

libstdc++-v3/:
* src/Makefile.am (libstdc___la_LINK): New.
* src/Makefile.in: Regenerate.

From-SVN: r151627

15 years agors6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired vector...
Nathan Froyd [Fri, 11 Sep 2009 03:20:37 +0000 (03:20 +0000)]
rs6000.h (DATA_ALIGNMENT): Check that we are dealing with actual SPE/paired vector modes before using...

* config/rs6000/rs6000.h (DATA_ALIGNMENT): Check that we are dealing
with actual SPE/paired vector modes before using 64-bit alignment.
Check that TYPE is a REAL_TYPE for TARGET_E500_DOUBLE.

From-SVN: r151626

15 years agomep.md (eh_epilogue): Defer until after epilogue is emitted.
DJ Delorie [Fri, 11 Sep 2009 01:06:36 +0000 (21:06 -0400)]
mep.md (eh_epilogue): Defer until after epilogue is emitted.

* config/mep/mep.md (eh_epilogue): Defer until after epilogue is
emitted.

* config/mep/mep.h (LEGITIMATE_CONSTANT_P): New.
* config/mep/mep.c (mep_legitimate_constant_p): New.
* config/mep/mep-protos.h: Prototype it.

From-SVN: r151625

15 years agoDaily bump.
GCC Administrator [Fri, 11 Sep 2009 00:16:42 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r151624

15 years agore PR fortran/41242 (PPC call rejected (related to user-defined assignment?))
Janus Weil [Thu, 10 Sep 2009 22:47:03 +0000 (00:47 +0200)]
re PR fortran/41242 (PPC call rejected (related to user-defined assignment?))

2009-09-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41242
* resolve.c (resolve_ordinary_assign): Don't call resolve_code,
to avoid that subsequent codes are resolved more than once.
(resolve_code): Make sure that type-bound assignment operators are
resolved correctly.

2009-09-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41242
* gfortran.dg/proc_ptr_comp_21.f90: New.

From-SVN: r151620

15 years ago* print-rtl.c (print_rtx): Fix JUMP_LABEL index.
Richard Henderson [Thu, 10 Sep 2009 21:46:31 +0000 (14:46 -0700)]
* print-rtl.c (print_rtx): Fix JUMP_LABEL index.

From-SVN: r151619

15 years agotree.c (chain_index): New fn.
Jason Merrill [Thu, 10 Sep 2009 21:40:06 +0000 (17:40 -0400)]
tree.c (chain_index): New fn.

* tree.c (chain_index): New fn.
* tree.h: Declare it.

From-SVN: r151618

15 years agore PR fortran/31292 (ICE with module procedure interface in a procedure body)
Steven G. Kargl [Thu, 10 Sep 2009 21:22:08 +0000 (21:22 +0000)]
re PR fortran/31292 (ICE with module procedure interface in a procedure body)

2009-09-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/31292
* fortran/decl.c(gfc_match_modproc): Check that module procedures
from a module can USEd in module procedure statements in other
program units.  Update locus for better error message display.
Detect intrinsic procedures in module procedure statements.

2009-09-10  Steven G. Kargl  <kargl@gcc.gnu.org>

PR fortran/31292
* gfortran.dg/module_procedure_1.f90: New test.
* gfortran.dg/module_procedure_2.f90: Ditto.
* gfortran.dg/generic_14.f90: Move dg-error to new location.

From-SVN: r151616

15 years agogcc/testsuite:
Rainer Orth [Thu, 10 Sep 2009 20:36:19 +0000 (20:36 +0000)]
gcc/testsuite:

PR ada/18302
* ada/acats/run_all.sh (target_run): Use run_test.exp to execute
commands.
* ada/acats/run_test.exp: New file.

gcc/ada:

PR ada/18302
* gcc-interface/Make-lang.in (check-acats): Export rootme, EXPECT.

Co-Authored-By: James A. Morrison <phython@gcc.gnu.org>
From-SVN: r151614

15 years agosol2-c.c (cmn_err_length_specs): Initialize scalar_identity_flag.
Rainer Orth [Thu, 10 Sep 2009 19:13:21 +0000 (19:13 +0000)]
sol2-c.c (cmn_err_length_specs): Initialize scalar_identity_flag.

* config/sol2-c.c (cmn_err_length_specs): Initialize
scalar_identity_flag.

From-SVN: r151613

15 years agotree.h (struct tree_decl_common): Move align member earlier; move label_decl_uid...
Richard Henderson [Thu, 10 Sep 2009 18:46:07 +0000 (11:46 -0700)]
tree.h (struct tree_decl_common): Move align member earlier; move label_decl_uid member ...

* tree.h (struct tree_decl_common): Move align member earlier;
        move label_decl_uid member ...
        (struct tree_label_decl): ... here.
        (LABEL_DECL_UID): Update to match.

From-SVN: r151610

15 years agotree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, not TDF_DETAILS.
Richard Henderson [Thu, 10 Sep 2009 18:28:24 +0000 (11:28 -0700)]
tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, not TDF_DETAILS.

* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
        not TDF_DETAILS.

From-SVN: r151608

15 years agotree-cfg.c (gimple_redirect_edge_and_branch): Do gimple_try_redirect_by_replacing_jum...
Richard Henderson [Thu, 10 Sep 2009 18:28:18 +0000 (11:28 -0700)]
tree-cfg.c (gimple_redirect_edge_and_branch): Do gimple_try_redirect_by_replacing_jump test after no-op and EH tests.

* tree-cfg.c (gimple_redirect_edge_and_branch): Do
        gimple_try_redirect_by_replacing_jump test after no-op and EH tests.

From-SVN: r151607

15 years agotree-cfg.c (split_edge_bb_loc): Don't disallow placement at dest_prev if the edge...
Richard Henderson [Thu, 10 Sep 2009 18:28:11 +0000 (11:28 -0700)]
tree-cfg.c (split_edge_bb_loc): Don't disallow placement at dest_prev if the edge is complex.

* tree-cfg.c (split_edge_bb_loc): Don't disallow placement at
        dest_prev if the edge is complex.

From-SVN: r151606

15 years ago* tree-cfg.c (is_ctrl_stmt): Use a switch.
Richard Henderson [Thu, 10 Sep 2009 18:28:05 +0000 (11:28 -0700)]
* tree-cfg.c (is_ctrl_stmt): Use a switch.

From-SVN: r151605

15 years agotree-cfg.c (gimple_can_merge_blocks_p): Move label and loop latch tests earlier.
Richard Henderson [Thu, 10 Sep 2009 18:27:59 +0000 (11:27 -0700)]
tree-cfg.c (gimple_can_merge_blocks_p): Move label and loop latch tests earlier.

* tree-cfg.c (gimple_can_merge_blocks_p): Move label and
        loop latch tests earlier.

From-SVN: r151604

15 years agogimple-iterator.c (gimple_find_edge_insert_loc): Insert before GIMPLE_RETURN, not...
Richard Henderson [Thu, 10 Sep 2009 18:27:51 +0000 (11:27 -0700)]
gimple-iterator.c (gimple_find_edge_insert_loc): Insert before GIMPLE_RETURN, not after its predecessor; insert before GIMPLE_RESX.

* gimple-iterator.c (gimple_find_edge_insert_loc): Insert
        before GIMPLE_RETURN, not after its predecessor; insert
        before GIMPLE_RESX.

From-SVN: r151603

15 years agogimple-iterator.c (gimple_find_edge_insert_loc): Use gimple_seq_empty_p to test for...
Richard Henderson [Thu, 10 Sep 2009 18:01:23 +0000 (11:01 -0700)]
gimple-iterator.c (gimple_find_edge_insert_loc): Use gimple_seq_empty_p to test for no PHI nodes.

* gimple-iterator.c (gimple_find_edge_insert_loc): Use
        gimple_seq_empty_p to test for no PHI nodes.
        * tree-cfg.c (split_critical_edges): Likewise.

From-SVN: r151602

15 years ago* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.
Richard Henderson [Thu, 10 Sep 2009 18:01:15 +0000 (11:01 -0700)]
* c-common.h (c_dialect_cxx, c_dialect_objc): Boolify.

From-SVN: r151601

15 years agofinal.c (shorten_branches): Ignore DEBUG_INSN_P instructions introduced by the VTA...
Hariharan Sandanagobalane [Thu, 10 Sep 2009 16:48:54 +0000 (16:48 +0000)]
final.c (shorten_branches): Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.

* final.c (shorten_branches) : Ignore DEBUG_INSN_P instructions
introduced by the VTA branch merge.

From-SVN: r151599

15 years agoira-conflicts.c: Use fputs or putc instead of fprintf where appropriate.
Uros Bizjak [Thu, 10 Sep 2009 16:21:45 +0000 (18:21 +0200)]
ira-conflicts.c: Use fputs or putc instead of fprintf where appropriate.

* ira-conflicts.c: Use fputs or putc instead of fprintf
where appropriate.
* cfg.c: Ditto.
* toplev.c: Ditto.
* tree-switch-conversion.c: Ditto.

From-SVN: r151598

15 years agopicochip.c: Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.
Hariharan Sandanagobalane [Thu, 10 Sep 2009 16:03:53 +0000 (16:03 +0000)]
picochip.c: Ignore DEBUG_INSN_P instructions introduced by the VTA branch merge.

        * config/picochip/picochip.c : Ignore DEBUG_INSN_P instructions
        introduced by the VTA branch merge.

From-SVN: r151597

15 years agoRevert:
Uros Bizjak [Thu, 10 Sep 2009 15:14:39 +0000 (17:14 +0200)]
Revert:

2009-09-09  Uros Bizjak  <ubizjak@gmail.com>

PR rtl-optimization/39779
* expr.c (convert_modes): Return when mode == oldmode after
CONST_INTs are processed.

testsuite/ChangeLog:

Revert:
2009-09-09  Uros Bizjak <ubizjak@gmail.com>

PR rtl-optimization/39779
* gcc.dg/pr39979.c: New test.

From-SVN: r151596

15 years agomep.c (mep_encode_section_info): Copy weakness attribute and referring decl when...
Nick Clifton [Thu, 10 Sep 2009 15:04:39 +0000 (15:04 +0000)]
mep.c (mep_encode_section_info): Copy weakness attribute and referring decl when creating renamed symbol.

        * config/mep/mep.c (mep_encode_section_info): Copy weakness
        attribute and referring decl when creating renamed symbol.

From-SVN: r151595

15 years agore PR bootstrap/41245 (Bootstrap broken on I386-apple-darwin9 at revision 151373)
Iain Sandoe [Thu, 10 Sep 2009 14:32:51 +0000 (14:32 +0000)]
re PR bootstrap/41245 (Bootstrap broken on I386-apple-darwin9 at revision 151373)

PR bootstrap/41245
* compare-debug: Handle stripping of dwarf debug sections from darwin
mach-o objects.

From-SVN: r151594

15 years agore PR middle-end/41257 (Bogus error '*.LTHUNK0' aliased to undefined symbol '_ZN1CD1Ev')
Richard Guenther [Thu, 10 Sep 2009 11:42:25 +0000 (11:42 +0000)]
re PR middle-end/41257 (Bogus error '*.LTHUNK0' aliased to undefined symbol '_ZN1CD1Ev')

2009-09-10  Richard Guenther  <rguenther@suse.de>

PR middle-end/41257
* cgraphunit.c (cgraph_emit_thunks): Emit thunks only for
reachable nodes.
(cgraph_finalize_compilation_unit): Compute reachability
before emitting thunks.  Properly process aliases before
possibly removing unreachable nodes.

* g++.dg/torture/pr41257-2.C: New testcase.

From-SVN: r151592

15 years agore PR middle-end/41254 (crashed compile Qt4 gui library)
Richard Guenther [Thu, 10 Sep 2009 08:52:36 +0000 (08:52 +0000)]
re PR middle-end/41254 (crashed compile Qt4 gui library)

2009-09-10  Richard Guenther  <rguenther@suse.de>

PR middle-end/41254
* tree.c (struct free_lang_data_d): Add worklist member.
(find_decls_types_r): Push onto the worklist instead of recursing.
Handle TREE_BINFOs properly.
(find_decls_types): New function wrapped around find_decls_types_r
to process the worklist.
(find_decls_types_in_eh_region): Use it.
(find_decls_types_in_node): Likewise.
(find_decls_types_in_var): Likewise.
(free_lang_data_in_cgraph): Likewise.  Free the worklist.
* tree.h (RECORD_OR_UNION_TYPE_P): New.
(AGGREGATE_TYPE_P): Adjust.

From-SVN: r151590

15 years ago* error.c (find_typenames_r): Also add decltypes.
Jason Merrill [Thu, 10 Sep 2009 05:16:17 +0000 (01:16 -0400)]
* error.c (find_typenames_r): Also add decltypes.

From-SVN: r151586

15 years agoconfigure.ac: Check glibc version even if we have an in-tree assembler.
Jason Merrill [Thu, 10 Sep 2009 05:16:08 +0000 (01:16 -0400)]
configure.ac: Check glibc version even if we have an in-tree assembler.

* configure.ac: Check glibc version even if we have an in-tree
assembler.

From-SVN: r151585

15 years agoDaily bump.
GCC Administrator [Thu, 10 Sep 2009 00:17:52 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r151584

15 years agore PR c++/28293 (ICE on invalid typedef)
Paolo Carlini [Wed, 9 Sep 2009 23:33:38 +0000 (23:33 +0000)]
re PR c++/28293 (ICE on invalid typedef)

/cp
2009-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/28293
* decl2.c (grokfield): Check for explicit template argument lists.

/testsuite
2009-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/28293
* g++.dg/template/crash91.C: New.

From-SVN: r151581

15 years agore PR c++/28293 (ICE on invalid typedef)
Paolo Carlini [Wed, 9 Sep 2009 23:31:47 +0000 (23:31 +0000)]
re PR c++/28293 (ICE on invalid typedef)

/cp
2009-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/28293
* decl.c (grokfield): Check for explicit template argument lists.

/testsuite
2009-09-09  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/28293
* g++.dg/template/crash91.C: New.

From-SVN: r151580

15 years agomoxie.md (*movsi, [...]): Use xor to load the constant 0 when appropriate.
Anthony Green [Wed, 9 Sep 2009 22:29:13 +0000 (22:29 +0000)]
moxie.md (*movsi, [...]): Use xor to load the constant 0 when appropriate.

* config/moxie/moxie.md (*movsi, *movhi, *movqi): Use xor to load
the constant 0 when appropriate.
* config/moxie/constraints.md: Add constraint O.

* config/moxie/moxie.c (moxie_setup_incoming_varargs): Adjust
to pass up to 6 32-bit argument values in registers.
(moxie_function_arg): Ditto.
(moxie_arg_partial_bytes): Ditto.
* config/moxie/moxie.h (FUNCTION_ARG_ADVANCE): Ditto.
(REG_PARM_STACK_SPACE): Ditto.
(FUNCTION_ARG_REGNO_P): Ditto.

* config/moxie/moxie.c (moxie_expand_prologue): Use dec
instruction to allocate stack space.

From-SVN: r151579

15 years agotypesizes.cc: Remove *-*-freebsd* from both dg-do and dg-options.
Loren J. Rittle [Wed, 9 Sep 2009 21:59:40 +0000 (21:59 +0000)]
typesizes.cc: Remove *-*-freebsd* from both dg-do and dg-options.

2009-09-09  Loren J. Rittle  <ljrittle@acm.org>

* testsuite/30_threads/thread/native_handle/typesizes.cc: Remove
*-*-freebsd* from both dg-do and dg-options.

From-SVN: r151578

15 years agore PR fortran/41297 (Functions are called twice)
Richard Guenther [Wed, 9 Sep 2009 20:03:49 +0000 (20:03 +0000)]
re PR fortran/41297 (Functions are called twice)

2009-09-09  Richard Guenther  <rguenther@suse.de>

PR fortran/41297
* trans-expr.c (gfc_trans_scalar_assign): Correct typo that
left 'tmp' unused in derived type assignment.

From-SVN: r151576

15 years agors6000.md (bswapdi2_64bit): Fix unnecessarily stringent constraints.
Segher Boessenkool [Wed, 9 Sep 2009 19:50:42 +0000 (21:50 +0200)]
rs6000.md (bswapdi2_64bit): Fix unnecessarily stringent constraints.

2009-09-08  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000.md (bswapdi2_64bit): Fix
unnecessarily stringent constraints.  Fix address
calculation in the splitters.

From-SVN: r151575

15 years agostdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in the previous two patches.
Paolo Bonzini [Wed, 9 Sep 2009 19:42:21 +0000 (19:42 +0000)]
stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in the previous two patches.

config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in
the previous two patches.

libgfortran:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

libdecnumber:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

From-SVN: r151574

15 years agore PR c/39779 (ICE shifting byte to the right with constant > 7FFFFFFF)
Uros Bizjak [Wed, 9 Sep 2009 19:25:31 +0000 (21:25 +0200)]
re PR c/39779 (ICE shifting byte to the right with constant > 7FFFFFFF)

PR rtl-optimization/39779
* expr.c (convert_modes): Return when mode == oldmode after
CONST_INTs are processed.

testsuite/ChangeLog:

PR rtl-optimization/39779
* gcc.dg/pr39979.c: New test.

From-SVN: r151573

15 years agoi386.c (ix86_can_use_return_insn_p): Check for padding0, too.
Kai Tietz [Wed, 9 Sep 2009 19:05:55 +0000 (19:05 +0000)]
i386.c (ix86_can_use_return_insn_p): Check for padding0, too.

2009-09-09  Kai Tietz  <kai.tietz@onevision.com>

PR/41315
* config/i386.c (ix86_can_use_return_insn_p): Check for
padding0, too.
(ix86_expand_prologue): Take frame.padding0 into logic of
to_allocate checks.
(ix86_expand_epilogue): Likewise.

From-SVN: r151570

15 years agot-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, [...]): New variables.
Jakub Jelinek [Wed, 9 Sep 2009 18:39:52 +0000 (20:39 +0200)]
t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, [...]): New variables.

* config/t-slibgcc-elf-ver (SHLIB_MAKE_SOLINK, SHLIB_INSTALL_SOLINK):
New variables.
(SHLIB_LINK, SHLIB_INSTALL): Use them.
* config/t-slibgcc-libgcc: New file.
* config.gcc (powerpc*-*-linux*, powerpc*-*-gnu*): Use it.

From-SVN: r151568

15 years agostdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.
Paolo Bonzini [Wed, 9 Sep 2009 16:51:14 +0000 (16:51 +0000)]
stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.

2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.
Eliminate now pointless comments.

libdecnumber:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

libgfortran:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

From-SVN: r151567

15 years agore PR target/41089 (stdarg pass produces wrong code)
Martin Jambor [Wed, 9 Sep 2009 16:50:15 +0000 (18:50 +0200)]
re PR target/41089 (stdarg pass produces wrong code)

2009-09-09  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/41089
* tree-sra.c (find_var_candidates): Do not consider va_lists in
early SRA.

From-SVN: r151566

15 years agogimple.h (CASE_GIMPLE_OMP): New.
Richard Henderson [Wed, 9 Sep 2009 16:47:06 +0000 (09:47 -0700)]
gimple.h (CASE_GIMPLE_OMP): New.

* gimple.h (CASE_GIMPLE_OMP): New.
        (is_gimple_omp): Use it.
        * tree-cfg.c (is_ctrl_altering_stmt): Likewise.
        (verify_gimple_debug): Likewise.

From-SVN: r151565

15 years ago* MAINTAINERS (Reviewers): Add self as driver reviewer.
Joseph Myers [Wed, 9 Sep 2009 16:42:18 +0000 (17:42 +0100)]
* MAINTAINERS (Reviewers): Add self as driver reviewer.

From-SVN: r151564

15 years agore PR tree-optimization/41101 (ICE in compute_antic, at tree-ssa-pre.c:2419)
Richard Guenther [Wed, 9 Sep 2009 15:04:27 +0000 (15:04 +0000)]
re PR tree-optimization/41101 (ICE in compute_antic, at tree-ssa-pre.c:2419)

2009-09-09  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/41101
* tree-ssa-pre.c (maximal_set): Remove.
(compute_antic_aux): Treat the maximal set as implicitly all ones.
Defer all blocks we didn't visit at least one successor.
(add_to_exp_gen): Do not add to the maximal set.
(make_values_for_phi): Likewise.
(compute_avail): Likewise.
(init_pre): Do not allocate the maximal set.
(execute_pre): Do not dump it.

* gcc.c-torture/compile/pr41101.c: New testcase.

From-SVN: r151561

15 years agotree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is an SSA_NAME rather...
Martin Jambor [Wed, 9 Sep 2009 14:44:23 +0000 (16:44 +0200)]
tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is an SSA_NAME rather than a is_gimple_variable.

2009-09-09  Martin Jambor  <mjambor@suse.cz>

* tree-cfg.c (verify_gimple_phi): Check that gimple_phi_result is
an SSA_NAME rather than a is_gimple_variable.

From-SVN: r151560

15 years agore PR middle-end/41317 (folding causes strict aliasing violation)
Richard Guenther [Wed, 9 Sep 2009 14:35:51 +0000 (14:35 +0000)]
re PR middle-end/41317 (folding causes strict aliasing violation)

2009-09-09  Richard Guenther  <rguenther@suse.de>

PR middle-end/41317
* tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Remove
code dealing with plain pointer bases.
(maybe_fold_offset_to_reference): Likewise.
(maybe_fold_stmt_addition): Adjust.

* gcc.c-torture/execute/pr41317.c: New testcase.
* gcc.dg/tree-ssa/forwprop-11.c: XFAIL.
* gcc.dg/tree-ssa/forwprop-12.c: Likewise.

From-SVN: r151559

15 years agotree.c (free_lang_data_in_type): Do not free the type variant chains.
Richard Guenther [Wed, 9 Sep 2009 09:30:26 +0000 (09:30 +0000)]
tree.c (free_lang_data_in_type): Do not free the type variant chains.

2009-09-09  Richard Guenther  <rguenther@suse.de>

* tree.c (free_lang_data_in_type): Do not free the type variant
chains.
(free_lang_data): Merge char_type_node with its properly signed
variant.
(pass_ipa_free): Collect after freeing language specific data.

From-SVN: r151558

15 years ago* ChangeLog: Fix last entry.
François-Xavier Coudert [Wed, 9 Sep 2009 09:15:16 +0000 (09:15 +0000)]
* ChangeLog: Fix last entry.

From-SVN: r151557

15 years agore PR bootstrap/41180 (can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6)
Jack Howarth [Wed, 9 Sep 2009 08:14:36 +0000 (08:14 +0000)]
re PR bootstrap/41180 (can not build gcc 4.4.1 on Snow Leopard Mac OS X 10.6)

PR bootstrap/41180
* gcc/cp/Make-lang.in: Remove redundant code from linkage
for darwin10.

From-SVN: r151554

15 years agore PR middle-end/41268 (bootstrap is broken after r151350 (expand from tuples))
Michael Matz [Wed, 9 Sep 2009 00:43:36 +0000 (00:43 +0000)]
re PR middle-end/41268 (bootstrap is broken after r151350 (expand from tuples))

PR middle-end/41268
* cfgexpand.c (expand_gimple_stmt_1): Use an int for storing
SUBREG_PROMOTED_UNSIGNED_P, instead of a bool.
* rtl.h (struct rtx, SUBREG_PROMOTED_UNSIGNED_P): Update comments
to reflect reality.

From-SVN: r151544

15 years ago* config/mep/mep.c (conversions[]): Add "ml" pattern.
DJ Delorie [Wed, 9 Sep 2009 00:17:52 +0000 (20:17 -0400)]
* config/mep/mep.c (conversions[]): Add "ml" pattern.

From-SVN: r151543

15 years agoDaily bump.
GCC Administrator [Wed, 9 Sep 2009 00:17:01 +0000 (00:17 +0000)]
Daily bump.

From-SVN: r151542

15 years agoUse -fno-merge-debug-string for some dwarf tests
Dodji Seketeli [Tue, 8 Sep 2009 22:36:41 +0000 (22:36 +0000)]
Use -fno-merge-debug-string for some dwarf tests

Use -fno-merge-debug-string to comply with Darwin
* g++.dg/debug/dwarf2/namespace-1.C: Use -fno-merge-debug-string
and adjust.
* g++.dg/debug/dwarf2/template-func-params-6.C: Likewise.
* g++.dg/debug/dwarf2/template-func-params-7.C: Likewise.
* g++.dg/debug/dwarf2/template-params-6.C: Likewise.
* g++.dg/debug/dwarf2/pubnames-1.C: Likewise. Also, adjust to
take darwin specifics in account.

From-SVN: r151538

This page took 0.099784 seconds and 5 git commands to generate.