OSDN Git Service

pf3gnuchains/gcc-fork.git
12 years ago2010-01-05 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 5 Jan 2010 00:06:25 +0000 (00:06 +0000)]
2010-01-05  Richard Guenther  <rguenther@suse.de>

* tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant
allocation and lookup.
(get_or_alloc_expr_for_constant): Likewise.
(phi_translate): Sink allocation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155635 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/42316
kkojima [Mon, 4 Jan 2010 23:46:56 +0000 (23:46 +0000)]
PR target/42316
* configure.ac (PICFLAG): Use -fPIC on SH hosts.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155634 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jan 2010 21:02:42 +0000 (21:02 +0000)]
2010-01-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate
a new entry only if needed.
* tree-ssa-dom.c (lookup_avail_expr): Likewise.
* tree-ssa-coalesce.c (find_coalesce_pair): Avoid one
hashtable lookup.
* tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate
the result array.
(phi_translate): Handle CONSTANTs early.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155633 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 21:01:10 +0000 (21:01 +0000)]
2010-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/36161
        * error.c (error_printf, gfc_warning, gfc_notify_std,
        gfc_warning_now, gfc_error, gfc_error_now,
        gfc_fatal_error): Change argument name from nocmsgid to
        gmsgid to enable (x)gettext's % checking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155632 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 4 Jan 2010 18:25:14 +0000 (18:25 +0000)]
2010-01-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42398
* tree-sra.c (struct access): Removed flag grp_different_types.
(dump_access): Do not dump the removed flag.
(sort_and_splice_var_accesses): Do not set the removed flag.
(sra_modify_expr): Check for type compatibility directly.

* testsuite/gcc.c-torture/compile/pr42398.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155631 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 4 Jan 2010 18:18:54 +0000 (18:18 +0000)]
2010-01-04  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/42366
* ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on
edges with variable number of parameters.
* ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done
flag instead of asserting it.
(ipa_read_node_info): Read uses_analysis_done flag.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155630 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoRemove duplicated ChangeLog entries.
hjl [Mon, 4 Jan 2010 18:07:42 +0000 (18:07 +0000)]
Remove duplicated ChangeLog entries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155629 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42555
jason [Mon, 4 Jan 2010 17:53:37 +0000 (17:53 +0000)]
PR c++/42555
* pt.c (tsubst_decl): Don't apply type attributes in place.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155628 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42567
jason [Mon, 4 Jan 2010 17:53:29 +0000 (17:53 +0000)]
PR c++/42567
* semantics.c (describable_type): Remove decltype comment and
semantics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155627 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agofix comment typo
jason [Mon, 4 Jan 2010 17:53:17 +0000 (17:53 +0000)]
fix comment typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155626 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 4 Jan 2010 17:01:34 +0000 (17:01 +0000)]
2010-01-04  Richard Guenther  <rguenther@suse.de>

* tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use
iterative_hash_* as intended.
(vn_reference_compute_hash): Likewise.  Simplify hashing
SSA names.
(vn_reference_lookup_2): Likewise.
(vn_nary_op_compute_hash): Likewise.
(vn_phi_compute_hash): Likewise.
(expressions_equal_p): Remove strange code.
* tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable ().
(pre_expr_hash): Likewise.  Simplify hashing SSA names.
(bitmap_insert_into_set_1): Take value-id as parameter.
(add_to_value): Pass it.
(bitmap_insert_into_set): Likewise.
(bitmap_value_insert_into_set): Likewise.  Remove redundant check.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155624 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR driver/42442
jakub [Mon, 4 Jan 2010 16:02:41 +0000 (16:02 +0000)]
PR driver/42442
* gcc.c (SWITCH_IGNORE_PERMANENTLY): Define.
(do_self_spec): For switches with SWITCH_IGNORE set set also
SWITCH_IGNORE_PERMANENTLY.
(check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead
of SWITCH_IGNORE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155622 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * sv.po: Update.
jsm28 [Mon, 4 Jan 2010 15:28:39 +0000 (15:28 +0000)]
* sv.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155620 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Rafael Avila de Espindola <espindola@google.com>
espindola [Mon, 4 Jan 2010 15:25:11 +0000 (15:25 +0000)]
2010-01-04  Rafael Avila de Espindola  <espindola@google.com>

* gcc.dg/lto/20100104_0.c: New.

2010-01-04  Rafael Avila de Espindola  <espindola@google.com>

* lto-streamer-out.c (output_unreferenced_globals): Output the full
tree of an unreferenced global var.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155619 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDon't convert GTU to GT for V4SI and V2DI
hjl [Mon, 4 Jan 2010 15:14:31 +0000 (15:14 +0000)]
Don't convert GTU to GT for V4SI and V2DI

gcc/

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* config/i386/i386.c (ix86_expand_int_vcond): Don't convert
GTU to GT for V4SI and V2DI.

* config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP.
(umin<mode>3): Removed.
(uminv8hi3): New.
(uminv4si3): Likewise.

gcc/testsuite/

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR target/42542
* gcc.target/i386/pr42542-1.c: New.
* gcc.target/i386/pr42542-1a.c: Likewise.
* gcc.target/i386/pr42542-1b.c: Likewise.
* gcc.target/i386/pr42542-2.c: Likewise.
* gcc.target/i386/pr42542-2a.c: Likewise.
* gcc.target/i386/pr42542-2b.c: Likewise.
* gcc.target/i386/pr42542-3.c: Likewise.
* gcc.target/i386/pr42542-3a.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155618 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoTurn on trace in collect2 if needed
hjl [Mon, 4 Jan 2010 14:42:38 +0000 (14:42 +0000)]
Turn on trace in collect2 if needed

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42581
* collect2.c (main): Turn on trace in collect2 if -v is passed
to gcc with LTO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155616 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMake 's' atomic
hjl [Mon, 4 Jan 2010 14:28:30 +0000 (14:28 +0000)]
Make 's' atomic

2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>

PR libgomp/42602
* libgomp.fortran/recursion1.f90 (sub): Make 's' atomic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155615 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 08:59:59 +0000 (08:59 +0000)]
2009-01-04  Tobias Burnus  <burnus@net-b.de>

        * ChangeLog-2002: Add copyright footer.
        * ChangeLog-2003: Ditto.
        * ChangeLog-2004: Ditto.
        * ChangeLog-2005: Ditto.
        * ChangeLog-2006: Ditto.
        * ChangeLog-2007: Ditto.
        * ChangeLog-2008: Ditto.
        * ChangeLog-2009: Ditto.
        * ChangeLog: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155611 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFix libgcc build for moxie.
green [Mon, 4 Jan 2010 08:29:53 +0000 (08:29 +0000)]
Fix libgcc build for moxie.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155609 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 07:38:12 +0000 (07:38 +0000)]
2010-01-04  Tobias Burnus  <burnus@net-b.de>

        * trans-decl.c (gfc_trans_deferred_vars): Fix spelling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155607 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-01-04 Tobias Burnus <burnus@net-b.de>
burnus [Mon, 4 Jan 2010 07:30:49 +0000 (07:30 +0000)]
2009-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * trans-expr.c (gfc_conv_procedure_call): Add indirect ref
        for functions returning allocatable scalars.
        * trans-stmt.c (gfc_trans_allocate): Emmit error when
        reallocating an allocatable scalar.
        * trans.c (gfc_allocate_with_status): Fix pseudocode syntax
        in comment.
        * trans-decl.c (gfc_trans_deferred_vars): Nullify local
        allocatable scalars.
        (gfc_generate_function_code): Nullify result variable for
        allocatable scalars.

        PR fortran/40849
        * module.c (gfc_use_module): Fix warning string to allow
        for translation.

        PR fortran/42517
        * invoke.texi (-fcheck=recursion): Mention that the checking
        is also disabled for -frecursive.
        * trans-decl.c (gfc_generate_function_code): Disable
        -fcheck=recursion when -frecursive is used.

        * intrinsic.texi (iso_c_binding): Improve wording.

2009-01-04  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41872
        * gfortran.dg/allocatable_scalar_5.f90: New test.
        * gfortran.dg/allocatable_scalar_6.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155606 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Mon, 4 Jan 2010 05:48:07 +0000 (05:48 +0000)]
2010-01-03  Jerry Quinn  <jlquinn@optonline.net>

* doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
description of expression operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155604 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 4 Jan 2010 01:58:21 +0000 (01:58 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/profile/list: Implement DR 1133 here too.

* testsuite/25_algorithms/set_intersection/34730.cc: Do not force
debug-mode, leads to spurious failures in profile-mode.
* testsuite/25_algorithms/upper_bound/33613.cc: Likewise.
* testsuite/25_algorithms/lower_bound/33613.cc: Likewise.
* testsuite/25_algorithms/set_difference/35541.cc: Likewise.
* testsuite/21_strings/basic_string/40160.cc: Likewise.
* testsuite/23_containers/unordered_map/requirements/debug_mode.cc:
Likewise.
* testsuite/23_containers/multimap/14340.cc: Likewise.
* testsuite/23_containers/bitset/18604.cc: Likewise.
* testsuite/23_containers/set/14340.cc: Likewise.
* testsuite/23_containers/set/18604.cc: Likewise.
* testsuite/23_containers/unordered_set/requirements/
debug_mode.cc: Likewise.
* testsuite/23_containers/vector/
debug_mode_requires_reallocation-1.cc: Likewise.
* testsuite/23_containers/vector/
debug_mode_requires_reallocation-2.cc: Likewise.
* testsuite/23_containers/vector/14340.cc: Likewise.
* testsuite/23_containers/vector/15523.cc: Likewise.
* testsuite/23_containers/vector/18604.cc: Likewise.
* testsuite/23_containers/deque/14340.cc: Likewise.
* testsuite/23_containers/deque/18604.cc: Likewise.
* testsuite/23_containers/multiset/14340.cc: Likewise.
* testsuite/23_containers/list/operations/35969.cc: Likewise.
* testsuite/23_containers/list/14340.cc: Likewise.
* testsuite/23_containers/list/18604.cc: Likewise.
* testsuite/23_containers/map/14340.cc: Likewise.
* testsuite/23_containers/map/18604.cc: Likewise.

* testsuite/26_numerics/random/uniform_real_distribution/
cons/parms_neg.cc: Remove, isn't testing anything.
* testsuite/26_numerics/random/uniform_int_distribution/
cons/parms_neg.cc: Likewise.
* testsuite/tr1/5_numerical_facilities/random/uniform_int/
cons/range_neg.cc: Likewise.

* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation/2.cc: Do not instantiate for
non-defaultconstructible mapped_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155603 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * configure.ac: Add install-html to target_list for Make-hooks.
andrewjenner [Mon, 4 Jan 2010 01:36:36 +0000 (01:36 +0000)]
* configure.ac: Add install-html to target_list for Make-hooks.
* configure: Regenerate.
* fortran/Make-lang.in (F95_HTMLFILES): New.
(fortran.html): Use it.
(fortran.install-html): New.
* Makefile.in (install-html): Add lang.install-html.
* java/Make-lang.in (JAVA_HTMLFILES): New.
(java.html): Use it.
(java.install-html): New.
* objc/Make-lang.in (objc.install-html): New.
* objcp/Make-lang.in (obj-c++.install-html): New.
* cp/Make-lang.in (c++.install-html): New.
* ada/gcc-interface/Make-lang.in (ada.install-html): New.
* lto/Make-lang.in (lto.install-html): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155602 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPass -m* and -v to -plugin-opt
hjl [Mon, 4 Jan 2010 00:52:50 +0000 (00:52 +0000)]
Pass -m* and -v to -plugin-opt

gcc/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42520
* gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt.

lto-plugin/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42520
* lto-plugin.c (exec_lto_wrapper): Output lto-wrapper command
if -v is passed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155601 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Mon, 4 Jan 2010 00:16:55 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155600 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 3 Jan 2010 22:44:56 +0000 (22:44 +0000)]
2010-01-03  Richard Guenther  <rguenther@suse.de>

PR testsuite/42583
* gfortran.dg/gomp/recursion1.f90: Remove.

libgomp/
* testsuite/libgomp.fortran/recursion1.f90: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155597 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR rtl-optimization/41862
steven [Sun, 3 Jan 2010 22:41:22 +0000 (22:41 +0000)]
PR rtl-optimization/41862
* store-motion.c (store_killed_in_insn, compute_store_table,
remove_reachable_equiv_notes, replace_store_insn,
build_store_vectors): Ignore all DEBUG_INSNs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155596 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 3 Jan 2010 22:39:47 +0000 (22:39 +0000)]
2010-01-03  Richard Guenther  <rguenther@suse.de>

