1. 18 Dec, 2007 1 commit
  2. 17 Dec, 2007 16 commits
  3. 16 Dec, 2007 15 commits
    • re PR target/34025 (Warning when compiling with -m64 -ffast-math on Intel Darwin) · 3ef27559
              PR target/34025
              * config/i386/t-crtpc: Add $(MULTILIB_CFLAGS).
              * config/i386/t-crtfm: Likewise.
      
      From-SVN: r130998
      Jack Howarth committed
    • i386.h (WIDEST_HARDWARE_FP_SIZE): Define. · ce998900
              * config/i386/i386.h (WIDEST_HARDWARE_FP_SIZE): Define.
      
      From-SVN: r130997
      Uros Bizjak committed
    • ChangeLog: Fix my email address in previous two entries. · bd1efa43
      2007-12-16  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* ChangeLog: Fix my email address in previous two entries.
      
      From-SVN: r130996
      Jonathan Wakely committed
    • default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets. · dbf3a492
      2007-12-16  Jonathan Wakely  <jwakely-gcc@gmail.com>
      
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add
      	required dg-option for cygwin and darwin targets.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      
      From-SVN: r130995
      Jonathan Wakely committed
    • re PR fortran/34495 (accepts invalid initialization expressions withTRANSFER) · b7970354
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34495
              * intrinsic.c (add_functions): Mark float and sngl as STD_GNU.
              (gfc_intrinsic_func_interface): Reject REAL, DBLE and CMPLX
              in initialization expressions for -std=f95.
      
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34495
              * gfortran.dg/initialization_16.f90: New.
      
      From-SVN: r130994
      Tobias Burnus committed
    • re PR fortran/34305 (ICE with array(real) declaration) · df80a455
      2007-12-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/34305
      	* resolve.c (compare_bound):  If either of the types of
      	the arguments isn't INTEGER, return CMP_UNKNOWN.
      
      2007-12-16  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/34305
      	* gfortran.dg/real_dimension_1.f:  New test case.
      
      From-SVN: r130993
      Thomas Koenig committed
    • re PR fortran/34246 (gfortran.dg/bind_c_usage_16.f03 doesn't work) · 06a54338
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34246
              * trans-types.c (gfc_init_types): Change build_type_variant
              to build_qualified_type.
              (gfc_sym_type): Return gfc_character1_type_node for
              character-returning bind(C) functions.
              * trans-expr.c (gfc_conv_function_call): Do not set
              se->string_length for character-returning bind(c) functions.
              (gfc_trans_string_copy,gfc_trans_scalar_assign):
               Support also single characters.
      
      2007-12-16  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/34246
              * gfortran.dg/bind_c_usage_16.f03: Extend test.
      
      From-SVN: r130991
      Tobias Burnus committed
    • Undo misguided distinction WRT deciding if a warning is an error or a warning. · ac8bb1ec
      A Warning is a warning, diagnostics DTRT. Cosmetic correction from fallout for
      fix for PR21061. See ML-archives for details on why this hunk is wrong but
      still harmless in effect.
      
      2007-12-16  Bernhard Fischer  <aldot@gcc.gnu.org>
      
              * errors.c (gfc_notify_std): As originally stated but improperly 
              changed, disregard warnings_are_errors for deciding which buffer
              to use for warnings.
      
      From-SVN: r130990
      Bernhard Fischer committed
    • tree-vect-transform.c (conservative_cost_threshold): Add missing space to "not vectorized" message. · 42cb1b89
              * tree-vect-transform.c (conservative_cost_threshold): Add missing
              space to "not vectorized" message.
      
      From-SVN: r130989
      Uros Bizjak committed
    • re PR fortran/31213 (ICE on valid code with gfortran) · 0a164a3c
      2007-12-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31213
      	PR fortran/33888
      	PR fortran/33998
      	* trans-array.c (gfc_trans_array_constructor_value): If the
      	iterator variable does not have a backend_decl, use a local
      	temporary.
      	(get_elemental_fcn_charlen): New function to map the character
      	length of an elemental function onto its actual arglist.
      	(gfc_conv_expr_descriptor): Call the above so that the size of
      	the temporary can be evaluated.
      	* trans-expr.c : Include arith.h and change prototype of
      	gfc_apply_interface_mapping_to_expr to return void.  Change all
      	references to gfc_apply_interface_mapping_to_expr accordingly.
      	(gfc_free_interface_mapping): Free the 'expr' field.
      	(gfc_add_interface_mapping): Add an argument for the actual
      	argument expression. This is copied to the 'expr' field of the
      	mapping.  Only stabilize the backend_decl if the se is present.
      	Copy the character length expression and only add it's backend
      	declaration if se is present.  Return without working on the
      	backend declaration for the new symbol if se is not present.
      	(gfc_map_intrinsic_function) : To simplify intrinsics 'len',
      	'size', 'ubound' and 'lbound' and then to map the result.
      	(gfc_map_fcn_formal_to_actual): Performs the formal to actual
      	mapping for the case of a function found in a specification
      	expression in the interface being mapped.
      	(gfc_apply_interface_mapping_to_ref): Remove seen_result and
      	all its references. Remove the inline simplification of LEN
      	and call gfc_map_intrinsic_function instead.  Change the
      	order of mapping of the actual arguments and simplifying
      	intrinsic functions.  Finally, if a function maps to an
      	actual argument, call gfc_map_fcn_formal_to_actual.
      	(gfc_conv_function_call): Add 'e' to the call to
      	gfc_add_interface_mapping.
      	* dump-parse-tree.c (gfc_show_symbol_n): New function for
      	diagnostic purposes.
      	* gfortran.h : Add prototype for gfc_show_symbol_n.
      	* trans.h : Add 'expr' field to gfc_add_interface_mapping.
      	Add 'expr' to prototype for gfc_show_symbol_n.
      	* resolve.c (resolve_generic_f0): Set specific function as
      	referenced.
      
      2007-12-16  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/31213
      	PR fortran/33888
      	PR fortran/33998
      	* gfortran.dg/mapping_1.f90: New test.
      	* gfortran.dg/mapping_2.f90: New test.
      	* gfortran.dg/mapping_3.f90: New test.
      
      From-SVN: r130988
      Paul Thomas committed
    • re PR rtl-optimization/34415 (Possible miscompilation on MIPS) · 30c6f45d
      gcc/
      	PR rtl-optimization/34415
      	* df.h (DF_LR_IN, DF_LR_OUT): Update comments.
      	* resource.c (mark_target_live_regs): Use DF_LR_IN rather than
      	df_get_live_in.  Don't handle pseudos.
      
      gcc/testsuite/
      	PR rtl-optimization/34415
      	* gcc.c-torture/execute/pr34415.c: New test.
      
      From-SVN: r130987
      Richard Sandiford committed
    • patch_tester.sh: Don't save the script anymore. · cf79e386
      2007-12-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* patch_tester.sh: Don't save the script anymore.
      
      From-SVN: r130986
      Sebastian Pop committed
    • Daily bump. · c4b544b3
      From-SVN: r130984
      GCC Administrator committed
    • patch_tester.sh: New. · 0f55312a
      2007-12-15  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* patch_tester.sh: New.
      	* prepare_patch.sh: New.
      
      From-SVN: r130981
      Sebastian Pop committed
  4. 15 Dec, 2007 8 commits
    • fastcall-1.c (f4): Change return type to void. · 9bcbdde3
      	* gcc.target/i386/fastcall-1.c (f4): Change return type to
      	void.
      
      From-SVN: r130980
      Danny Smith committed
    • re PR bootstrap/34003 (gcc trunk unable to bootstrap itself; Unsatisfied symbols: ggc_free) · 9a60b229
      	PR bootstrap/34003
      	* c-decl.c (merge_decls): Copy RTL from olddecl to newdecl.
      	* config/pa/pa.c (pa_encode_section_info): If !first, preserve
      	SYMBOL_FLAG_REFERENCED flag.
      
      	* gcc.dg/pr34003-1.c: New test.
      	* gcc.dg/pr34003-2.c: New.
      
      From-SVN: r130979
      Jakub Jelinek committed
    • boost_shared_ptr.h: Add support for allocators, aliasing, make_shared and rvalue-references. · 249b9e5e
      2007-12-15  Jonathan Wakely  <jwakely-gcc@gmail.com>
      
      	* include/tr1_impl/boost_shared_ptr.h: Add support for allocators,
      	aliasing, make_shared and rvalue-references. Move __shared_count
      	and _Sp_counted_* classes to new headers.
      	* include/tr1_impl/boost_sp_counted_base.h: New.
      	* include/bits/boost_sp_shared_count.h: New.
      	* include/tr1/boost_sp_shared_count.h: New.
      	* include/std/memory, include/tr1/memory: Include new headers.
      	* include/Makefile.am: Adjust.
      	* include/Makefile.in: Regenerate.
      	* docs/html/documentation.html: Link to shared_ptr notes.
      	* docs/html/20_util/shared_ptr.html: New.
      	* docs/html/17_intro/c++0x_status.html: Update shared_ptr status.
      	* testsuite/20_util/shared_ptr/cons/alias.cc: New.
      	* testsuite/20_util/shared_ptr/cons/alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/move.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/move.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/assign.cc: Duplicate tr1 test.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/dr541.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/shared_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/casts/1.cc: Likewise.
      	* testsuite/20_util/shared_ptr/comparison/cmp.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/auto_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/copy.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/default.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Likewise.
      	* testsuite/20_util/shared_ptr/dest/dest.cc: Likewise.
      	* testsuite/20_util/shared_ptr/misc/24595.cc: Likewise.
      	* testsuite/20_util/shared_ptr/misc/io.cc: Likewise.
      	* testsuite/20_util/shared_ptr/misc/swap.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/24805.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/reset.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/reset_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/swap.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/swap_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/bool_conv.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/get.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/unique.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/use_count.cc: Likewise.
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
      	Likewise.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
      	1.cc: Likewise.
      	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
      	2.cc: Likewise.
      	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation.cc:
      	Remove.
      	* testsuite/20_util/weak_ptr/lock/1.cc: Duplicate tr1 test.
      	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
      	Likewise.
      	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
      	Likewise.
      	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation.cc:
      	Remove.
      
      From-SVN: r130978
      Jonathan Wakely committed
    • boost_shared_ptr.h: Add support for allocators, aliasing, make_shared and rvalue-references. · aaf0ca6f
      2007-12-15  Jonathan Wakely  <jwakely-gcc@gmail.com>
      
      	* include/tr1_impl/boost_shared_ptr.h: Add support for allocators,
      	aliasing, make_shared and rvalue-references. Move __shared_count
      	and _Sp_counted_* classes to new headers.
      	* include/tr1_impl/boost_sp_counted_base.h: New.
      	* include/bits/boost_sp_shared_count.h: New.
      	* include/tr1/boost_sp_shared_count.h: New.
      	* include/std/memory, include/tr1/memory: Include new headers.
      	* include/Makefile.am: Adjust.
      	* include/Makefile.in: Regenerate.
      	* docs/html/documentation.html: Link to shared_ptr notes.
      	* docs/html/20_util/shared_ptr.html: New.
      	* docs/html/17_intro/c++0x_status.html: Update shared_ptr status.
      	* testsuite/20_util/shared_ptr/cons/alias.cc: New.
      	* testsuite/20_util/shared_ptr/cons/alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/move.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/move.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/make.cc: Likewise.
      	* testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/assign.cc: Duplicate tr1 test.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/dr541.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/shared_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/casts/1.cc: Likewise.
      	* testsuite/20_util/shared_ptr/comparison/cmp.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/auto_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/copy.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/default.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Likewise.
      	* testsuite/20_util/shared_ptr/dest/dest.cc: Likewise.
      	* testsuite/20_util/shared_ptr/misc/24595.cc: Likewise.
      	* testsuite/20_util/shared_ptr/misc/io.cc: Likewise.
      	* testsuite/20_util/shared_ptr/misc/swap.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/24805.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/reset.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/reset_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/swap.cc: Likewise.
      	* testsuite/20_util/shared_ptr/modifiers/swap_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/bool_conv.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/get.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/unique.cc: Likewise.
      	* testsuite/20_util/shared_ptr/observers/use_count.cc: Likewise.
      	* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
      	Likewise.
      	* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
      	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
      	1.cc: Likewise.
      	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation/
      	2.cc: Likewise.
      	* testsuite/20_util/shared_ptr/requirements/explicit_instantiation.cc:
      	Remove.
      	* testsuite/20_util/weak_ptr/lock/1.cc: Duplicate tr1 test.
      	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc:
      	Likewise.
      	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc:
      	Likewise.
      	* testsuite/20_util/weak_ptr/requirements/explicit_instantiation.cc:
      	Remove.
      
      From-SVN: r130977
      Jonathan Wakely committed
    • * sv.po: Update. · 5f0686bc
      From-SVN: r130976
      Joseph Myers committed
    • * tree.c (type_hash_add): Fix whitespace. · b0d667cb
      From-SVN: r130974
      Alexandre Oliva committed
    • Add CRIS v32 support. Fix -mcc-init. · 9c16b636
      From-SVN: r130973
      Hans-Peter Nilsson committed
    • * config/cris/cris-protos.h (cris_register_move_cost) · 6e86f9ab
      	(cris_cc0_user_requires_cmp, cris_asm_output_case_end): Declare.
      
      From-SVN: r130972
      Hans-Peter Nilsson committed