1. 08 Jun, 2007 3 commits
  2. 07 Jun, 2007 17 commits
    • re PR c++/32177 (g++ crashes on some valid OpenMP code) · 969c111d
      	PR c++/32177
      	* semantics.c (finish_omp_for): Call fold_build_cleanup_point_expr
      	on init, the non-decl cond operand and increment value.
      
      	* g++.dg/gomp/pr32177.C: New test.
      
      From-SVN: r125544
      Jakub Jelinek committed
    • re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings) · 1579e8d2
      2007-06-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR testsuite/25241
      
      testsuite/
      	* gcc.dg/parm-mismatch-1.c: Use dg-message for notes.
      	* gcc.dg/Wfatal.c: Use dg-message for output that is neither a
      	warning nor an error.
      	* gcc.dg/Wfatal-2.c: Likewise.
      	* gcc.dg/Werror-1.c: Likewise.
      	* gcc.dg/Werror-5.c: Likewise.
      	* gcc.dg/Werror-7.c: Likewise.
      	* gcc.dg/Werror-10.c: Likewise.
      	* gcc.dg/Werror-11.c: Likewise.
      
      From-SVN: r125543
      Manuel López-Ibáñez committed
    • team.c (gomp_team_start): Fix setting up thread_attr stack size. · 46d8fbd1
      	* team.c (gomp_team_start): Fix setting up thread_attr
      	stack size.
      
      From-SVN: r125542
      Jakub Jelinek committed
    • re PR c++/30759 (initializer-list accepted for object of non-POD type) · c1ae8be5
      gcc/
      
      2007-06-07  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/30759
      	* c-common.h (flag_cpp0x): Replaced by...
      	(cxx_dialect): ... this new variable specifying the C++ dialect that
      	is used.
      	* c-common.c (flag_cpp0x): Removed.
      	(cxx_dialect): Defined.
      	* c-cppbuiltin.c (c_cpp_builtins): flag_cpp0x rewritten in terms of
      	cxx_dialect.
      	* c-opts.c (c_common_post_options): Likewise.
      	(set_std_cxx98): Set cxx_dialect to cxx98.
      	(set_std_cxx0x): Set cxx_dialect to cxx0x.
      
      gcc/cp/
      
      2007-06-07  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/30759
      	* decl.c (check_initializer): Report an error when a brace enclosed
      	initializer is used for a non-aggregate type in C++98.
      	(redeclaration_error_message): Rewrote flag_cpp0x in terms of
      	cxx_dialect.
      	(grokdeclarator): Likewise.
      	(move_fn_p): Likewise.
      	* typeck.c (check_return_expr): Likewise.
      	* call.c (reference_binding): Likewise.
      	* error.c (cp_cpp_error): Likewise.
      	* pt.c (check_default_tmpl_args): Likewise.
      	(tsubst): Likewise.
      	* lex.c (init_reswords): Likewise.
      	* parser.c (p_parser_primary_expression): Likewise.
      	(TOKEN_PRECEDENCE): Likewise.
      	(cp_parser_init_declarator): Likewise.
      	(cp_parser_ptr_operator): Likewise.
      	(cp_parser_parameter_declaration): Likewise.
      	(cp_parser_enclosed_template_argument_list): Likewise.
      	(cp_parser_skip_to_end_of_template_parameter_list): Likewise.
      	(cp_parser_next_token_ends_template_argument_p): Likewise.
      
      gcc/testsuite/
      
      2007-06-07  Simon Martin  <simartin@users.sourceforge.net>
      
      	PR c++/30759
      	* g++.dg/init/brace6.C: New test.
      
      From-SVN: r125539
      Simon Martin committed
    • attr-weakref-1-darwin.c: Run on all Darwin platforms. · 20967296
      	* gcc.dg/attr-weakref-1-darwin.c: Run on all Darwin platforms.
      	* gcc.dg/20050826-1.c: Run on all Darwin platforms.
      	* gcc.dg/darwin-ld-2.c: Run on all Darwin platforms.
      	* gcc.dg/darwin-ld-4.c: Run on all Darwin platforms.
      	* gcc.dg/cleanup-8.c: Run on i386-darwin9 and later.
      	* gcc.dg/cleanup-9.c: Run on i386-darwin9 and later.
      	* gcc.dg/cleanup-10.c: Run on i386-darwin9 and later.
      	* gcc.dg/cleanup-11.c: Run on i386-darwin9 and later.
      
      From-SVN: r125538
      Geoffrey Keating committed
    • Index: ChangeLog · e46b55d0
      2007-06-06  Geoffrey Keating  <geoffk@apple.com>
      	    Hui-May Chang <hm.chang@apple.com>
      
      	* doc/invoke.texi (Darwin Options): Update documentation for
      	-mmacosx-version-min.
      	* config.gcc (*-*-darwin*): Set extra_gcc_objs.
      	* config/darwin-driver.c: New file.
      	* config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION): New.
      	* config/t-darwin (darwin-driver.o): New rule.
      
      	* config/darwin-c.c (version_as_macro): Ignore low digit.
      
      Index: testsuite/ChangeLog
      2007-06-06  Geoffrey Keating  <geoffk@apple.com>
      
      	* gcc.dg/darwin-minversion-3.c: New.
      
      Co-Authored-By: Hui-May Chang <hm.chang@apple.com>
      
      From-SVN: r125537
      Geoffrey Keating committed
    • configure.ac: Non-default multilibs can be cross compilations. · abea993f
      	* configure.ac: Non-default multilibs can be cross compilations.
      	* configure: Regenerate
      
      From-SVN: r125536
      Geoffrey Keating committed
    • i386.md (standard sse constant splitter): Handle TFmode. · edc5bbcd
              * config/i386/i386.md (standard sse constant splitter): Handle TFmode.
              (negtf2, abstf2, *absnegtf2_sse): New insn patterns.
              (CSGNMODE): New mode macro.
              (CSGNVMODE): New mode attribute.
              (copysign<mode>3): Rename from copysingsf3 and copysigndf3.  Macroize
              expander using CSGNMODE mode macro.  Handle TFmode.
              (copysign<mode>3_const): Rename from copysignsf3_const and
              copysigndf3_const.  Macroize pattern using CSGNMODE mode macro.
              Handle TFmode.
              (copysign<mode>3_var): Rename from copysignsf3_var and
              copysigndf3_var.  Macroize pattern using CSGNMODE mode macro.
              Handle TFmode.
              (copysign<mode>3_var splitter): Macroize pattern using CSGNMODE
              mode macro.  Handle TFmode.
              * config/i386/sse.md (andtf3, *andtf3, *nandtf3): New insn patterns.
              (iortf3, *iortf3): Ditto.
              (xortf3, *xortf3): Ditto.
              * config/i386/i386.c (ix86_build_signbit_mask): Create scalar
              TFmode and TImode masks.
              (ix86_expand_copysign): Expand TFmode copysign insn.
              (IX86_BUILTIN_INFQ): New.
              (IX86_BUILTIN_FABSQ): Ditto.
              (IX86_BUILTIN_COPYSIGNQ): Ditto.
              (ix86_init_mmx_sse_builtins) [__builtin_infq]: New builtin definition.
              [__builtin_fabsq]: Ditto.
              [__builtin_copysignq]: Ditto.
              (ix86_expand_builtin) [IX86_BUILTIN_INFQ]: Expand builtin.
              [IX86_BUILTIN_FABSQ]: Expand builtin using ix86_expand_unop_builtin().
              [IX86_BUILTIN_COPYSIGNQ]: Expand builtin using
              ix86_expand_unop_builtin().
      
      testsuite/ChangeLog:
          
              * gcc.target/i386/builtin-copysign.c: New test.
      
      From-SVN: r125535
      Uros Bizjak committed
    • * config/xtensa/lib1funcs.asm: Clean up whitespace. · 125253d9
      From-SVN: r125534
      Bob Wilson committed
    • decl.c: Miscellaneous whitespace fixes. · 66e4ab31
      * decl.c: Miscellaneous whitespace fixes.
      * expr.c: Likewise.
      * gfortran.h: Likewise.
      * interface.c : Likewise.
      * io.c: Likewise.
      * match.c: Likewise.
      * match.h: Likewise.
      * module.c: Likewise.
      * parse.c: Likewise.
      * resolve.c: Likewise.
      * symbol.c: Likewise.
      * trans-array.c: Likewise.
      * trans-common.c: Likewise.
      * trans-decl.c: Likewise.
      * trans-intrinsic.c: Likewise.
      * trans-io.c: Likewise.
      * trans-stmt.c: Likewise.
      * trans-types.c: Likewise.
      
      From-SVN: r125533
      Steven G. Kargl committed
    • re PR target/31850 (gcc.c-torture/compile/limits-fnargs.c is slow at compiling for spu-elf) · bb27eeda
      	PR target/31850
      	* rtl.h (push_to_sequence2): New.
      	* emit-rtl.c (push_to_sequence2): New.
      	* function.c (assign_parm_data_all): Add new fields.
      	(assign_parm_setup_block): Call push_to_sequence2 instead of 
      	push_to_sequence.
      	(assign_parm_setup_reg): Ditto.
      	(assign_parm_setup_stack): Ditto.
      	(assign_parms_unsplit_complex): Ditto.
      	(assign_parms): Change field name.
      
      From-SVN: r125532
      Steve Ellcey committed
    • re PR tree-optimization/32220 (internal compiler error: in… · 1b0cfaa6
      re PR tree-optimization/32220 (internal compiler error: in eliminate_temp_copies, at tree-predcom.c:1937)
      
      	PR tree-optimization/32220
      	* tree-predcom.c (eliminate_temp_copies): Handle the case that loop
      	phi node is reached before defining statement.
      
      	* gfortran.dg/predcom-2.f: New testcase.
      
      From-SVN: r125531
      Zdenek Dvorak committed
    • Add new tests · 554a5400
      From-SVN: r125529
      Arnaud Charlet committed
    • re PR libgcj/32227 (../gcc/libjava/classpath/include/config-int.h:7:20: error:… · 9c28f283
      re PR libgcj/32227 (../gcc/libjava/classpath/include/config-int.h:7:20: error: stdint.h: No such file or directory)
      
      2007-06-07  Matthias Klose  <doko@ubuntu.com> 
       
              PR libgcj/32227 
              * include/config-int.h: Delete, it is a generated file.
      
      From-SVN: r125528
      Matthias Klose committed
    • Add new tests · 42714026
      From-SVN: r125527
      Arnaud Charlet committed
    • re PR tree-optimization/32231 (Segfault in verify_ssa_name) · 1344284e
      2007-06-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/32231
              * tree-vect-transform.c (vectorizable_call): Call update_stmt
              after changing the right hand side of the assignment.
      
      2007-06-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/32231
              * gcc.target/i386/vectorize4.c: New test.
      
      From-SVN: r125521
      Andrew Pinski committed
    • Daily bump. · 08835e64
      From-SVN: r125514
      GCC Administrator committed
  3. 06 Jun, 2007 20 commits
    • * config.sub, config.guess: Update from upstream sources. · a894d2c3
      From-SVN: r125511
      Ben Elliston committed
    • Makefile.tpl: Fix spelling error. · 8024d75e
      	* Makefile.tpl: Fix spelling error.
      	* Makefile.in: Regenerate.
      
      From-SVN: r125509
      Ben Elliston committed
    • config.gcc (i?86-*-darwin*): Remove arch parameter. · 7a1eca83
      2007-06-06  Eric Christopher  <echristo@apple.com>
      
      	    * config.gcc (i?86-*-darwin*): Remove arch parameter.
      	    (x86_64-*-darwin*): Ditto.
      	    * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Define.
      	    (TARGET_SUBTARGET64_ISA_DEFAULT): Ditto.
      
      From-SVN: r125508
      Eric Christopher committed
    • re PR testsuite/25241 ([C++] DejaGNU does not distinguish between errors and warnings) · 60fce413
      2007-06-06  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
      
      	PR testsuite/25241
      
      testsuite/
      	* gcc.dg/simd-5.c: Mark output as a note.
      	* gcc.dg/simd-6.c: Mark output as a note. Fix incorrect use of
      	dg-message.
      	* gcc.dg/simd-1.c: Likewise.
      	* gcc.dg/always_inline.c: Mark output as a sorry.
      	* gcc.dg/always_inline2.c: Likewise.
      	* gcc.dg/always_inline3.c: Likewise.
      
      From-SVN: r125505
      Manuel López-Ibáñez committed
    • tree-ssa-alias-warnings.c (maybe_add_match): Cast according to the coding conventions. · c22940cd
      	* tree-ssa-alias-warnings.c (maybe_add_match): Cast according to the
      	coding conventions.
      	(add_key): Likewise.
      	* tree-ssa.c (init_tree_ssa): Use type safe memory macros.
      	* tree-ssa-ccp.c (ccp_fold_builtin): Avoid using C++ keywords as
      	variable names.
      	* tree-ssa-coalesce.c (find_coalesce_pair): Use type safe memory macros.
      	(add_cost_one_coalesce): Likewise.
      	* tree-ssa-copy.c (merge_alias_info): Avoid using C++ keywords as
      	variable names. Rename orig to orig_name for consistency.
      	* tree-ssa-dom.c (dom_thread_across_edge): Cast according to the coding
      	conventions.
      	(cprop_into_successor_phis): Avoid using C++ keywords as variable names.
      	(record_equivalences_from_stmt): Likewise.
      	* tree-ssa-dse.c (dse_initialize_block_local_data): Cast according to
      	the coding conventions.
      	(memory_ssa_name_same): Likewise.
      	(dse_optimize_stmt): Likewise.
      	(dse_record_phis): Likewise.
      	(dse_finalize_block): Likewise.
      	* tree-ssa-loop-im.c (outermost_invariant_loop_expr): Avoid using C++
      	keywords as variable names.
      	(may_move_till): Cast according to the coding conventions.
      	(force_move_till_expr): Avoid using C++ keywords as variable names.
      	(force_move_till): Cast according to the coding conventions.
      	(memref_hash): Likewise.
      	(memref_eq): Likewise.
      	(gather_mem_refs_stmt): Likewise.
      	* tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Avoid using C++
      	keywords as variable names.
      	(idx_find_step): Cast according to the coding conventions.
      	(idx_record_use): Likewise.
      	(find_depends): Likewise.
      	(prepare_decl_rtl): Likewise.
      	(mbc_entry_hash): Likewise.
      	(mbc_entry_eq): Likewise.
      	* tree-ssa-loop-niter.c (SWAP): Use the correct the type for tmp.
      	(simplify_replace_tree): Avoid using C++ keywords as variable names.
      	(idx_infer_loop_bounds): Cast according to the coding conventions.
      	* tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise.
      	* tree-ssa-math-opts.c (occ_new ): Likwise.
      	* tree-ssanames.c (duplicate_ssa_name_ptr_info): Use type safe memory
      	macros.
      	* tree-ssa-operands.c (add_def_op): Avoid using C++ keywords as variable
      	names.
      	(add_use_op): Likewise.
      	(add_vop): Likewise.
      	(add_vuse_op): Likewise.
      	(add_vdef_op): Likewise.
      	(get_expr_operands): Likewise.
      	(push_stmt_changes): Use type safe memory macros.
      	* tree-ssa-phiopt.c (replace_phi_edge_with_variable): Avoid using C++
      	keywords as variable names.
      	(conditional_replacement): Likewise.
      	(minmax_replacement): Likewise.
      	(abs_replacement): Likewise.
      	* tree-ssa-pre.c (create_expression_by_pieces): Cast according to the
      	coding conventions.
      	(insert_fake_stores): Avoid using C++ keywords as variable names.
      	* tree-ssa-reassoc.c (add_to_ops_vec): Cast according to the coding
      	conventions.
      	* tree-ssa-structalias.c (heapvar_lookup): Likewise.
      	(heapvar_insert): Use type safe memory macros.
      	(new_var_info): Cast according to the coding conventions.
      	(new_constraint): Likewise.
      	(remove_preds_and_fake_succs): Use type safe memory macros.
      	* tree-ssa-threadupdate.c (thread_block): Cast according to the coding
      	conventions.
      	(thread_single_edge): Likewise.
      
      From-SVN: r125504
      Thomas Neumann committed
    • re PR libstdc++/32233 (warning in stl_vector.h:832) · 266a2cba
      2007-06-06  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/32233
      	* include/bits/stl_vector.h (_M_fill_initialize): Fix return type.
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line.
      	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:
      	Likewise.
      
      From-SVN: r125499
      Paolo Carlini committed
    • i386.c (override_options): Move handling of TARGET_SUBTARGET* earlier. · d6b0b376
      2007-06-06  Eric Christopher  <echristo@apple.com>
      
              * config/i386/i386.c (override_options): Move handling
              of TARGET_SUBTARGET* earlier.
      
      From-SVN: r125497
      Eric Christopher committed
    • re PR testsuite/31828 (FAIL: gcc.dg/float-range-[3-5].c (test for excess errors)) · 1fd994f1
      	PR testsuite/31828
      	* inclhack.def (hppa_hpux_fp_macros): New.
      	* fixincl.x: Regenerate.
      	* * tests/base/math.h: Update.
      
      From-SVN: r125496
      Steve Ellcey committed
    • genmodes.c (tagged_printf, [...]): Don't use %n on printf. · 7258e976
      2007-06-06  Paolo Bonzini  <bonzini@gnu.org>
      
      	* genmodes.c (tagged_printf, emit_insn_modes_h): Don't
      	use %n on printf.
      
      From-SVN: r125494
      Paolo Bonzini committed
    • haifa-sched.c (restore_bb_notes): Clear bb field of the notes emited outside of basic block. · a7b87f73
      	* haifa-sched.c (restore_bb_notes): Clear bb field of the notes
      	emited outside of basic block.
      	* cfgbuild.c (find_bb_boundaries): Clear bb field for insns between
      	the created blocks.
      	* rtl.h (delete_insn_chain): Declaration changed.
      	* cfgrtl.c (delete_insn_chain): Add option to clear bb field for
      	non-removed insns.
      	(rtl_delete_block, rtl_merge_blocks): Pass true to delete_insn_chain.
      	(delete_insn_chain_and_edges, try_redirect_by_replacing_jump,
      	rtl_tidy_fallthru_edge, cfg_layout_merge_blocks): Pass false 
      	to delete_insn_chain.
      	(rtl_verify_flow_info_1): Verify that the insns in header and footer
      	do not have bb field set.
      	(rtl_verify_flow_info): Verify that insns between basic blocks do not
      	have bb field set.
      	* recog.c (peephole2_optimize): Add argument to delete_insn_chain call.
      	* cfgcleanup.c (try_optimize_cfg): Ditto.
      
      From-SVN: r125492
      Zdenek Dvorak committed
    • lambda-code.c (struct lambda_lattice_s): Add a name to the struct. · 45222d4a
      	* lambda-code.c (struct lambda_lattice_s): Add a name to the struct.
      	(lambda_body_vector_new): Use type safe memory macros.
      	(lambda_linear_expression_new): Likewise.
      	(lambda_loopnest_new): Likewise.
      	(lambda_lattice_new): Likewise.
      	(replace_uses_equiv_to_x_with_y): Cast according to the coding
      	conventions. Use type safe memory macros.
      	* lambda.h (struct lambda_trans_matrix_s): Add a name to the struct.
      	(lambda_body_vector_s): Likewise.
      	* lambda-mat.c (lambda_matrix_new): Use type safe memory macros.
      	* lambda-trans.c (lambda_trans_matrix_new): Likewise.
      
      From-SVN: r125491
      Thomas Neumann committed
    • tree-ssa-forwprop.c (forward_propagate_into_cond): Return 2 if we need to schedule cfg_cleanup. · 68c834d0
      2007-06-06  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-forwprop.c (forward_propagate_into_cond): Return 2
      	if we need to schedule cfg_cleanup.
      	(tree_ssa_forward_propagate_single_use_vars): Do so.
      
      From-SVN: r125490
      Richard Biener committed
    • debug.html: Correct link. · 5a59ef36
      2007-06-06  Benjamin Kosnik  <bkoz@redhat.com>
      	    Frank Mori Hess  <frank.hess@nist.gov>
      	        
          * docs/html/debug.html: Correct link.
      
      From-SVN: r125488
      Benjamin Kosnik committed
    • fold-const.c (merge_ranges): If range_successor or range_predecessor fail, just return 0. · 39ac2ffc
      ./:	* fold-const.c (merge_ranges): If range_successor or
      	range_predecessor fail, just return 0.
      testsuite/:
      	* g++.dg/conversion/enum1.C: New test.
      
      From-SVN: r125486
      Ian Lance Taylor committed
    • 2007-06-06 Benjamin Kosnik <bkoz@redhat.com> · c846e485
      	    Frank Mori Hess  <frank.hess@nist.gov>
      	
      
      
      Co-Authored-By: Frank Mori Hess <frank.hess@nist.gov>
      
      From-SVN: r125485
      Benjamin Kosnik committed
    • configure.ac: Update TOOLS_TARGET_PAIRS configuration to match gcc/ada/Makefile.in. · 4dced6f9
              * configure.ac: Update TOOLS_TARGET_PAIRS configuration to match
              gcc/ada/Makefile.in.
      
              * configure: Regenerated.
      
      From-SVN: r125484
      Arnaud Charlet committed
    • re PR tree-optimization/32216 (ICE: verify_stmts failed (invalid reference… · 9f106823
      re PR tree-optimization/32216 (ICE: verify_stmts failed (invalid reference prefix) with -ftree-vectorize)
      
      	PR tree-optimization/32216
      	* tree-vectorizer.c (supportable_widening_operation): Determine
      	signedness of FIX_TRUNC_EXPR from output operand.
      	(supportable_narrowing_operation): Ditto.
      	* tree-vect-generic.c (expand_vector_operations_1): Determine
      	signedness of VEC_UNPACK_FLOAT_HI_EXPR and VEC_UNPACK_FLOAT_LO_EXPR
      	from input operand.
      
      testsuite/ChangeLog:
      	
      	PR tree-optimization/32216
      	* gcc.dg/vect/pr32216.c: New test.
      
      From-SVN: r125482
      Uros Bizjak committed
    • Resync · ec11296f
      From-SVN: r125481
      Arnaud Charlet committed
    • Add new tests · 1d46f74e
      From-SVN: r125480
      Arnaud Charlet committed