* gcc.dg/Warray-bounds.c: Remove XFAILs.
* gcc.dg/uninit-6.c: Likewise.
* gcc.dg/struct/wo_prof_array_through_pointer.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155595 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 3 Jan 2010 20:30:28 +0000 (20:30 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/set.h: Implement DR 130 here too.
* include/debug/multiset.h: Likewise.
* include/debug/map.h: Likewise.
* include/debug/multimap.h: Likewise.
* include/profile/set.h: Implement DR 130 fully.
* include/profile/multiset.h: Likewise.
* include/profile/map.h: Likewise.
* include/profile/multimap.h: Likewise.
* include/debug/list: Implement DR 1133 here too.
* include/ext/pb_ds/detail/debug_map_base.hpp: Comment out for
now uses of __gnu_cxx::throw_allocator.
* testsuite/21_strings/basic_string/40160.cc: Don't pass
explicitly -D_GLIBCXX_DEBUG, doesn't play well with profile-mode
testing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155594 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR libfortran/42420 Large file capable stat for MingW
jb [Sun, 3 Jan 2010 18:09:37 +0000 (18:09 +0000)]
PR libfortran/42420 Large file capable stat for MingW

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155593 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoRotate ChangeLogs for 2008 and 2009
jb [Sun, 3 Jan 2010 18:08:27 +0000 (18:08 +0000)]
Rotate ChangeLogs for 2008 and 2009

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155592 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPass -dumpbase and -dumpdir to gcc for LTO
hjl [Sun, 3 Jan 2010 17:03:38 +0000 (17:03 +0000)]
Pass -dumpbase and -dumpdir to gcc for LTO

gcc/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/41564
* common.opt: Add dumpdir.

* gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase
isn't specified.
(option_map): Add --dumpdir.

* gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir.

* lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o.

* opts.c (decode_options): Try dump_dir_name first if
dump_base_name isn't an absolute path.
(common_handle_option): Handle OPT_dumpdir.

* toplev.c (dump_dir_name): New.
(print_switch_values): Also ignore -dumpdir.

* toplev.h (dump_dir_name): New.

gcc/lto/

2010-01-03  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/41564
* lto.c (DUMPBASE_SUFFIX): New.
(lto_execute_ltrans): Append a sequence number to -dumpbase
for LTRANS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155591 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 3 Jan 2010 16:17:44 +0000 (16:17 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/profile/bitset (bitset<>::bitset(unsigned long long)): Add
in C++0x mode.
* include/debug/bitset (bitset<>::bitset(unsigned long long)):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155589 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 3 Jan 2010 15:23:29 +0000 (15:23 +0000)]
2010-01-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42589
* tree-ssa-math-opts.c (execute_optimize_bswap): Allow
double-word expansion of bswap32.

* gcc.target/i386/pr42589.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155588 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 3 Jan 2010 14:50:09 +0000 (14:50 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/tr1_impl/hashtable (_Hashtable<>): Remove insert_return_type
typedef.
* include/profile/unordered_map (unordered_map<>::insert(const
value_type&), unordered_multimap<>::insert(const value_type&)): Adjust.
* include/profile/unordered_set (unordered_set<>::insert(const
value_type&), unordered_multimap<>::insert(const value_type&)):
Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155587 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
steven [Sun, 3 Jan 2010 13:13:03 +0000 (13:13 +0000)]
* postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM
with BLOCK_FOR_INSN.
* auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise.
* ifcvt.c (noce_get_alt_condition, noce_try_abs,
noce_process_if_block): Likewise.
* gcse.c (compute_local_properties, insert_expr_in_table,
insert_set_in_table, canon_list_insert, find_avail_set,
pre_insert_copy_insn): Likewise.

* basic-block.h (BLOCK_NUM): Move from here...
* sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155586 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sun, 3 Jan 2010 12:06:59 +0000 (12:06 +0000)]
2010-01-03  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_pair.h (pair<>::pair(_U1&&, const _T2&),
pair<>::pair(const _T1&, _U2&&), pair<>::pair(_U1&&, _U2&&)):
Use std::is_constructible instead of std::is_convertible.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155585 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-03 Richard Guenther <rguenther@suse.de>
rguenth [Sun, 3 Jan 2010 12:06:02 +0000 (12:06 +0000)]
2010-01-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42438
* tree-ssa-pre.c (struct bb_bitmap_sets): Add
contains_may_not_return_call flag.
(BB_MAY_NOTRETURN): New.
(valid_in_sets): Trapping nary operations are not valid
in blocks that may not return.
(insert_into_preds_of_block): Remove check for trapping
expressions.
(compute_avail): Compute also BB_MAY_NOTRETURN.

* gcc.dg/tree-ssa/ssa-pre-27.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155584 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * doc/invoke.texi: Add 2010 to copyright years.
gerald [Sun, 3 Jan 2010 10:06:56 +0000 (10:06 +0000)]
* doc/invoke.texi: Add 2010 to copyright years.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155583 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/sparc/sparc.c: Fix formatting nits.
ebotcazou [Sun, 3 Jan 2010 09:49:01 +0000 (09:49 +0000)]
* config/sparc/sparc.c: Fix formatting nits.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155582 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sun, 3 Jan 2010 00:16:41 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155581 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * doc/invoke.texi (Optimize Options): Reword introduction a bit.
gerald [Sat, 2 Jan 2010 19:23:00 +0000 (19:23 +0000)]
* doc/invoke.texi (Optimize Options): Reword introduction a bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155578 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-02 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 2 Jan 2010 19:14:52 +0000 (19:14 +0000)]
2010-01-02  Richard Guenther  <rguenther@suse.de>

