ebotcazou [Mon, 14 Jan 2008 12:16:58 +0000 (12:16 +0000)]
PR rtl-optimization/31944
* cse.c (remove_pseudo_from_table): New function.
(merge_equiv_classes): Use above function to remove pseudo-registers.
(invalidate): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131522
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Mon, 14 Jan 2008 10:22:43 +0000 (10:22 +0000)]
Remove control characters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131521
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 14 Jan 2008 00:17:26 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131517
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Sun, 13 Jan 2008 22:13:52 +0000 (22:13 +0000)]
2008-01-13 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34746
* m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Use %ld
in printf format for all bounds checking; cast all
integer-like arguments to runtime_error() to long int.
(`m'name`'rtype_qual`_'atype_code): Likewise.
(`s'name`'rtype_qual`_'atype_code): Likewise.
* m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Likewise.
(`m'name`'rtype_qual`_'atype_code): Likewise.
(`s'name`'rtype_qual`_'atype_code): Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l16.c: Regenerated.
* generated/count_16_l4.c: Regenerated.
* generated/count_16_l8.c: Regenerated.
* generated/count_4_l16.c: Regenerated.
* generated/count_4_l4.c: Regenerated.
* generated/count_4_l8.c: Regenerated.
* generated/count_8_l16.c: Regenerated.
* generated/count_8_l4.c: Regenerated.
* generated/count_8_l8.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131514
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 13 Jan 2008 21:35:33 +0000 (21:35 +0000)]
2008-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/34665
* resolve.c (resolve_actual_arglist): For expressions,
also check for assume-sized arrays.
* interface.c (compare_parameter): Move F2003 character checks
here, print error messages here, reject elements of
assumed-shape array as argument to dummy arrays.
(compare_actual_formal): Update for the changes above.
2008-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/34665
* gfortran.dg/argument_checking_11.f90: New.
* gfortran.dg/argument_checking_12.f90: New.
* gfortran.dg/used_dummy_types_4.f90: Update dg-error.
* gfortran.dg/c_assoc_2.f03: Update dg-error.
* gfortran.dg/argument_checking_3.f90: Ditto.
* gfortran.dg/pointer_intent_2.f90: Ditto.
* gfortran.dg/import2.f90: Ditto.
* gfortran.dg/assumed_shape_ranks_1.f90: Ditto.
* gfortran.dg/implicit_actual.f90: Ditto.
* gfortran.dg/used_dummy_types_3.f90: Ditto.
* gfortran.dg/derived_comp_array_ref_6.f90: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131513
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 13 Jan 2008 21:29:49 +0000 (21:29 +0000)]
2008-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/34763
* decl.c (contained_procedure): Only check directly preceeding
* state.
2008-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/34763
* gfortran.dg/interface_proc_end.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131512
138bc75d-0d04-0410-961f-
82ee72b054a4
burnus [Sun, 13 Jan 2008 21:28:30 +0000 (21:28 +0000)]
2008-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/34759
* check.c (gfc_check_shape): Accept array ranges of
assumed-size arrays.
2008-01-13 Tobias Burnus <burnus@net-b.de>
PR fortran/34759
* gfortran.dg/assumed_size_refs_4.f90: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131511
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 13 Jan 2008 21:00:39 +0000 (21:00 +0000)]
* trans.c (call_to_gnu):Invoke the addressable_p predicate only
when necessary. Merge some conditional statements. Update comments.
Rename unchecked_convert_p local variable to suppress_type_conversion.
Do not suppress conversions in the In case.
(addressable_p) <VIEW_CONVERT_EXPR>: Do not take alignment issues
into account on non strict-alignment platforms.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131510
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sun, 13 Jan 2008 19:50:04 +0000 (19:50 +0000)]
2008-01-13 Richard Guenther <rguenther@suse.de>
* gcc.dg/struct-ret-3.c: Adjust testcase to make stack
readable and writable again before exiting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131509
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 13 Jan 2008 16:51:26 +0000 (16:51 +0000)]
Fix nit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131507
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sun, 13 Jan 2008 16:30:51 +0000 (16:30 +0000)]
2008-01-13 Richard Guenther <rguenther@suse.de>
PR middle-end/34601
* emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE
instead of TYPE_MODE to deal with calls from expand_one_error_var.
* gcc.dg/noncompile/incomplete-4.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131506
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Sun, 13 Jan 2008 12:13:35 +0000 (12:13 +0000)]
* gcse.c (cprop_jump): Call validate_unshare_change instead of
validate_change to unshare the source of the PC set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131505
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sun, 13 Jan 2008 11:18:08 +0000 (11:18 +0000)]
PR middle-end/32135
* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct
references above array bounds. This might trigger bounds checks for
pointers to arrays.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131502
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Sun, 13 Jan 2008 04:27:46 +0000 (04:27 +0000)]
2008-01-12 Sebastian Pop <sebastian.pop@amd.com>
* tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and
new_replaceable_dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131501
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 13 Jan 2008 01:34:58 +0000 (01:34 +0000)]
2008-01-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34730
* include/debug/functions.h (__check_sorted_set,
__check_sorted_set_aux): Add.
(__check_sorted): Check StrictWeakOrdering.
* include/debug/macros.h (__glibcxx_check_strict_weak_ordering,
__glibcxx_check_strict_weak_ordering_pred): Remove.
(__glibcxx_check_sorted, __glibcxx_check_sorted_pred): Adjust.
(__glibcxx_check_sorted_set, __glibcxx_check_sorted_set_pred): Add.
* include/debug/debug.h (__glibcxx_requires_sorted_set,
__glibcxx_requires_sorted_set_pred): Add.
* include/bits/stl_algo.h (merge, includes, set_union,
set_intersection, set_difference, set_symmetric_difference):
Adjust, use __glibcxx_requires_sorted_set* instead.
* testsuite/25_algorithms/set_intersection/34730.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131500
138bc75d-0d04-0410-961f-
82ee72b054a4
dougkwan [Sun, 13 Jan 2008 00:22:38 +0000 (00:22 +0000)]
ChangeLog:
2008-01-12 Doug Kwan <dougkwan@google.com>
* c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
instead of OPT_Wreturn_type in warning due to ignored return type
qualifiers.
* c-opt.c (c_common_post_option): Add -Wignored-qualifiers to
options included in -Wextra.
* c.opt: New option -Wignored_qualifiers.
* doc/invoke.texi (Warning Options, -Wextra): Add new option
-Wignore_qualifiers.
(-Wignored-qualifiers): Document.
(-Wreturn-type): Remove description of functionality now handled
by -Wignored-qualifiers.
cp/ChangeLog:
2008-01-12 Doug Kwan <dougkwan@google.com>
* decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers
instead of OPT_Wreturn_type in warning due to ignored return type
qualifiers.
* pt.c: (tsubst_function_type): Use OPT_Wignored_qualifiers
instead of OPT_Wreturn_type in warning due to ignored return type
qualifiers.
testsuite/ChangeLog:
2008-01-12 Doug Kwan <dougkwan@google.com>
* gcc.dg/qual-return-1.c: Add -Wignored-qualifiers.
* g++.dg/warn/Wreturn-type-4.C: Replace -Wreturn-type by
-Wignored-qualifiers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131499
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sun, 13 Jan 2008 00:17:45 +0000 (00:17 +0000)]
* utils.c (aggregate_type_contains_array_p): New predicate.
(create_field_decl): In a packed record, force byte alignment
for fields without specified position that contain an array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131498
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 13 Jan 2008 00:17:18 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131496
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Sat, 12 Jan 2008 22:39:49 +0000 (22:39 +0000)]
PR ada/33788
* fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing
NOP_EXPR if it is between integral types with the same precision.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131493
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 12 Jan 2008 14:02:06 +0000 (14:02 +0000)]
PR other/28023
* invoke.texi (max-inline-recursive-depth): Fix default value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131492
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 12 Jan 2008 13:43:21 +0000 (13:43 +0000)]
* tree-parloops.c (transform_to_exit_first_loop): Cast nit to the
correct type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131491
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Sat, 12 Jan 2008 12:27:07 +0000 (12:27 +0000)]
2008-01-12 Richard Guenther <rguenther@suse.de>
Rotate ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131490
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sat, 12 Jan 2008 08:47:27 +0000 (08:47 +0000)]
2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34432
* gfortran.dg/parens_7.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131489
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sat, 12 Jan 2008 08:36:52 +0000 (08:36 +0000)]
2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34432
* match.c (gfc_match_name): Don't error if leading character is a '(',
just return MATCH_NO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131488
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Sat, 12 Jan 2008 08:35:25 +0000 (08:35 +0000)]
2008-01-12 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34722
* match.c (gfc_match_name): Don't error if leading character is a '(',
just return MATCH_NO.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131487
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 12 Jan 2008 00:21:39 +0000 (00:21 +0000)]
* gcc.dg/tree-ssa/loadpre5.c: Use static.
* gcc.dg/tree-ssa/loadpre8.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131485
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 12 Jan 2008 00:17:20 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131483
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 12 Jan 2008 00:10:30 +0000 (00:10 +0000)]
* gcc.dg/pr33826.c: Require nonpic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131480
138bc75d-0d04-0410-961f-
82ee72b054a4
bwilson [Fri, 11 Jan 2008 22:44:47 +0000 (22:44 +0000)]
* config/xtensa/xtensa.c (override_options): Set flag_shlib.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131478
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Fri, 11 Jan 2008 21:42:03 +0000 (21:42 +0000)]
PR target/26015
* config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131477
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 11 Jan 2008 21:18:10 +0000 (21:18 +0000)]
2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34722
* gfortran.dg//inquire_12.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131476
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Fri, 11 Jan 2008 21:15:41 +0000 (21:15 +0000)]
2008-01-11 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34722
* trans-io.c (create_dummy_iostat): Commit the symbol.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131475
138bc75d-0d04-0410-961f-
82ee72b054a4
aesok [Fri, 11 Jan 2008 20:33:50 +0000 (20:33 +0000)]
* config/avr/avr.c (expand_prologue, expand_epilogue): Don't
save/restore frame pointer register and don't use 'call-prologues'
optimization in function with "OS_task" attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131474
138bc75d-0d04-0410-961f-
82ee72b054a4
tkoenig [Fri, 11 Jan 2008 20:21:05 +0000 (20:21 +0000)]
2008-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34670
* m4/iparm.m4 (upcase): New macro (copied from the m4 manual).
(u_name): New macro for the upper case name of the intrinsic.
* m4/iforeach.m4 (name`'rtype_qual`_'atype_code): Add
bounds checking and rank check, depending on
compile_options.bounds_check.
(`m'name`'rtype_qual`_'atype_code): Likewise.
(`s'name`'rtype_qual`_'atype_code): Likewise.
* m4/ifunction.m4 (name`'rtype_qual`_'atype_code): Add
bounds checking and rank check, depending on
compile_options.bounds_check.
(`m'name`'rtype_qual`_'atype_code): Likewise.
(`s'name`'rtype_qual`_'atype_code): Likewise.
* generated/all_l16.c: Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/any_l16.c: Regenerated.
* generated/any_l4.c: Regenerated.
* generated/any_l8.c: Regenerated.
* generated/count_16_l16.c: Regenerated.
* generated/count_16_l4.c: Regenerated.
* generated/count_16_l8.c: Regenerated.
* generated/count_4_l16.c: Regenerated.
* generated/count_4_l4.c: Regenerated.
* generated/count_4_l8.c: Regenerated.
* generated/count_8_l16.c: Regenerated.
* generated/count_8_l4.c: Regenerated.
* generated/count_8_l8.c: Regenerated.
* generated/maxloc0_16_i1.c: Regenerated.
* generated/maxloc0_16_i16.c: Regenerated.
* generated/maxloc0_16_i2.c: Regenerated.
* generated/maxloc0_16_i4.c: Regenerated.
* generated/maxloc0_16_i8.c: Regenerated.
* generated/maxloc0_16_r10.c: Regenerated.
* generated/maxloc0_16_r16.c: Regenerated.
* generated/maxloc0_16_r4.c: Regenerated.
* generated/maxloc0_16_r8.c: Regenerated.
* generated/maxloc0_4_i1.c: Regenerated.
* generated/maxloc0_4_i16.c: Regenerated.
* generated/maxloc0_4_i2.c: Regenerated.
* generated/maxloc0_4_i4.c: Regenerated.
* generated/maxloc0_4_i8.c: Regenerated.
* generated/maxloc0_4_r10.c: Regenerated.
* generated/maxloc0_4_r16.c: Regenerated.
* generated/maxloc0_4_r4.c: Regenerated.
* generated/maxloc0_4_r8.c: Regenerated.
* generated/maxloc0_8_i1.c: Regenerated.
* generated/maxloc0_8_i16.c: Regenerated.
* generated/maxloc0_8_i2.c: Regenerated.
* generated/maxloc0_8_i4.c: Regenerated.
* generated/maxloc0_8_i8.c: Regenerated.
* generated/maxloc0_8_r10.c: Regenerated.
* generated/maxloc0_8_r16.c: Regenerated.
* generated/maxloc0_8_r4.c: Regenerated.
* generated/maxloc0_8_r8.c: Regenerated.
* generated/maxloc1_16_i1.c: Regenerated.
* generated/maxloc1_16_i16.c: Regenerated.
* generated/maxloc1_16_i2.c: Regenerated.
* generated/maxloc1_16_i4.c: Regenerated.
* generated/maxloc1_16_i8.c: Regenerated.
* generated/maxloc1_16_r10.c: Regenerated.
* generated/maxloc1_16_r16.c: Regenerated.
* generated/maxloc1_16_r4.c: Regenerated.
* generated/maxloc1_16_r8.c: Regenerated.
* generated/maxloc1_4_i1.c: Regenerated.
* generated/maxloc1_4_i16.c: Regenerated.
* generated/maxloc1_4_i2.c: Regenerated.
* generated/maxloc1_4_i4.c: Regenerated.
* generated/maxloc1_4_i8.c: Regenerated.
* generated/maxloc1_4_r10.c: Regenerated.
* generated/maxloc1_4_r16.c: Regenerated.
* generated/maxloc1_4_r4.c: Regenerated.
* generated/maxloc1_4_r8.c: Regenerated.
* generated/maxloc1_8_i1.c: Regenerated.
* generated/maxloc1_8_i16.c: Regenerated.
* generated/maxloc1_8_i2.c: Regenerated.
* generated/maxloc1_8_i4.c: Regenerated.
* generated/maxloc1_8_i8.c: Regenerated.
* generated/maxloc1_8_r10.c: Regenerated.
* generated/maxloc1_8_r16.c: Regenerated.
* generated/maxloc1_8_r4.c: Regenerated.
* generated/maxloc1_8_r8.c: Regenerated.
* generated/maxval_i1.c: Regenerated.
* generated/maxval_i16.c: Regenerated.
* generated/maxval_i2.c: Regenerated.
* generated/maxval_i4.c: Regenerated.
* generated/maxval_i8.c: Regenerated.
* generated/maxval_r10.c: Regenerated.
* generated/maxval_r16.c: Regenerated.
* generated/maxval_r4.c: Regenerated.
* generated/maxval_r8.c: Regenerated.
* generated/minloc0_16_i1.c: Regenerated.
* generated/minloc0_16_i16.c: Regenerated.
* generated/minloc0_16_i2.c: Regenerated.
* generated/minloc0_16_i4.c: Regenerated.
* generated/minloc0_16_i8.c: Regenerated.
* generated/minloc0_16_r10.c: Regenerated.
* generated/minloc0_16_r16.c: Regenerated.
* generated/minloc0_16_r4.c: Regenerated.
* generated/minloc0_16_r8.c: Regenerated.
* generated/minloc0_4_i1.c: Regenerated.
* generated/minloc0_4_i16.c: Regenerated.
* generated/minloc0_4_i2.c: Regenerated.
* generated/minloc0_4_i4.c: Regenerated.
* generated/minloc0_4_i8.c: Regenerated.
* generated/minloc0_4_r10.c: Regenerated.
* generated/minloc0_4_r16.c: Regenerated.
* generated/minloc0_4_r4.c: Regenerated.
* generated/minloc0_4_r8.c: Regenerated.
* generated/minloc0_8_i1.c: Regenerated.
* generated/minloc0_8_i16.c: Regenerated.
* generated/minloc0_8_i2.c: Regenerated.
* generated/minloc0_8_i4.c: Regenerated.
* generated/minloc0_8_i8.c: Regenerated.
* generated/minloc0_8_r10.c: Regenerated.
* generated/minloc0_8_r16.c: Regenerated.
* generated/minloc0_8_r4.c: Regenerated.
* generated/minloc0_8_r8.c: Regenerated.
* generated/minloc1_16_i1.c: Regenerated.
* generated/minloc1_16_i16.c: Regenerated.
* generated/minloc1_16_i2.c: Regenerated.
* generated/minloc1_16_i4.c: Regenerated.
* generated/minloc1_16_i8.c: Regenerated.
* generated/minloc1_16_r10.c: Regenerated.
* generated/minloc1_16_r16.c: Regenerated.
* generated/minloc1_16_r4.c: Regenerated.
* generated/minloc1_16_r8.c: Regenerated.
* generated/minloc1_4_i1.c: Regenerated.
* generated/minloc1_4_i16.c: Regenerated.
* generated/minloc1_4_i2.c: Regenerated.
* generated/minloc1_4_i4.c: Regenerated.
* generated/minloc1_4_i8.c: Regenerated.
* generated/minloc1_4_r10.c: Regenerated.
* generated/minloc1_4_r16.c: Regenerated.
* generated/minloc1_4_r4.c: Regenerated.
* generated/minloc1_4_r8.c: Regenerated.
* generated/minloc1_8_i1.c: Regenerated.
* generated/minloc1_8_i16.c: Regenerated.
* generated/minloc1_8_i2.c: Regenerated.
* generated/minloc1_8_i4.c: Regenerated.
* generated/minloc1_8_i8.c: Regenerated.
* generated/minloc1_8_r10.c: Regenerated.
* generated/minloc1_8_r16.c: Regenerated.
* generated/minloc1_8_r4.c: Regenerated.
* generated/minloc1_8_r8.c: Regenerated.
* generated/minval_i1.c: Regenerated.
* generated/minval_i16.c: Regenerated.
* generated/minval_i2.c: Regenerated.
* generated/minval_i4.c: Regenerated.
* generated/minval_i8.c: Regenerated.
* generated/minval_r10.c: Regenerated.
* generated/minval_r16.c: Regenerated.
* generated/minval_r4.c: Regenerated.
* generated/minval_r8.c: Regenerated.
* generated/product_c10.c: Regenerated.
* generated/product_c16.c: Regenerated.
* generated/product_c4.c: Regenerated.
* generated/product_c8.c: Regenerated.
* generated/product_i1.c: Regenerated.
* generated/product_i16.c: Regenerated.
* generated/product_i2.c: Regenerated.
* generated/product_i4.c: Regenerated.
* generated/product_i8.c: Regenerated.
* generated/product_r10.c: Regenerated.
* generated/product_r16.c: Regenerated.
* generated/product_r4.c: Regenerated.
* generated/product_r8.c: Regenerated.
* generated/sum_c10.c: Regenerated.
* generated/sum_c16.c: Regenerated.
* generated/sum_c4.c: Regenerated.
* generated/sum_c8.c: Regenerated.
* generated/sum_i1.c: Regenerated.
* generated/sum_i16.c: Regenerated.
* generated/sum_i2.c: Regenerated.
* generated/sum_i4.c: Regenerated.
* generated/sum_i8.c: Regenerated.
* generated/sum_r10.c: Regenerated.
* generated/sum_r16.c: Regenerated.
* generated/sum_r4.c: Regenerated.
* generated/sum_r8.c: Regenerated.
2008-01-11 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/34670
* all_bounds_1.f90: New test case.
* maxloc_bounds_1.f90: New test case.
* maxloc_bounds_2.f90: New test case.
* maxloc_bounds_3.f90: New test case.
* maxloc_bounds_4.f90: New test case.
* maxloc_bounds_5.f90: New test case.
* maxloc_bounds_6.f90: New test case.
* maxloc_bounds_7.f90: New test case.
* maxloc_bounds_8.f90: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131473
138bc75d-0d04-0410-961f-
82ee72b054a4
ebotcazou [Fri, 11 Jan 2008 19:44:40 +0000 (19:44 +0000)]
PR middle-end/31309
* expr.c (copy_blkmode_from_reg): Use a mode suited to the size when
copying to memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131472
138bc75d-0d04-0410-961f-
82ee72b054a4
raksit [Fri, 11 Jan 2008 19:16:49 +0000 (19:16 +0000)]
Fixed my gcc/ChangeLog entry (corrected tense and capitalization).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131471
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Fri, 11 Jan 2008 18:25:29 +0000 (18:25 +0000)]
2008-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34537
* simplify.c (gfc_simplify_transfer): Return NULL if the size
of the element is unavailable and only assign character length
to the result, if 'mold' is constant.
2008-01-11 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34537
* gfortran.dg/transfer_simplify_8.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131470
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 11 Jan 2008 14:55:34 +0000 (14:55 +0000)]
2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com>
PR rtl-optimization/30905
* cfgcleanup.c: Include dce.h
(crossjumps_occured): New global variable.
(try_crossjump_bb): Exit loop after finding a fallthru edge.
If something changed, set crossjumps_occured to true.
(try_optimize_cfg): Clear crossjumps_occured at the beginning.
Don't add/remove fake edges to exit here...
(cleanup_cfg): ...but do it here, when crossjumping.
Run a fast DCE when successful crossjumps occured in the latest
iteration of try_optimize_cfg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131468
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Fri, 11 Jan 2008 13:36:53 +0000 (13:36 +0000)]
2008-01-11 Richard Guenther <rguenther@suse.de>
* tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode.
(struct vn_unary_op_s): Likewise.
(vn_reference_insert): Free old reference on hash collision.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131462
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Fri, 11 Jan 2008 08:53:25 +0000 (08:53 +0000)]
2008-01-11 Andreas Krebbel <krebbel1@de.ibm.com>
* g++.dg/torture/pr34641.C: Add dg-require-visibility. Define
size_t using predefined macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131461
138bc75d-0d04-0410-961f-
82ee72b054a4
raksit [Fri, 11 Jan 2008 04:20:32 +0000 (04:20 +0000)]
gcc/ChangeLog
PR rtl-optimization/27971
* combine.c (find_split_point): introduced a new split for certain
types of mem rtx.
gcc/testsuite/ChangeLog
PR rtl-optimization/27971
* gcc.target/i386/pr27971.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131460
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 11 Jan 2008 01:00:48 +0000 (01:00 +0000)]
PR ada/34466
* s-osinte-linux-hppa.ads (SC_NPROCESSORS_ONLN): New constant for
sysconf call.
(bit_field): New packed boolean type used by cpu_set_t.
(cpu_set_t): New type corresponding to the C type with
the same name. Note that on the Ada side we use a bit
field array for the affinity mask. There is not need
for the C macro for setting individual bit.
(pthread_setaffinity_np): New imported routine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131457
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 11 Jan 2008 00:17:25 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131455
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Thu, 10 Jan 2008 19:59:57 +0000 (19:59 +0000)]
* config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from...
(m32c_hard_regno_nregs): ...this, which is now a wrapper.
(m32c_hard_regno_ok): Call the underlying function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131449
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Thu, 10 Jan 2008 19:10:48 +0000 (19:10 +0000)]
2008-01-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34396
* trans-array.c (gfc_trans_array_ctor_element): Use gfc_trans_string_copy
to assign strings and perform bounds checks on the string length.
(get_array_ctor_strlen): Remove bounds checking.
(gfc_trans_array_constructor): Initialize string length checking.
* trans-array.h : Add prototype for gfc_trans_string_copy.
2008-01-10 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34396
* gfortran.dg/bounds_check_12.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131448
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Thu, 10 Jan 2008 18:31:43 +0000 (18:31 +0000)]
* gcc.target/i386/cmov7.c: Add -mbranch-cost=5 to dg-options.
* gcc.target/i386/addr-sel-1.c: Require nonpic effective target.
[
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131447
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 10 Jan 2008 16:59:06 +0000 (16:59 +0000)]
2008-01-10 Richard Guenther <rguenther@suse.de>
PR middle-end/34683
* tree-cfg.c (tree_merge_blocks): Do not go through the
full-blown folding and stmt updating path if we just deal
with virtual operands.
* tree-ssa-copy.c (may_propagate_copy): Do not short-cut
test for abnormal SSA_NAMEs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131446
138bc75d-0d04-0410-961f-
82ee72b054a4
krebbel [Thu, 10 Jan 2008 16:46:26 +0000 (16:46 +0000)]
2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com>
PR middle-end/34641
* reload.c (push_reload): Add assertions. All constants from
reg_equiv_constant should have been used for replacing the respective
pseudo earlier.
(find_reloads_address): Invoke find_reloads_address_part for
constant taken from the reg_equiv_constant array.
2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com>
PR middle-end/34641
* g++.dg/torture/pr34641.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131445
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 10 Jan 2008 16:29:59 +0000 (16:29 +0000)]
2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com>
* tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed
field (valnum) the first in the struct. Replace bools with
unit bit fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131444
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Thu, 10 Jan 2008 14:28:40 +0000 (14:28 +0000)]
2008-01-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34651
* tree-sra.c (sra_build_assignment): Sanitize. Use the correct
types and ordering for masking and converting.
* g++.dg/torture/pr34651.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131442
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 10 Jan 2008 02:07:41 +0000 (02:07 +0000)]
2008-01-09 Paolo Carlini <pcarlini@suse.de>
* include/parallel/multiway_merge.h: Reformat to 80 columns;
adjust some inline specifiers; other minor style fixes.
* include/parallel/losertree.h: Likewise.
* include/parallel/list_partition.h: Likewise.
* include/parallel/multiseq_selection.h: Likewise.
* include/parallel/workstealing.h: Likewise.
* include/parallel/base.h: Likewise.
* include/parallel/par_loop.h: Likewise.
* include/parallel/numeric: Likewise.
* include/parallel/quicksort.h: Likewise.
* include/parallel/algorithmfwd.h: Likewise.
* include/parallel/for_each_selectors.h: Likewise.
* include/parallel/omp_loop_static.h: Likewise.
* include/parallel/random_shuffle.h: Likewise.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/set_operations.h: Likewise.
* include/parallel/tree.h: Likewise.
* include/parallel/merge.h: Likewise.
* include/parallel/unique_copy.h: Likewise.
* include/parallel/settings.h: Likewise.
* include/parallel/multiway_mergesort.h: Likewise.
* include/parallel/numericfwd.h: Likewise.
* include/parallel/search.h: Likewise.
* include/parallel/partition.h: Likewise.
* include/parallel/compatibility.h: Likewise.
* include/parallel/partial_sum.h: Likewise.
* include/parallel/find.h: Likewise.
* include/parallel/algo.h: Likewise.
* include/parallel/queue.h: Likewise.
* include/parallel/omp_loop.h: Likewise.
* include/parallel/sort.h: Likewise.
* include/parallel/random_number.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131440
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 10 Jan 2008 00:17:20 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131438
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Wed, 9 Jan 2008 21:22:19 +0000 (21:22 +0000)]
2008-01-09 Sebastian Pop <sebastian.pop@amd.com>
PR tree-optimization/34017
* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code
also for PHI_NODE expressions.
* gcc.dg/tree-ssa/pr34017.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131435
138bc75d-0d04-0410-961f-
82ee72b054a4
raksit [Wed, 9 Jan 2008 19:48:42 +0000 (19:48 +0000)]
2008-01-09 Raksit Ashok <raksit@google.com>
* MAINTAINERS (Write After Approval): Add myself.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131434
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 9 Jan 2008 19:19:40 +0000 (19:19 +0000)]
PR tree-optimization/34708
* tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR
based on number of case labels.
(init_inline_once): Remove switch_cost.
* tree-inline.h (eni_weights_d): Remove switch_cost.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131433
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 9 Jan 2008 19:10:47 +0000 (19:10 +0000)]
2008-01-09 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/api.html: Fix markup for rope.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131432
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 9 Jan 2008 18:27:27 +0000 (18:27 +0000)]
2008-01-09 Paolo Carlini <pcarlini@suse.de>
* include/parallel/iterator.h: Reformat to 80 columns; adjust some
inline specifiers.
* include/parallel/find_selectors.h: Likewise.
* include/parallel/losertree.h: Likewise.
* include/parallel/list_partition.h: Likewise.
* include/parallel/for_each.h: Likewise.
* include/parallel/multiseq_selection.h: Likewise.
* include/parallel/algorithmfwd.h: Likewise.
* include/parallel/for_each_selectors.h: Likewise.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/merge.h: Likewise.
* include/parallel/algobase.h: Likewise.
* include/parallel/find.h: Likewise.
* include/parallel/algo.h: Likewise.
* include/parallel/checkers.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131431
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 9 Jan 2008 15:46:49 +0000 (15:46 +0000)]
2008-01-09 Richard Guenther <rguenther@suse.de>
Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/30132
* gimplify.c (gimplify_cond_expr): Do not create an addressable
temporary if an rvalue is ok or an lvalue is not required.
* gcc.c-torture/compile/pr30132.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131430
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 9 Jan 2008 14:17:13 +0000 (14:17 +0000)]
2008-01-09 Richard Guenther <rguenther@suse.de>
PR middle-end/34458
* tree-data-ref.c (initialize_matrix_A): Use tree_low_cst,
adjust return type.
* gcc.c-torture/compile/pr34458.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131429
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 9 Jan 2008 12:14:01 +0000 (12:14 +0000)]
2008-01-09 Richard Guenther <rguenther@suse.de>
PR middle-end/34679
* tree.c (host_integerp): Check for sizetype only if the
type is an integer type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131425
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 9 Jan 2008 11:12:11 +0000 (11:12 +0000)]
2008-01-09 Francesco Biscani <bluescarni@gmail.com>
* include/tr1_impl/hashtable (_Hashtable): Fix friend declaration
of __detail::_Map_base<>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131424
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Wed, 9 Jan 2008 10:33:55 +0000 (10:33 +0000)]
2008-01-09 Steven Bosscher <stevenb.gcc@gmail.com>
PR debug/26364
* opts.c (decode_options): Disable inlining of functions called
once if not in unit-at-a-time mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131423
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 9 Jan 2008 09:18:24 +0000 (09:18 +0000)]
* Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131421
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 9 Jan 2008 09:03:49 +0000 (09:03 +0000)]
Fix typo in last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131418
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Wed, 9 Jan 2008 07:35:49 +0000 (07:35 +0000)]
* doc/invoke.texi (i386 and x86-64 Options) [mrecip]:
Two small spell fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131414
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Wed, 9 Jan 2008 03:14:15 +0000 (03:14 +0000)]
PR testsuite/30459
g++.dg/eh/ia64-2.C: Require weak support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131410
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 9 Jan 2008 00:17:24 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131408
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 8 Jan 2008 21:35:25 +0000 (21:35 +0000)]
2008-01-08 Richard Guenther <rguenther@suse.de>
PR middle-end/31863
* tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail
out early if the result will be unused.
* g++.dg/torture/pr31863.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131405
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 8 Jan 2008 21:21:29 +0000 (21:21 +0000)]
2008-01-08 Richard Guenther <rguenther@suse.de>
PR fortran/34706
PR tree-optimization/34683
* trans-types.c (gfc_get_array_type_bounds): Use an array type
with known size for accesses if that is known.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131404
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 8 Jan 2008 19:22:46 +0000 (19:22 +0000)]
PR target/34709
Revert:
2008-01-05 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.c (ix86_builtin_reciprocal): Remove check
for TARGET_RECIP.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131403
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 8 Jan 2008 18:16:06 +0000 (18:16 +0000)]
2008-01-08 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Do
not include <cassert>.
* testsuite/22_locale/global_templates/standard_facet_hierarchies.cc:
Likewise.
* testsuite/util/testsuite_common_types.h: Include <algorithm>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131402
138bc75d-0d04-0410-961f-
82ee72b054a4
jsjodin [Tue, 8 Jan 2008 16:35:44 +0000 (16:35 +0000)]
2008-01-08 Jan Sjodin <jan.sjodin@amd.com>
* config/i386/i386.c:
(k8_cost, amdfam10_cost): Branch costs for vectorization tuned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131401
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 8 Jan 2008 16:29:14 +0000 (16:29 +0000)]
2008-01-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34683
* tree-ssa-operands.c (operand_build_cmp): Export.
* tree-ssa-operands.h (operand_build_cmp): Declare.
* tree-vn.c (vuses_compare): Remove.
(sort_vuses): Use operand_build_cmp.
(sort_vuses_heap): Likewise.
* tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
to re-use old VEC if available. Do not sort already sorted VUSEs.
(vdefs_to_vec): Do not sort already sorted VDEFs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131400
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 8 Jan 2008 16:14:49 +0000 (16:14 +0000)]
libstdc++-v3/
* configure.ac (--enable-linux-futex): Add new configure option.
(HAVE_LINUX_FUTEX): New AC_DEFINE.
* Makefile.in: Rebuilt.
* aclocal.m4: Rebuilt.
* configure: Rebuilt.
* config.h.in: Rebuilt.
* config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
_GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
* config/cpu/arm/cxxabi_tweaks.h (_GLIBCXX_GUARD_BIT,
_GLIBCXX_GUARD_PENDING_BIT, _GLIBCXX_GUARD_WAITING_BIT): Define.
* libsupc++/guard.cc: Include climits and syscall.h.
(_GLIBCXX_USE_FUTEX): Define if futex syscall and atomic builtins
are supported.
(_GLIBCXX_FUTEX_WAIT, _GLIBCXX_FUTEX_WAKE): Likewise.
(__guard_test_bit): New static inline.
(__cxa_guard_acquire, __cxa_guard_release, __cxa_guard_abort): Use
atomic builtins and futex syscall if _GLIBCXX_USE_FUTEX.
config/
* futex.m4: New file.
libgomp/
* configure.ac: Move futex checking into ../config/futex.m4.
* configure: Rebuilt.
* aclocal.m4: Rebuilt.
* Makefile.in: Rebuilt.
* configure.tgt: Rename have_tls to gcc_cv_have_tls to match
2007-10-15 ../config/tls.m4 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131399
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 8 Jan 2008 16:08:24 +0000 (16:08 +0000)]
PR middle-end/34694
* omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
* gcc.dg/gomp/pr34694.c: New test.
* g++.dg/gomp/pr34694.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131398
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Tue, 8 Jan 2008 16:06:31 +0000 (16:06 +0000)]
PR c++/33890
* semantics.c (finish_omp_for): Don't call
fold_build_cleanup_point_expr if processing_template_decl.
* g++.dg/gomp/pr33890.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131397
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 8 Jan 2008 15:14:33 +0000 (15:14 +0000)]
2008-01-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34476
* expr.c (find_array_element): Check that the array bounds are
constant before using them. Use lower, as well as upper bound.
(check_restricted): Allow implied index variable.
2008-01-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34476
* gfortran.dg/parameter_array_init_3.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131396
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Tue, 8 Jan 2008 15:12:34 +0000 (15:12 +0000)]
2008-01-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34681
* trans_array.c (gfc_trans_deferred_array): Do not null the
data pointer on entering scope, nor deallocate it on leaving
scope, if the symbol has the 'save' attribute.
PR fortran/34704
* trans_decl.c (gfc_finish_var_decl): Derived types with
allocatable components and an initializer must be TREE_STATIC.
2008-01-08 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34681
PR fortran/34704
* gfortran.dg/alloc_comp_default_init_1.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131395
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Tue, 8 Jan 2008 13:50:14 +0000 (13:50 +0000)]
PR target/34702
* doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
limitations of reciprocal sequences on x86 targets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131394
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Tue, 8 Jan 2008 12:12:56 +0000 (12:12 +0000)]
2008-01-08 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34683
* tree-flow-inline.h (var_ann): Remove overzealous asserts.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131393
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 8 Jan 2008 00:18:22 +0000 (00:18 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131391
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Mon, 7 Jan 2008 23:24:49 +0000 (23:24 +0000)]
* config.sub, config.guess: Update from upstream sources.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131388
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 7 Jan 2008 21:49:27 +0000 (21:49 +0000)]
PR target/34622
* config/darwin.c (darwin_mergeable_string_section): Don't use
.cstring if int_size_in_bytes != TREE_STRING_LENGTH.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131386
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 7 Jan 2008 21:05:03 +0000 (21:05 +0000)]
* lib/target-supports.exp (check_effective_target_powerpc_spu): New.
* g++.dg/other/spu2vmx-1.C: Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131385
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 7 Jan 2008 21:03:46 +0000 (21:03 +0000)]
2008-01-07 Jack Howarth <howarth@bromo.med.uc.edu>
* gcc.dg/out-of-bounds-1.c: Don't use -mstrict-align for Darwin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131384
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 7 Jan 2008 21:02:24 +0000 (21:02 +0000)]
2008-01-07 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/34575
* gcc.target/powerpc/popcount-1.c: Skip on darwin.
* gcc.target/powerpc/parity-1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131383
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 7 Jan 2008 20:54:49 +0000 (20:54 +0000)]
2008-01-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34680
* doc/cpp.texi ([Common Predefined Macros]): Document.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131382
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Mon, 7 Jan 2008 20:06:34 +0000 (20:06 +0000)]
PR target/34682
* config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
negxf2. Macroize expander using X87MODEF mode iterator. Change
predicates of op0 and op1 to register_operand.
(abs<mode>2): Rename from abssf2, absdf2 and negxf2. Macroize expander
using X87MODEF mode iterator. Change predicates of op0 and op1 to
register_operand.
("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
corresponding patterns and macroize using MODEF macro. Change
predicates of op0 and op1 to register_operand and remove
"m" constraint. Disparage "r" alternative with "!".
("*absneg<mode>2_i387"): Rename from corresponding patterns and
macroize using X87MODEF macro. Change predicates of op0 and op1
to register_operand and remove "m" constraint. Disparage "r"
alternative with "!".
(absneg splitter with memory operands): Remove.
("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
patterns and macroize using X87MODEF mode iterator.
* config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
Change predicate of op1 to register_operand.
* config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
for memory operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131381
138bc75d-0d04-0410-961f-
82ee72b054a4
froydnj [Mon, 7 Jan 2008 19:35:04 +0000 (19:35 +0000)]
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131380
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 7 Jan 2008 17:23:40 +0000 (17:23 +0000)]
libcpp
2008-01-07 Fred Fish <fnf@specifix.com>
PR preprocessor/30363:
* traditional.c (replace_args_and_push): Add local variable
cxtquote, calculate the replacement text size assuming a
worst case of every input character quoted with backslash,
and properly handle output quoting of quote characters in
actual arguments used in function-like macros.
gcc/testsuite
2008-01-07 Fred Fish <fnf@specifix.com>
PR preprocessor/30363:
* gcc.dg/cpp/trad/macroargs.c: Add code to test quoting in
macro expansions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131379
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 7 Jan 2008 16:49:37 +0000 (16:49 +0000)]
2008-01-07 Richard Guenther <rguenther@suse.de>
* basic-block.h (struct edge_def): Pair dest_idx with goto_locus
fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131378
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Mon, 7 Jan 2008 16:44:43 +0000 (16:44 +0000)]
2008-01-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34672
* module.c (write_generic): Rewrite completely.
(write_module): Change call to write_generic.
2008-01-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34672
* gfortran.dg/use_only_2.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131377
138bc75d-0d04-0410-961f-
82ee72b054a4
rguenth [Mon, 7 Jan 2008 14:49:36 +0000 (14:49 +0000)]
2008-01-07 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34683
* tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
VOPs of the needed size to save memory. Use VEC_quick_push
to save compile-time.
(vdefs_to_vec): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131375
138bc75d-0d04-0410-961f-
82ee72b054a4
saliu [Mon, 7 Jan 2008 13:53:07 +0000 (13:53 +0000)]
Genetate inline code for double division.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131374
138bc75d-0d04-0410-961f-
82ee72b054a4
saliu [Mon, 7 Jan 2008 13:48:12 +0000 (13:48 +0000)]
Genetate inline code for double division.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131373
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 7 Jan 2008 11:11:02 +0000 (11:11 +0000)]
2008-01-07 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34680
* include/bits/locale_classes.h (has_facet<>, use_facet<>): Do not
use dynamic_cast when run-time type identification is disabled; do
not mark inline; only declare, define...
* include/bits/locale_classes.tcc: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131372
138bc75d-0d04-0410-961f-
82ee72b054a4
jvdelisle [Mon, 7 Jan 2008 02:53:04 +0000 (02:53 +0000)]
2008-01-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR fortran/34659
* scanner.c (load_line): Do not count ' ' as printable when checking for
continuations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131371
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 7 Jan 2008 00:17:12 +0000 (00:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131369
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 6 Jan 2008 22:30:32 +0000 (22:30 +0000)]
gcc/
2008-01-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34680
* c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
* doc/cpp.texi ([Common Predefined Macros]): Document.
gcc/testsuite/
2008-01-06 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34680
* g++.dg/rtti/predefined-rtti-macro-1.C: New.
* g++.dg/rtti/predefined-rtti-macro-2.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131366
138bc75d-0d04-0410-961f-
82ee72b054a4
pault [Sun, 6 Jan 2008 22:00:00 +0000 (22:00 +0000)]
2008-01-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34545
* module.c (load_needed): If the namespace has no proc_name
give it the module symbol.
2008-01-06 Paul Thomas <pault@gcc.gnu.org>
PR fortran/34545
* gfortran.dg/use_12.f90: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131364
138bc75d-0d04-0410-961f-
82ee72b054a4