1. 21 Nov, 2006 11 commits
    • iostream-inst.cc: Remove iostream include. · 82382c5a
      2006-11-07  Benjamin Kosnik  <bkoz@redhat.com>
      	    Howard Hinnant  <hhinnant@apple.com>
      
      	* src/iostream-inst.cc: Remove iostream include.
      
      
      Co-Authored-By: Howard Hinnant <hhinnant@apple.com>
      
      From-SVN: r119046
      Benjamin Kosnik committed
    • re PR c++/29570 (ICE with brace-enclosed initializer) · fd5b5108
      	PR c++/29570
      	* decl.c (cp_finish_decl): Check for value dependent brace enclosed
      	scalar initializer.
      
      	* g++.dg/template/static29.C: New test.
      
      From-SVN: r119045
      Jakub Jelinek committed
    • re PR c++/29734 (ICE with vector in switch condition) · 4576ceaf
      	PR c++/29734
      	* cp-tree.h (WANT_VECTOR): Define.
      	(WANT_ARITH): Add WANT_VECTOR.
      	* cvt.c (build_expr_type_conversion): Handle vector types.
      	* typeck.c (build_unary_op): Add WANT_VECTOR to
      	build_expr_type_conversion flags.
      
      	* g++.dg/conversion/simd4.C: New test.
      
      From-SVN: r119044
      Jakub Jelinek committed
    • * config/spu/spu.c (spu_expand_vector_init): Initialise x. · b509487e
      From-SVN: r119043
      Ben Elliston committed
    • Formatting fixes. · 83cc06b2
      From-SVN: r119042
      Ben Elliston committed
    • configure.in (skipdirs): Don't build target-libiberty for SPU. · 85d9c13c
      ChangeLog
      
      	* configure.in (skipdirs) : Don't build target-libiberty for SPU.
      	* configure : Rebuilt.
      
      gcc/ChangeLog
      
      	* config.gcc : Add target for SPU.
      	* config/spu/constraints.md : New file.
      	* config/spu/crt0.c : New file.
      	* config/spu/crtend.c : New file.
      	* config/spu/crti.asm : New file.
      	* config/spu/crtn.asm : New file.
      	* config/spu/float_unsdidf.c : New file.
      	* config/spu/float_unssidf.c : New file.
      	* config/spu/predicates.md : New file.
      	* config/spu/spu-builtins.def : New file.
      	* config/spu/spu-builtins.h : New file.
      	* config/spu/spu-builtins.md : New file.
      	* config/spu/spu-c.c : New file.
      	* config/spu/spu-elf.h : New file.
      	* config/spu/spu-modes.def : New file.
      	* config/spu/spu-protos.h : New file.
      	* config/spu/spu.c : New file.
      	* config/spu/spu.h : New file.
      	* config/spu/spu.md : New file.
      	* config/spu/spu.opt : New file.
      	* config/spu/spu_internals.h : New file.
      	* config/spu/spu_intrinsics.h : New file.
      	* config/spu/spu_mfcio.h : New file.
      	* config/spu/t-spu-elf : New file.
      	* config/spu/vec_types.h : New file.
      	* config/spu/vmx2spu.h : New file.
      	* doc/contrib.texi : Document SPU contributor.
      	* doc/extend.texi : Document SPU extensions.
      	* doc/invoke.texi : Document SPU options.
      	* doc/md.texi : Document SPU constraints.
      
      libcpp/ChangeLog
      
      	* configure.ac (need_64bit_hwint): Need 64bit hwint for SPU.
      	* configure : Rebuilt.
      
      From-SVN: r119041
      Trevor Smigiel committed
    • cfgloopmanip.c (add_loop, [...]): Do not set level of the loop. · 99f8a411
      	* cfgloopmanip.c (add_loop, duplicate_loop): Do not set level
      	of the loop.
      	* cfgloop.c (flow_loop_level_compute, flow_loops_level_compute):
      	Removed.
      	(flow_loop_dump): Do not dump loop level.
      	(flow_loops_find): Do not call flow_loops_level_compute.
      	* cfgloop.h (struct loop): Remove level field.
      
      From-SVN: r119040
      Zdenek Dvorak committed
    • tree-ssa-loop-im.c (schedule_sm, [...]): Use vector of edges instead of array. · ca83d385
      	* tree-ssa-loop-im.c (schedule_sm, determine_lsm_ref,
      	hoist_memory_references, loop_suitable_for_sm, determine_lsm_loop):
      	Use vector of edges instead of array.
      	* tree-ssa-loop-niter.c (find_loop_niter, find_loop_niter_by_eval,
      	estimate_numbers_of_iterations_loop): Ditto.
      	* predict.c (predict_loops): Ditto.
      	* loop-unroll.c (analyze_insns_in_loop): Ditto.
      	* tree-ssa-threadupdate.c: Remove declaration of heap allocation for
      	edge vectors.
      	* basic-block.h: Declare heap allocation for edge vectors.
      	* tree-outof-ssa.c: Ditto.
      	* cfgloop.c (get_loop_exit_edges): Return vector of edges.
      	* cfgloop.h (get_loop_exit_edges): Declaration changed.
      
      From-SVN: r119039
      Zdenek Dvorak committed
    • Daily bump. · c6119197
      From-SVN: r119037
      GCC Administrator committed
    • gengtype.c (process_gc_options): Remove unnecessary forward decl. · 5932ca9d
      	* gengtype.c (process_gc_options): Remove unnecessary forward decl.
      	Add another out parameter, "skip".
      	(set_gc_used_type): Adjust calls to process_gc_options.  If a field
      	is tagged "skip", do not mark its type used.
      
      From-SVN: r119034
      Zack Weinberg committed
    • * MAINTAINERS (Write After Approval): Add myself. · 6696f3cd
      From-SVN: r119031
      Trevor Smigiel committed
  2. 20 Nov, 2006 18 commits
    • re PR fortran/27546 (IMPORT is broken) · 2a6dcee5
      fortran/
      2006-11-17  Tobias Burnus  <burnus@net-b.de>
      
          PR fortran/27546
          * primary.c (gfc_match_rvalue): Added IMPORT support.
      
      testsuite/
      2006-11-17  Tobias Burnus  <burnus@net-b.de>
      
          PR fortran/27546
          * gfortran.dg/import.f90: Extended test.
          * gfortran.dg/import2.f90: Extended test.
      
      From-SVN: r119028
      Tobias Burnus committed
    • re PR c++/29475 (incomplete template diagnostics.) · 02022f3a
      	PR c++/29475
      	* cp-tree.h (enforce_access, perform_or_defer_access_check): Added an
      	extra argument that represents the declaration to use to print
      	potential error messages.
      	* init.c (build_offset_ref): Adjusted the call to
      	perform_or_defer_access_check.
      	* class.c (alter_access, resolve_address_of_overloaded_function):
      	Likewise.
      	* decl.c (make_typename_type, make_unbound_class_template): Likewise. 
      	* search.c (lookup_member): Likewise.
      	* friend.c (add_friend): Likewise.
      	* parser.c (cp_parser_template_id,
      	cp_parser_pre_parsed_nested_name_specifier): Likewise.
      	* semantics.c (finish_non_static_data_member,
      	check_accessibility_of_qualified_id, finish_id_expression): Likewise.
      	(pop_to_parent_deferring_access_checks, perform_access_checks,
      	perform_or_defer_access_check): Adjusted the call to enforce_access.
      	* call.c (enforce_access): Use the new extra argument to build the
      	error message.
      	(build_op_delete_call): Adjusted the call to
      	perform_or_defer_access_check.
      	(build_over_call): Likewise.
      
      	PR c++/29475
      	* g++.dg/template/access19.C: New test.
      	* g++.old-deja/g++.other/access11.C: Adjusted the line where the
      	error is reported.
      
      From-SVN: r119027
      Simon Martin committed
    • re PR target/25500 (SSE2 vectorized code is slower on 4.x.x than previous) · 903ff275
      2006-11-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/25500
              * tree-sra.c (single_scalar_field_in_record_p): New function.
              (decide_block_copy): Use it.
      
      2006-11-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR tree-opt/25500
              * gcc.dg/tree-ssa/sra-4.c: New testcase.
      
      From-SVN: r119026
      Andrew Pinski committed
    • symbol.c (check_conflict): Add conflict between VOLATILE attribute and program name. · d7043acd
      fortran/
      2006-11-20  Tobias Burnus  <burnus@net-b.de>
      
              * symbol.c (check_conflict): Add conflict between VOLATILE
                attribute and program name.
      
      testsuite/
      2006-11-20  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/volatile3.f90: Add conflict test.
      
      From-SVN: r119025
      Tobias Burnus committed
    • mips-signal.h (sys/syscall.h): Do not include. · 9e088160
      2006-11-20  David Daney  <ddaney@avtrex.com>
      
      	* include/mips-signal.h (sys/syscall.h): Do not include.
      	(sig_ucontext_t): Removed.
      	(MAKE_THROW_FRAME): Changed to be a nop.
      	(_INIT_SIG_HANDLER): New macro.
      	(INIT_SEGV): Rewrote to use _INIT_SIG_HANDLER.
      	(INIT_FPE): Same.
      
      2006-11-20  David Daney  <ddaney@avtrex.com>
      
      	* config/mips/linux-unwind.h (mips_fallback_frame_state): Adjust
      	PC to point to following instruction.
      
      From-SVN: r119024
      David Daney committed
    • Throw_3.java: New Test. · e9057fe4
      	* testsuite/libjava.lang/Throw_3.java: New Test.
      	* testsuite/libjava.lang/Throw_3.out: Its expected output.
      
      From-SVN: r119023
      David Daney committed
    • re PR target/18553 (Annoying warning with -ffunction-sections -g) · d5b11885
      	PR target/18553
      	PR target/29449
      	* config/avr/avr.h (OBJECT_FORMAT_ELF): Define.
      
      	* config/avr/avr.h (DWARF2_DEBUGGING_INFO): Define.
      
      From-SVN: r119019
      Anatoly Sokolov committed
    • config.gcc (sh*-superh-elf): Add t-superh to tmake_file. · 8999fdc7
      	* config.gcc (sh*-superh-elf): Add t-superh to tmake_file.
      	Add sh/superh.h to tm_file.
      
      From-SVN: r119018
      J"orn Rennecke committed
    • cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and gcc_exec_prefix. · 76642aab
      
      gcc/
      
      2006-11-20  Carlos O'Donell  <carlos@codesourcery.com>
      	    Mark Mitchell  <mark@codesourcery.com>
      
      	* cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and 
      	gcc_exec_prefix.
      	(cpp_relocated): New function.
      	* cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix 
      	and cpp_relocated. 
      	* Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
      	* c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
      	replace configured prefix with gcc_exec_prefix. 
      
      
      Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
      
      From-SVN: r119017
      Carlos O'Donell committed
    • re PR fortran/24783 ([4.1 and 4.2 only] Implicit none in module overwrite explicit in procedure) · 9d691ba7
      fortran/ChangeLog
      2006-11-20  Bernhard Fischer  <aldot@gcc.gnu.org>
      
              PR fortran/24783
              * resolve.c (resolve_variable): Get the implicit type from the
              symbols namespace rather than the default namespace. Fix whitespace.
              (resolve_formal_arglist, resolve_equivalence): Fix typo.
      
      
      testsuite/ChangeLog
      2006-11-20  Bernhard Fischer  <aldot@gcc.gnu.org>
      
              PR fortran/24783
              * gfortran.dg/implicit_10.f90: New test.
      
      From-SVN: r119016
      Bernhard Fischer committed
    • MAINTAINERS list - adding myself · d58542ea
      From-SVN: r119015
      Andrea Ornstein committed
    • tree-ssa-loop-ivopts.c (get_address_cost): Do not artificially inflate costs for… · b9b36edd
      tree-ssa-loop-ivopts.c (get_address_cost): Do not artificially inflate costs for addresses with an out-of-bounds address.
      
      	* tree-ssa-loop-ivopts.c (get_address_cost): Do not artificially
      	inflate costs for addresses with an out-of-bounds address.
      
      From-SVN: r119014
      Bernd Schmidt committed
    • bfin.c (bfin_function_ok_for_sibcall): Handle some edge cases with local… · bcbb974d
      bfin.c (bfin_function_ok_for_sibcall): Handle some edge cases with local functions and TARGET_ID_SHARED_LIBRARY.
      
      	* config/bfin/bfin.c (bfin_function_ok_for_sibcall): Handle some
      	edge cases with local functions and TARGET_ID_SHARED_LIBRARY.
      
      From-SVN: r119013
      Bernd Schmidt committed
    • bfin.md (call_symbol, [...]): Allow these patterns if TARGET_LEAF_ID_SHARED_LIBRARY. · 93147119
      	* config/bfin/bfin.md (call_symbol, call_value_symbol, sibcall_symbol,
      	sibcall_value_symbol): Allow these patterns if
      	TARGET_LEAF_ID_SHARED_LIBRARY.
      	* config/bfin/bfin.c (bfin_expand_call): Allow them here as well.
      	(override_options): Turn on id shared library flags if -msep-data,
      	but disallow the combination of these options on the command line.
      	* config/bfin/bfin.h (TARGET_LEAF_ID_SHARED_LIBRARY, MASK_SEP_DATA
      	MASK_LEAF_ID_SHARED_LIBRARY, TARGET_SEP_DATA): New macros.
      	(DRIVER_SELF_SPECS): -mleaf-id-shared-library implies
      	-mid-shared-library.
      	(TARGET_SWITCHES): Add -mleaf-id-shared-library and -msep-data.
      	* doc/invoke.texi (Blackfin Options): Document new switches.
      
      From-SVN: r119012
      Bernd Schmidt committed
    • bfin.h (LEGITIMATE_CONSTANT_P): Call bfin_legitimate_constant_p. · d6f6753e
      	* config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Call
      	bfin_legitimate_constant_p.
      	* config/bfin/bfin.md (movsi expander): Check return value of
      	expand_mvoe.
      	* config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Declare.
      	(expand_move): Adjust prototype.
      	* config/bfin/bfin.c (expand_move): Now returns bool.  Handle
      	invalid constants specially.
      	(bfin_cannot_force_const_mem, bfin_legitimate_constant_p): New
      	functions.
      	(TARGET_CANNOT_FORCE_CONST_MEM): New macro.
      
      From-SVN: r119011
      Bernd Schmidt committed
    • re PR rtl-optimization/29879 (ICE: verify_flow_info: loop_father but no loops) · f81c1b60
      2006-11-19  Andrew Pinski  <pinskia@gmail.com>
      
              PR rtl-opt/29879
              * fwprop.c (loops): Remove.
              (forward_propagate_into): Use current_loops instead of
              loops.
              (fwprop_init): Call loop_optimizer_init instead of
              flow_loops_find.
              (fwprop_done): Call loop_optimizer_finalize instead of
              flow_loops_free.
              (fwprop): Use current_loops instead of loo
      
      From-SVN: r119010
      Andrew Pinski committed
    • re PR c++/8586 (-Wwrite-strings should be included in -Wall) · 7f420d0d
      2006-11-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              PR c++/8586
              * c-opts.c (c_common_handle_option): Enable -Wwrite-strings if
              -Wall.
      
      testsuite/
      2006-11-19  Gabriel Dos Reis  <gdr@integrable-solutions.net>
      
              PR c++/8586
              * g++.dg/warn/Wall-write-strings.C: New.
      
      From-SVN: r119009
      Gabriel Dos Reis committed
    • Daily bump. · e5dfa5b1
      From-SVN: r119006
      GCC Administrator committed
  3. 19 Nov, 2006 6 commits
  4. 18 Nov, 2006 5 commits
    • re PR fortran/27885 (FAIL: libgomp.fortran/vla[1-7].f90 -O0 (test for excess errors)) · 30f421e5
      	PR fortran/27885
      	PR middle-end/28176
      	* stor-layout.c (set_sizetype): Limit precision of *bitsizetypes types
      	to MAX_FIXED_MODE_SIZE.
      
      From-SVN: r118977
      John David Anglin committed
    • builtins.c (integer_valued_real_p): Handle fmin/fmax. · b64d949c
      	* builtins.c (integer_valued_real_p): Handle fmin/fmax.
      	(fold_builtin_fmin_fmax): New.
      	(fold_builtin_1): Use it.
      
      testsuite:
      	* gcc.dg/builtins-20.c: Add fmin/fmax cases.
      	* gcc.dg/torture/builtin-minmax-1.c: New.
      
      From-SVN: r118976
      Kaveh R. Ghazi committed
    • fold-const.c (fold_strip_sign_ops): Handle copysign. · 6af46feb
      	* fold-const.c (fold_strip_sign_ops): Handle copysign.
      
      testsuite:
      	* gcc.dg/builtins-20.c: Add cases for copysign.
      
      From-SVN: r118975
      Kaveh R. Ghazi committed
    • i386.c (ix86_builtins): New array for ix86 builtin function decls. · 4f7d8547
      2006-11-18  Richard Guenther  <rguenther@suse.de>
      
      	* config/i386/i386.c (ix86_builtins): New array for ix86
      	builtin function decls.
      	(def_builtin): New function.
      	(def_builtin_const): Likewise.
      	(ix86_init_mmx_sse_builtins): Mark sqrt and cvt builtins const.
      
      From-SVN: r118974
      Richard Guenther committed
    • invoke.texi (core2): Add item. · 05f85dbb
      2006-11-18  Vladimir Makarov  <vmakarov@redhat.com>
      
      	* doc/invoke.texi (core2): Add item.
      
      	* config/i386/i386.h (TARGET_CORE2, TARGET_CPU_DEFAULT_core2): New
      	macros.
      	(TARGET_CPU_CPP_BUILTINS): Add code for core2.
      	(TARGET_CPU_DEFAULT_generic): Change value.
      	(TARGET_CPU_DEFAULT_NAMES): Add core2.
      	(processor_type): Add new constant PROCESSOR_CORE2.
      
      	* config/i386/i386.md (cpu): Add core2.
      
      	* config/i386/i386.c (core2_cost): New initialized variable.
      	(m_CORE2): New macro.
      	(x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen,
      	x86_deep_branch, x86_partial_reg_stall, x86_use_simode_fiop,
      	x86_use_cltd, x86_promote_QImode, x86_sub_esp_4, x86_sub_esp_8,
      	x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves,
      	x86_partial_reg_dependency, x86_memory_mismatch_stall,
      	x86_accumulate_outgoing_args, x86_prologue_using_move,
      	x86_epilogue_using_move, x86_arch_always_fancy_math_387,
      	x86_sse_partial_reg_dependency, x86_rep_movl_optimal,
      	x86_use_incdec, x86_four_jump_limit, x86_schedule,
      	x86_pad_returns): Add m_CORE2.
      	(override_options): Add entries for Core2.
      	(ix86_issue_rate): Add case for Core2.
      
      From-SVN: r118973
      Vladimir Makarov committed