PR middle-end/42577
* tree-vrp.c (check_all_array_refs): Skip non-excutable blocks.
(simplify_switch_using_ranges): Mark to be removed edges
as non-executable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155577 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoStop if the command line option file is missing
hjl [Sat, 2 Jan 2010 17:30:12 +0000 (17:30 +0000)]
Stop if the command line option file is missing

2010-01-02  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42580
* lto-elf.c (lto_elf_file_open): Stop if the command line
option file is missing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155575 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
danglin [Sat, 2 Jan 2010 17:27:47 +0000 (17:27 +0000)]
* config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155574 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * collect2.c (scan_libraries): Add missing argument to call to
danglin [Sat, 2 Jan 2010 16:47:40 +0000 (16:47 +0000)]
* collect2.c (scan_libraries): Add missing argument to call to
scan_prog_file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155572 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-02 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 2 Jan 2010 14:38:57 +0000 (14:38 +0000)]
2010-01-02  Richard Guenther  <rguenther@suse.de>

PR testsuite/41651
* g++.dg/lto/20080908-3_0.C: Avoid uninitialized vars.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155569 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/42448
uros [Sat, 2 Jan 2010 14:18:41 +0000 (14:18 +0000)]
PR target/42448
* config/alpha/predicates.md (aligned_memory_operand): Return false
for CQImode.
(unaligned_memory_operand): Return true for CQImode.
* config/alpha/alpha.c (get_aligned_mem): Assert that location
doesn not cross aligned SImode word boundary.

testsuite/ChangeLog:

PR target/42448
* gcc.target/alpha/pr42448-1.c: New test.
* gcc.target/alpha/pr42448-2.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155566 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-02 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 2 Jan 2010 14:13:37 +0000 (14:13 +0000)]
2010-01-02  Richard Guenther  <rguenther@suse.de>

PR lto/41529
* configure.ac: Include config/elf.m4.  Disable LTO if not
builting for an elf target.
* configure: Regenerate.

config/
* elf.m4: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155565 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
aesok [Sat, 2 Jan 2010 11:24:02 +0000 (11:24 +0000)]
* config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
XEXP_) : Remove.
* config/avr/avr-protos.h (avr_init_once, avr_optimization_options,
avr_change_section, avr_reg_class_from_letter) : Remove declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155564 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-02 Richard Guenther <rguenther@suse.de>
rguenth [Sat, 2 Jan 2010 11:11:37 +0000 (11:11 +0000)]
2010-01-02  Richard Guenther  <rguenther@suse.de>

PR lto/41597
* toplev.c (compile_file): Emit LTO marker properly.  Change
it to __gnu_lto_v1.
* collect2.c (scan_prog_file): Adjust for changed LTO marker.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155563 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Sat, 2 Jan 2010 00:16:50 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155562 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Jan 2010 20:22:17 +0000 (20:22 +0000)]
2010-01-01  Richard Guenther  <rguenther@suse.de>

PR debug/42455
* tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID
order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155559 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agolibcpp:
jsm28 [Fri, 1 Jan 2010 18:08:17 +0000 (18:08 +0000)]
libcpp:
PR preprocessor/41947
* expr.c (cpp_classify_number): Give error for hexadecimal
floating-point constant with no digits before or after point.

gcc/testsuite:
* gcc.dg/c99-hexfloat-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155558 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Jan 2010 17:19:02 +0000 (17:19 +0000)]
2010-01-01  Richard Guenther  <rguenther@suse.de>

PR c/42570
* c-decl.c (grokdeclarator): For zero-size arrays force
structural equality checks as layout_type does.

* gcc.c-torture/execute/pr42570.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155557 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoMove 2009 ChangeLog to ChangeLog-2009.
hjl [Fri, 1 Jan 2010 17:08:32 +0000 (17:08 +0000)]
Move 2009 ChangeLog to ChangeLog-2009.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155556 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoRemove asterisk in LTO section name.
hjl [Fri, 1 Jan 2010 16:49:15 +0000 (16:49 +0000)]
Remove asterisk in LTO section name.

2010-01-01  H.J. Lu  <hongjiu.lu@intel.com>

PR lto/42531
* lto-streamer-out.c (produce_asm): Revert the last change.
(copy_function): Likewise.

* lto-streamer.c (lto_get_section_name): Skip any leading
asterisk in name.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155555 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-01 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 1 Jan 2010 13:56:50 +0000 (13:56 +0000)]
2010-01-01  Richard Guenther  <rguenther@suse.de>

PR middle-end/42559
* builtins.c (get_object_alignment): Do not use DECL_ALIGN
for LABEL_DECLs.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155554 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoUpdate README for libffi 3.0.9.
green [Fri, 1 Jan 2010 12:50:08 +0000 (12:50 +0000)]
Update README for libffi 3.0.9.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155553 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDefine HAVE_LONG_DOUBLE appropriately for MIPS.
green [Fri, 1 Jan 2010 12:46:02 +0000 (12:46 +0000)]
Define HAVE_LONG_DOUBLE appropriately for MIPS.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155552 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoxfail tests for AVR32
green [Fri, 1 Jan 2010 12:40:18 +0000 (12:40 +0000)]
xfail tests for AVR32

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155551 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoFixes for HPUX.
green [Fri, 1 Jan 2010 12:36:07 +0000 (12:36 +0000)]
Fixes for HPUX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155550 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoAdd openbsd support.
green [Fri, 1 Jan 2010 12:32:24 +0000 (12:32 +0000)]
Add openbsd support.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155549 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoUpdate xfails.
green [Fri, 1 Jan 2010 12:26:49 +0000 (12:26 +0000)]
Update xfails.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155548 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 1 Jan 2010 11:27:50 +0000 (11:27 +0000)]
2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

Revert last change, reinstantiate basic_string and vstring tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155547 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2010-01-01 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Fri, 1 Jan 2010 10:20:53 +0000 (10:20 +0000)]
2010-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/21_strings/basic_string/requirements/exception/
propagation_consistent.cc: Remove, cannot instantiate basic_string
for non-PODs (21/1).
* testsuite/21_strings/basic_string/requirements/exception/
basic.cc: Likewise.
* testsuite/21_strings/basic_string/requirements/exception/
generation_prohibited.cc: Likewise.
* testsuite/ext/vstring/requirements/exception/
propagation_consistent.cc: Likewise.
* testsuite/ext/vstring/requirements/exception/basic.cc:
Likewise.
* testsuite/ext/vstring/requirements/exception/
generation_prohibited.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155546 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 1 Jan 2010 03:38:58 +0000 (03:38 +0000)]
2009-12-31  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/21772 part 3
* include/ext/throw_allocator.h: Add _GLIBCXX_IS_AGGREGATE.
* testsuite/util/testsuite_container_traits.h (traits<std::map>):
Add has_insert.
(traits<std::multimap>): Add has_insert.
(traits<std::multiset>): Add has_size_type_constructor.
* testsuite/23_containers/array/requirements/exception/
generation_prohibited.cc: New.
* testsuite/21_strings/basic_string/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/ext/vstring/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_map/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/multimap/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/set/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_multimap/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/forward_list/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_set/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/vector/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/deque/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/multiset/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.
* testsuite/23_containers/map/requirements/exception/
basic.cc: New.
generation_prohibited.cc: New.
propagation_consistent.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155545 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago 2009-12-31 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 1 Jan 2010 00:30:45 +0000 (00:30 +0000)]
 2009-12-31  Benjamin Kosnik  <bkoz@redhat.com>

* doc/xml/manual/intro.xml: Order TR's at the end of status.
* doc/xml/manual/abi.xml: Update.
* doc/xml/manual/evolution.xml: Put in stubs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155544 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Fri, 1 Jan 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155543 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoWindows patch
green [Thu, 31 Dec 2009 17:44:32 +0000 (17:44 +0000)]
Windows patch

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155540 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 31 Dec 2009 17:31:28 +0000 (17:31 +0000)]
2009-12-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/bitset (bitset<>::bitset(unsigned long long),
_Base_bitset<>::_Base_bitset(unsigned long long)): Add
in C++0x mode.
* testsuite/23_containers/bitset/cons/3.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155539 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoNew test case.
green [Thu, 31 Dec 2009 16:58:55 +0000 (16:58 +0000)]
New test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155538 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 31 Dec 2009 14:38:01 +0000 (14:38 +0000)]
2009-12-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/type_traits: Fix minor stylistic nit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155537 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-31 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 31 Dec 2009 14:04:23 +0000 (14:04 +0000)]
2009-12-31  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/type_traits (__is_constructible_helper1): Rename
to __is_constructible_helper1, tweaked to a specialization of
__is_constructible_helper.
(is_constructible): Adjust; minor formatting and stylistic
changes throughout.
* testsuite/util/testsuite_tr1.h (test_relationship): Change
variadic version to an overload of test_property.
* testsuite/20_util/is_constructible/value.cc: Adjust.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust dg-error line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155536 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * tree-dump.c (dump_options): Don't set TDF_NOUID for all.
jakub [Thu, 31 Dec 2009 10:52:56 +0000 (10:52 +0000)]
* tree-dump.c (dump_options): Don't set TDF_NOUID for all.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155535 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-31 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
davek [Thu, 31 Dec 2009 01:35:24 +0000 (01:35 +0000)]
2009-12-31  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>

PR target/41605
* config/darwin.h (LINK_COMMAND_SPEC): Resolve fopenmp specifically
for target.
(LINK_SPEC): Replace dynamic libraries by static equivalents where
necessary.
* config/darwin9.h (LINK_COMMAND_SPEC): Resolve fopenmp specifically
for target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155534 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Thu, 31 Dec 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155533 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 30 Dec 2009 23:37:28 +0000 (23:37 +0000)]
2009-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/type_traits: Fix minor formatting nit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155530 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-30 Daniel Frey <d.frey@gmx.de>
paolo [Wed, 30 Dec 2009 23:22:58 +0000 (23:22 +0000)]
2009-12-30  Daniel Frey  <d.frey@gmx.de>
    Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/type_traits (is_explicitly_convertible,
is_constructible): Add.
* testsuite/util/testsuite_tr1.h (ExplicitClass): Add.
* testsuite/20_util/is_explicitly_convertible/value.cc: New.
* testsuite/20_util/is_constructible/value.cc: Likewise.

2009-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/util/testsuite_tr1.h (test_relationship): Add
variadic version.
* testsuite/20_util/is_explicitly_convertible/requirements/
typedefs.cc: New.
* testsuite/20_util/is_explicitly_convertible/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_constructible/requirements/typedefs.cc:
Likewise.
* testsuite/20_util/is_constructible/requirements/
explicit_instantiation.cc: Likewise.
* testsuite/20_util/is_convertible/value.cc: Extend.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc:
Adjust dg-error line numbers.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155529 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR lto/42531
davek [Wed, 30 Dec 2009 23:20:55 +0000 (23:20 +0000)]
PR lto/42531
* lto-streamer-out.c (produce_asm): Skip any leading asterisk when
using DECL_ASSEMBLER_NAME to generate a section name.
(copy_function): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155528 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoPR target/42516
schwab [Wed, 30 Dec 2009 23:03:46 +0000 (23:03 +0000)]
PR target/42516
* config/m68k/m68k.md (rotlsi_16): New insn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155527 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c/42439
jsm28 [Wed, 30 Dec 2009 21:28:45 +0000 (21:28 +0000)]
PR c/42439
* c-decl.c (check_bitfield_type_and_width): Only pedwarn if
pedantic for bit-field width not an integer constant expression
but folding to one.

testsuite:
* gcc.dg/bitfld-19.c, gcc.dg/bitfld-20.c, gcc.dg/bitfld-21.c: New
tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155526 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR tree-optimization/41956
irar [Wed, 30 Dec 2009 12:53:18 +0000 (12:53 +0000)]
PR tree-optimization/41956
* tree-vect-slp.c (vect_supported_load_permutation_p): Add check that
the load indices differ.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155523 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * testsuite/gcc.target/i386/pr42549.c (mmx_3dnow_test): Add static.
uros [Wed, 30 Dec 2009 11:23:10 +0000 (11:23 +0000)]
* testsuite/gcc.target/i386/pr42549.c (mmx_3dnow_test): Add static.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155520 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR target/42549
uros [Wed, 30 Dec 2009 11:07:12 +0000 (11:07 +0000)]
PR target/42549
* config/i386/mmx.md ("*mmx_subv2sf3): Fix insn operand number for
alternative 1.

testsuite/ChangeLog:

PR target/42549
* gcc.target/i386/mmx-3dnow-check.h: New file.
* gcc.target/i386/pr42549.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155519 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago/gcc
paolo [Wed, 30 Dec 2009 10:53:31 +0000 (10:53 +0000)]
/gcc
2009-12-30  Robert Millan  <rmh.gcc@aybabtu.com>

PR other/42537
* errors.c: Fix typo in comment.
* graphite-sese-to-poly.c: Likewise.
* profile.c (is_inconsistent): Fix typo in string.

/libjava
2009-12-30  Robert Millan  <rmh.gcc@aybabtu.com>

PR other/42537
* classpath/java/rmi/activation/Activatable.java: Fix typos in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155518 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-30 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Wed, 30 Dec 2009 10:34:41 +0000 (10:34 +0000)]
2009-12-30  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/stl_iterator.h.: Fix typo in comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155517 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago./:
ian [Wed, 30 Dec 2009 04:27:55 +0000 (04:27 +0000)]
./:
PR middle-end/42099
* expmed.c (expand_divmod): Don't shift HOST_WIDE_INT value more
than HOST_BITS_PER_WIDE_INT.
testsuite/:
PR middle-end/42099
* gcc.c-torture/execute/20091229-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155516 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-29 Edward Smith-Rowland <3dw4rd@verizon.net>
paolo [Wed, 30 Dec 2009 02:08:23 +0000 (02:08 +0000)]
2009-12-29  Edward Smith-Rowland  <3dw4rd@verizon.net>

* include/bits/random.h: Fix equation in comment of Weibull distro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155515 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agoDaily bump.
gccadmin [Wed, 30 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155514 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 29 Dec 2009 21:05:13 +0000 (21:05 +0000)]
2009-12-29  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_expand_int_vcond): Reformat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155509 138bc75d-0d04-0410-961f-82ee72b054a4

12 years agogcc/fortran/
janus [Tue, 29 Dec 2009 19:29:54 +0000 (19:29 +0000)]
gcc/fortran/
2009-12-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42517
* invoke.texi: Document the interference of
-fcheck=recursion and -fopenmp.
* trans-decl.c (gfc_generate_function_code): Disable -fcheck=recursion
when used with -fopenmp.

gcc/testsuite/
2009-12-29  Janus Weil  <janus@gcc.gnu.org>

PR fortran/42517
* gfortran.dg/gomp/recursion1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155506 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM.
ebotcazou [Tue, 29 Dec 2009 16:12:03 +0000 (16:12 +0000)]
* gnat.dg/test_raise_from_pure.adb: XFAIL for the ARM.
* gnat.dg/warn5.adb: Expect warning on the ARM.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155505 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 29 Dec 2009 12:24:36 +0000 (12:24 +0000)]
2009-12-29  Paolo Carlini  <paolo.carlini@oracle.com>

* include/std/bitset (bitset<>::to_ullong, _M_do_to_ullong): Add.
(_Base_bitset<>::_M_do_to_ullong): Add.
* include/debug/bitset (bitset<>): Add using _Base::to_ullong.
* include/profile/bitset (bitset<>): Likewise.
* testsuite/23_containers/bitset/to_ullong/1.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155504 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * zh_CN.po: Update.
jsm28 [Tue, 29 Dec 2009 11:48:31 +0000 (11:48 +0000)]
* zh_CN.po: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155503 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
brobecke [Tue, 29 Dec 2009 04:14:21 +0000 (04:14 +0000)]
    * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155501 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago 2009-10-06 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
davek [Tue, 29 Dec 2009 04:13:09 +0000 (04:13 +0000)]
  2009-10-06 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>

PR objective-c++/41595
* config/darwin.c (darwin_label_is_anonymous_local_objc_name):
New function to recognize objective c/c++ internal symbols,
including mangled ones.
* config/darwin.h (ASM_OUTPUT_LABELREF): Use
darwin_label_is_anonymous_local_objc_name to detect both
mangled and clear ObjC internal symbols.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155500 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago PR c++/42447
jason [Tue, 29 Dec 2009 03:33:24 +0000 (03:33 +0000)]
PR c++/42447
* pt.c (iterative_hash_template_arg): Don't rely on TYPE_CANONICAL
for ARRAY_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155499 138bc75d-0d04-0410-961f-82ee72b054a4

12 years ago2009-12-28 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 29 Dec 2009 00:29:12 +0000 (00:29 +0000)]
2009-12-28  Paolo Carlini  <paolo.carlini@oracle.com>

* include/debug/bitset (bitset<>::bitset(const char*)): Add.
* include/profile/bitset (bitset<>::bitset(const char*)): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155498 138bc75d-0d04-0410-961f-82ee72b054a4