Paolo Carlini [Fri, 5 Feb 2010 17:25:12 +0000 (17:25 +0000)]
future (swap(packaged_task<>&, packaged_task<>&)): Fix typo in last commit.
2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
typo in last commit.
From-SVN: r156525
Ozkan Sezer [Fri, 5 Feb 2010 17:23:24 +0000 (17:23 +0000)]
msformat-c.c (ms_printf_length_specs): Set the scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
2010-02-05 Ozkan Sezer <sezeroz@gmail.com>
* config/i386/msformat-c.c (ms_printf_length_specs): Set the
scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
From-SVN: r156524
Ozkan Sezer [Fri, 5 Feb 2010 17:22:54 +0000 (17:22 +0000)]
ms-format3.c: New test for specific MS types.
2010-02-05 Ozkan Sezer <sezeroz@gmail.com>
* gcc.dg/format/ms-format3.c: New test for specific MS types.
From-SVN: r156523
Paolo Carlini [Fri, 5 Feb 2010 17:19:10 +0000 (17:19 +0000)]
future (swap(packaged_task<>&, packaged_task<>&), [...]): Add; minor formatting fixes.
2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/future (swap(packaged_task<>&, packaged_task<>&),
swap(promise<>&, promise<>&)): Add; minor formatting fixes.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
dg-error line number.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.
From-SVN: r156522
Richard Guenther [Fri, 5 Feb 2010 15:38:04 +0000 (15:38 +0000)]
Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
2010-02-05 Richard Guenther <rguenther@suse.de>
* Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
* cp-lang.c: Include gt-cp-cp-lang.h.
* config-lang.in (gtfiles): Add cp/cp-lang.c.
From-SVN: r156521
Richard Guenther [Fri, 5 Feb 2010 15:31:15 +0000 (15:31 +0000)]
re PR lto/42762 (ICE in get_resolution() when compiling a C++ program with -flto -fuse-linker-plugin)
2010-02-05 Richard Guenther <rguenther@suse.de>
PR lto/42762
* lto-streamer-in.c (get_resolution): Deal with references
to undefined functions.
From-SVN: r156520
Richard Guenther [Fri, 5 Feb 2010 15:28:31 +0000 (15:28 +0000)]
tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions.
2010-02-05 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (get_symbol_constant_value): Strip all
conversions.
(fold_const_aggregate_ref): Likewise.
(ccp_fold_stmt): Substitute loads.
(maybe_fold_reference): Verify types before substituting.
Unshare properly.
(fold_gimple_assign): Unshare properly.
(fold_stmt_1): Insert conversion if necessary before replacing
the RHS.
* gcc.dg/tree-ssa/ssa-ccp-28.c: New testcase.
From-SVN: r156519
Nathan Froyd [Fri, 5 Feb 2010 14:47:34 +0000 (14:47 +0000)]
rs6000.c (rs6000_override_options): Invert check for rs6000_gen_cell_microcode.
* config/rs6000/rs6000.c (rs6000_override_options): Invert check
for rs6000_gen_cell_microcode.
From-SVN: r156518
Joseph Myers [Fri, 5 Feb 2010 12:58:58 +0000 (12:58 +0000)]
be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po: Update.
From-SVN: r156517
Joseph Myers [Fri, 5 Feb 2010 12:58:00 +0000 (12:58 +0000)]
be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
nl.po, ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.
From-SVN: r156516
Paolo Carlini [Fri, 5 Feb 2010 10:55:54 +0000 (10:55 +0000)]
stl_algobase.h (struct __iter_base): Rename to _Iter_base; add iterator_type typedef.
2010-02-05 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/stl_algobase.h (struct __iter_base): Rename to
_Iter_base; add iterator_type typedef.
(struct __miter_base): Rename to _Miter_base.
(struct __niter_base): Rename to _Niter_base.
(__miter_base, __niter_base): Add, use the latter; adjust everywhere.
From-SVN: r156515
Dodji Seketeli [Fri, 5 Feb 2010 08:28:24 +0000 (08:28 +0000)]
re PR c++/42915 (ICE: same canonical type node for different types in recent builds)
Fix PR c++/42915
gcc/cp/ChangeLog:
PR c++/42915
* typeck.c (get_template_parms_of_dependent_type): Try getting
the template parameters fromt the type itself first.
gcc/testsuite/ChangeLog:
PR c++/42915
g++.dg/other/crash-9.C: New test.
From-SVN: r156514
Paul Thomas [Fri, 5 Feb 2010 05:28:37 +0000 (05:28 +0000)]
re PR fortran/42309 (Problem with a pointer array passed to a subroutine)
2010-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/42309
* trans-expr.c (gfc_conv_subref_array_arg): Add new argument
'formal_ptr'. If this is true, give returned descriptor unity
lbounds, in all dimensions, and the appropriate offset.
(gfc_conv_procedure_call); If formal is a pointer, set the last
argument of gfc_conv_subref_array_arg to true.
* trans.h : Add last argument for gfc_conv_subref_array_arg.
* trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
new arg of gfc_conv_subref_array_arg to false.
* trans-stmt.c (forall_make_variable_temp): The same.
2010-02-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/42309
* gfortran.dg/subref_array_pointer_4.f90 : New test.
From-SVN: r156512
GCC Administrator [Fri, 5 Feb 2010 00:16:45 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156506
Benjamin Kosnik [Thu, 4 Feb 2010 18:20:34 +0000 (18:20 +0000)]
re PR libstdc++/42460 (man page errors for generated libstdc++ man pages)
2010-02-04 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/42460
* doc/doxygen/user.cfg.in: Update file list.
* include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
* include/debug/safe_base.h: Same.
* include/debug/macros.h: Same.
* include/tr1_impl/regex: Same.
* include/std/iostream: Same.
* include/std/streambuf: Same.
* include/std/bitset: Same.
* include/std/iosfwd: Same.
* include/std/limits: Same.
* include/std/fstream: Same.
* include/std/istream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/parallel/multiway_merge.h: Same.
* include/parallel/for_each.h: Same.
* include/parallel/workstealing.h: Same.
* include/parallel/omp_loop_static.h: Same.
* include/parallel/omp_loop.h: Same.
* include/c_std/csignal: Same.
* include/c_std/cstdlib: Same.
* include/c_std/cstdio: Same.
* include/c_std/cstdarg: Same.
* include/c_std/cctype: Same.
* include/c_std/cerrno: Same.
* include/c_std/cmath: Same.
* include/c_std/ciso646: Same.
* include/c_std/ctime: Same.
* include/c_std/clocale: Same.
* include/c_std/climits: Same.
* include/c_std/cassert: Same.
* include/c_std/csetjmp: Same.
* include/c_std/cwchar: Same.
* include/c_std/cfloat: Same.
* include/c_std/cstring: Same.
* include/c_std/cstddef: Same.
* include/c_std/cwctype: Same.
* include/profile/iterator_tracker.h: Same.
* include/profile/impl/profiler_trace.h: Same.
* include/ext/vstring.h: Same.
* include/ext/algorithm: Same.
* include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
* include/ext/pb_ds/detail/type_utils.hpp: Same.
* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
* include/ext/rc_string_base.h: Same.
* include/ext/stdio_sync_filebuf.h: Same.
* include/ext/functional: Same.
* include/ext/mt_allocator.h: Same.
* include/bits/basic_ios.h: Same.
* include/bits/stl_map.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/locale_classes.h: Same.
* include/bits/stl_set.h: Same.
* include/bits/locale_facets.h: Same.
* include/bits/stl_stack.h: Same.
* include/bits/stl_iterator_base_types.h: Same.
* include/bits/basic_string.h: Same.
* include/bits/stl_multimap.h: Same.
* include/bits/ios_base.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_multiset.h: Same.
* include/bits/stl_iterator_base_funcs.h: Same.
* include/bits/char_traits.h: Same.
* include/bits/stl_algo.h: Same.
* include/bits/stl_iterator.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/random.tcc: Same.
* include/bits/stl_function.h: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/random.h: Same.
* include/bits/allocator.h: Same.
* include/bits/locale_facets_nonio.h: Same.
* include/c_global/csignal: Same.
* include/c_global/cstdlib: Same.
* include/c_global/cstdio: Same.
* include/c_global/cstdarg: Same.
* include/c_global/cctype: Same.
* include/c_global/cerrno: Same.
* include/c_global/cmath: Same.
* include/c_global/ciso646: Same.
* include/c_global/ctime: Same.
* include/c_global/clocale: Same.
* include/c_global/climits: Same.
* include/c_global/cassert: Same.
* include/c_global/csetjmp: Same.
* include/c_global/cwchar: Same.
* include/c_global/cfloat: Same.
* include/c_global/cstring: Same.
* include/c_global/cstddef: Same.
* include/c_global/cwctype: Same.
* include/tr1/hypergeometric.tcc: Same.
* include/tr1/random.tcc: Same.
* include/tr1/functional: Same.
* include/tr1/random.h: Same.
* include/backward/auto_ptr.h: Same.
* include/backward/binders.h: Same.
* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
Adjust line numbers.
* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
Same.
* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
Same.
From-SVN: r156502
Tom Tromey [Thu, 4 Feb 2010 16:54:31 +0000 (16:54 +0000)]
* testsuite/demangle-expected: Add missing --format=gnu-v3.
From-SVN: r156498
Joseph Myers [Thu, 4 Feb 2010 16:22:03 +0000 (16:22 +0000)]
* gcc.pot: Regenerate.
From-SVN: r156497
Richard Guenther [Thu, 4 Feb 2010 16:14:17 +0000 (16:14 +0000)]
re PR rtl-optimization/42952 (possible integer wrong code bug)
2010-02-04 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/42952
* dse.c (const_or_frame_p): Remove MEM handling.
* gcc.dg/torture/pr42952.c: New testcase.
From-SVN: r156494
Nick Clifton [Thu, 4 Feb 2010 08:49:55 +0000 (08:49 +0000)]
mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
* config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
(function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM.
(mn10300_asm_output_mi_thunk): New function.
(mn10300_can_output_mu_thunk): New function.
* config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define.
(FUNCTION_ARG_REGNO_P): Fix comment. Accept d0 and d1.
(FUNCTION_ARG): Delete incorrect comment.
From-SVN: r156492
Eric Botcazou [Thu, 4 Feb 2010 08:37:25 +0000 (08:37 +0000)]
Fix a couple of nits
From-SVN: r156491
Jerry DeLisle [Thu, 4 Feb 2010 01:53:37 +0000 (01:53 +0000)]
re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/42901
* gfortran.dg/namelist_60.f90: New test.
From-SVN: r156488
Jerry DeLisle [Thu, 4 Feb 2010 01:49:41 +0000 (01:49 +0000)]
re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-03 Jerry DeLisle <jvdelisle@gcc.gnu.org>
PR libfortran/42901
* io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
code, and adjust logic to set namelist info pointer correctly for array
qualifiers of derived type components.
From-SVN: r156487
GCC Administrator [Thu, 4 Feb 2010 00:16:49 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156486
Jason Merrill [Wed, 3 Feb 2010 21:53:41 +0000 (16:53 -0500)]
re PR c++/40138 (ICE with invalid va_arg)
PR c++/40138
* fold-const.c (operand_equal_p): Handle erroneous types.
From-SVN: r156483
Jason Merrill [Wed, 3 Feb 2010 20:42:48 +0000 (15:42 -0500)]
re PR c++/4926 (C++ ABI needs clarification on mangling of complex expressions)
PR c++/4926
PR c++/38600
* mangle.c (write_unqualified_id): Split out from write_expression.
(write_unqualified_name): Call it.
(write_member_name): Likewise.
(write_expression): Support TEMPLATE_ID_EXPR.
Disambiguate operator names.
From-SVN: r156482
Jason Merrill [Wed, 3 Feb 2010 20:42:35 +0000 (15:42 -0500)]
re PR c++/12909 (ambiguity in mangling vector types)
PR c++/12909
* mangle.c (write_type) [VECTOR_TYPE]: Change mangling.
From-SVN: r156481
Kaushik Phatak [Wed, 3 Feb 2010 20:18:44 +0000 (20:18 +0000)]
h8300.md (can_delay): Fix attibute condition.
* config/h8300/h8300.md (can_delay): Fix attibute condition.
From-SVN: r156480
Jonathan Wakely [Wed, 3 Feb 2010 20:16:22 +0000 (20:16 +0000)]
condition_variable (condition_variable_any): Provide definitions for all members.
2010-02-03 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/std/condition_variable (condition_variable_any): Provide
definitions for all members.
* src/condition_variable.cc (condition_variable_any): Adjust
definitions.
* config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Adjust dg-error line number.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable_any/members/1.cc: New.
* testsuite/30_threads/condition_variable_any/members/2.cc: New.
* testsuite/30_threads/condition_variable_any/requirements/
standard_layout.cc: Remove.
* testsuite/30_threads/condition_variable_any/native_handle/
typesizes.cc: Remove.
From-SVN: r156479
Vladimir Makarov [Wed, 3 Feb 2010 19:01:31 +0000 (19:01 +0000)]
re PR rtl-optimization/42941 (-fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable)
2010-02-03 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimizations/42941
* sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
of xmalloc.
From-SVN: r156472
Jason Merrill [Wed, 3 Feb 2010 16:29:17 +0000 (11:29 -0500)]
add missing ChangeLog
From-SVN: r156470
Jason Merrill [Wed, 3 Feb 2010 16:28:07 +0000 (11:28 -0500)]
re PR c++/35652 (offset warning should be given in the front-end)
PR c++/35652
* builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics.
From-SVN: r156469
Alexandre Oliva [Wed, 3 Feb 2010 15:00:33 +0000 (15:00 +0000)]
re PR debug/42896 (Random debug generation differences, bootstrap fails)
2010-02-03 Alexandre Oliva <aoliva@redhat.com>
PR debug/42896
* cselib.h (struct cselib_val_struct): Add uid. Rename value to
hash.
(cselib_reset_table): Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Renamed from...
(cselib_get_next_unknown_value): ... this.
* cselib.c (next_uid): Renamed from...
(next_unknown_value): ... this.
(cselib_clear_table): Adjust.
(cselib_reset_table): Adjust. Renamed from...
(cselib_reset_table_with_next_value): ... this.
(cselib_get_next_uid): Adjust. Renamed from...
(cselib_get_next_unknown_value): ... this.
(get_value_hash): Use hash.
(cselib_hash_rtx): Likewise.
(new_cselib_val): Adjust. Set and dump uid.
(cselib_lookup_mem): Pass next_uid as hash.
(cselib_subst_to_values): Likewise.
(cselib_log_lookup): Dump uid.
(cselib_lookup): Pass next_uid as hash. Adjust.
(cselib_process_insn): Adjust.
(cselib_init): Initialize next_uid.
(cselib_finish): Adjust.
(dump_cselib_table): Likewise.
* dse.c (canon_address): Dump value uid.
* print-rtl.c (print_rtx): Print value uid.
* var-tracking.c (VARIABLE_HASH_VAL): Dropped.
(dvuid): New type.
(dv_uid): New function, sort of renamed from...
(dv_htab_hash): ... this, reimplemented in terms of it and...
(dv_uid2hash): ... this. New.
(variable_htab_eq): Drop excess assertions.
(tie_break_pointers): Removed.
(canon_value_cmp): Compare uids.
(variable_post_merge_New_vals): Print uids.
(vt_add_function_parameters): Adjust.
(vt_initialize): Reset table. Adjust.
From-SVN: r156468
Richard Guenther [Wed, 3 Feb 2010 13:03:39 +0000 (13:03 +0000)]
re PR tree-optimization/42944 (errno misoptimization around malloc call)
2010-02-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42944
* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
calloc.
(call_may_clobber_ref_p_1): Likewise. Properly handle
malloc and calloc clobbering errno.
* gcc.dg/errno-1.c: New testcase.
From-SVN: r156467
Steven Bosscher [Wed, 3 Feb 2010 12:36:27 +0000 (12:36 +0000)]
invoke.texi: Fix name of sched1 dump.
* doc/invoke.texi: Fix name of sched1 dump.
* opts.c (decode_options): Set flag_tree_switch_conversion
only conditionally on optimize >= 2.
* gcse.c: Assorted comment fixes in pass description.
From-SVN: r156466
Anthony Green [Wed, 3 Feb 2010 11:36:30 +0000 (11:36 +0000)]
Fix moxie tramponline alignment problem
From-SVN: r156465
Richard Guenther [Wed, 3 Feb 2010 11:13:17 +0000 (11:13 +0000)]
re PR tree-optimization/42927 (type mismatch in shift expression produces ice with -O3)
2010-02-03 Richard Guenther <rguenther@suse.de>
PR middle-end/42927
* tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.
* gcc.c-torture/compile/pr42927.c: New testcase.
From-SVN: r156464
Rainer Orth [Wed, 3 Feb 2010 09:03:59 +0000 (09:03 +0000)]
config.gcc: Reenable check for obsolete targets.
* config.gcc: Reenable check for obsolete targets.
Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
mips-sgi-irix6.[0-4]*.
From-SVN: r156462
Tobias Burnus [Wed, 3 Feb 2010 08:26:08 +0000 (09:26 +0100)]
re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg)
2010-02-03 Tobias Burnus <burnus@net-b.de>
PR fortran/42936
* interface.c (compare_parameter): Disable rank-checking
for NULL().
2010-02-03 Tobias Burnus <burnus@net-b.de>
PR fortran/42936
* gfortran.dg/null_4.f90: New test.
From-SVN: r156461
Paolo Carlini [Wed, 3 Feb 2010 00:38:52 +0000 (00:38 +0000)]
vstring.h (__versa_string::shrink_to_fit): Fix for -fno-exceptions.
2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
* include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
for -fno-exceptions.
From-SVN: r156460
Benjamin Kosnik [Wed, 3 Feb 2010 00:20:05 +0000 (00:20 +0000)]
allocator.h: Fix for -fno-exceptions.
2010-02-02 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Fix for -fno-exceptions.
* include/bits/basic_string.h (basic_string::shrink_to_fit): Same.
From-SVN: r156459
GCC Administrator [Wed, 3 Feb 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156458
Jason Merrill [Wed, 3 Feb 2010 00:07:49 +0000 (19:07 -0500)]
re PR c++/41090 (Using static label reference in c++ class constructor produces wrong code)
PR c++/41090
* decl.c (cp_finish_decl): Add local statics to cfun->local_decls.
* optimize.c (clone_body): Remap their initializers when making base
variants.
(maybe_clone_body): Complain if multiple clones aren't safe.
From-SVN: r156455
Paolo Carlini [Tue, 2 Feb 2010 15:04:01 +0000 (15:04 +0000)]
2010-02-02 Paolo Carlini <paolo.carlini@oracle.com>
Adjust date of the last ChangeLog entry.
From-SVN: r156452
Paolo Carlini [Tue, 2 Feb 2010 14:59:53 +0000 (14:59 +0000)]
unique_future: Rename to /future.
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/30_threads/unique_future: Rename to /future.
From-SVN: r156451
Tobias Burnus [Tue, 2 Feb 2010 13:05:50 +0000 (14:05 +0100)]
re PR fortran/42650 (F90: DT function with in-line DT definition and RESULT is rejected)
2010-02-02 Tobias Burnus <burnus@net-b.de>
PR fortran/42650
* parse.c (decode_specification_statement): Use sym->result not
* sym.
2010-02-02 Tobias Burnus <burnus@net-b.de>
PR fortran/42650
* gfortran.dg/func_result_5.f90: New test.
From-SVN: r156449
Nick Clifton [Tue, 2 Feb 2010 09:18:04 +0000 (09:18 +0000)]
rx.c (rx_is_legitimate_constant): Treat a maximum constant size of 4 as being the same as 0.
* config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum
constant size of 4 as being the same as 0.
* doc/invoke.texi (RX Options): Document that -mmax-constant-size
can take values in the range 0..4.
From-SVN: r156447
Jack Howarth [Tue, 2 Feb 2010 08:19:26 +0000 (08:19 +0000)]
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
* include/posix.h: Redefine _Unwind_FindEnclosingFunction.
From-SVN: r156446
Jack Howarth [Tue, 2 Feb 2010 08:18:48 +0000 (08:18 +0000)]
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
* config/t-slibgcc-darwin: Add libgcc-libsystem.ver to
SHLIB_MAPFILES.
From-SVN: r156445
Jack Howarth [Tue, 2 Feb 2010 08:18:08 +0000 (08:18 +0000)]
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu>
PR java/41991
* unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction()
as _darwin10_Unwind_FindEnclosingFunction().
* libgcc-libsystem.ver: New.
From-SVN: r156444
GCC Administrator [Tue, 2 Feb 2010 00:17:09 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r156440
Tobias Burnus [Mon, 1 Feb 2010 21:37:49 +0000 (22:37 +0100)]
re PR fortran/42922 (Wrongly rejected derived types with default initializers in PURE procedures 2)
2010-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/42922
* decl.c (variable_decl): Allow default initializer in
TYPE declarations in PURE functions.
2010-02-01 Tobias Burnus <burnus@net-b.de>
PR fortran/42922
* gfortran.dg/pure_initializer_3.f90: News test.
From-SVN: r156433
Vladimir Makarov [Mon, 1 Feb 2010 19:52:42 +0000 (19:52 +0000)]
re PR target/41399 (Scheduler gives huge dependence graph compiling fortran/intrinsic.c on ARM)
2010-02-01 Vladimir Makarov <vmakarov@redhat.com>
PR target/41399
* sched-deps.c (sched_analyze_insn): Ignore fixed registers for
implicitly set registers.
From-SVN: r156431
Paolo Carlini [Mon, 1 Feb 2010 19:45:23 +0000 (19:45 +0000)]
re PR libstdc++/42408 (Missing templatized seed())
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/42408
* include/bits/random.h (linear_congruential_engine<>::
linear_congruential_engine(seed_seq&),
linear_congruential_engine<>::seed(seed_seq&),
mersenne_twister<>::mersenne_twister(seed_seq&),
mersenne_twister<>::seed(seed_seq&),
subtract_with_carry_engine<>::subtract_with_carry_engine(seed_seq&),
subtract_with_carry_engine<>::seed(seed_seq&),
discard_block_engine<>::discard_block_engine(seed_seq&),
discard_block_engine<>::seed(seed_seq&),
independent_bits_engine<>::independent_bits_engine(seed_seq&),
independent_bits_engine<>::seed(seed_seq&),
shuffle_order_engine<>::shuffle_order_engine(seed_seq&),
shuffle_order_engine<>::seed(seed_seq&)): Templatize.
* include/bits/random.tcc: Adjust.
* testsuite/26_numerics/random/subtract_with_carry_engine/cons/
seed_seq.cc: New.
* testsuite/26_numerics/random/mersenne_twister_engine/cons/
seed_seq.cc: Likewise.
* testsuite/26_numerics/random/linear_congruential_engine/
cons/seed_seq.cc: Likewise.
From-SVN: r156430
Richard Earnshaw [Mon, 1 Feb 2010 15:09:20 +0000 (15:09 +0000)]
arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
* arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K.
(arm_override_options): Allow automatic selection of the thread
pointer register if thumb2.
(legitimize_pic_address): Improve code sequences for Thumb2.
(arm_call_tls_get_addr): Likewise.
(legitimize_tls_address): Likewise.
* arm.md (pic_load_addr_arm): Delete. Replace with ...
(pic_load_addr_32bit): ... this. New named pattern.
* thumb2.md (pic_load_addr_thumb2): Delete.
(pic_load_dot_plus_four): Delete.
(tls_load_dot_plus_four): New named pattern.
From-SVN: r156428
Rainer Orth [Mon, 1 Feb 2010 13:35:10 +0000 (13:35 +0000)]
re PR libgomp/29986 (testsuite failures)
PR libgomp/29986
* doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry.
Document fix for TLS bug.
From-SVN: r156427
Paolo Carlini [Mon, 1 Feb 2010 13:10:12 +0000 (13:10 +0000)]
forward_list.h (forward_list<>::resize(size_type), [...]): Only declare.
2010-02-01 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (forward_list<>::resize(size_type),
forward_list(size_type)): Only declare.
* include/bits/forward_list.tcc (forward_list<>::resize(size_type),
forward_list(size_type)): Define, don't assume CopyConstructible.
* testsuite/23_containers/forward_list/cons/10.cc: New.
* testsuite/23_containers/forward_list/modifiers/6.cc: Likewis.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
* include/bits/forward_list.h: Use _M_get_Node_allocator throughout.
From-SVN: r156426
Joseph Myers [Mon, 1 Feb 2010 00:28:40 +0000 (00:28 +0000)]
* sv.po: Update.
From-SVN: r156423
GCC Administrator [Mon, 1 Feb 2010 00:16:39 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156422
Paolo Carlini [Sun, 31 Jan 2010 22:52:25 +0000 (22:52 +0000)]
generation_prohibited.c: Remove, swap can indeed throw (DR 774).
2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/23_containers/array/requirements/exception/
generation_prohibited.c: Remove, swap can indeed throw (DR 774).
* testsuite/util/exception/safety.h (insert_base<__versa_string>): Fix.
* testsuite/util/testsuite_container_traits.h
(traits<__versa_string>): Enable insert tests.
2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (forward_list<>::insert_after
(const_iterator, size_type, const _Tp&), insert_after(const_iterator,
_InputIterator, _InputIterator), insert_after(const_iterator,
std::initializer_list<>)): Fix return type per N3000.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
Adjust.
* testsuite/23_containers/forward_list/modifiers/2.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: Likewise.
From-SVN: r156419
Janus Weil [Sun, 31 Jan 2010 21:56:02 +0000 (22:56 +0100)]
re PR fortran/42888 (ICE in fold_convert_loc, at fold-const.c:2670)
gcc/fortran/
2010-01-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/42888
* resolve.c (resolve_allocate_expr): Move default initialization code
here from gfc_trans_allocate.
* trans.c (gfc_trans_code): Call gfc_trans_class_assign also for
EXEC_INIT_ASSIGN.
* trans-expr.c (gfc_trans_class_assign): Handle default initialization
of CLASS variables via memcpy.
* trans-stmt.c (gfc_trans_allocate): Move default initialization code
to resolve_allocate_expr.
gcc/testsuite/
2010-01-31 Janus Weil <janus@gcc.gnu.org>
PR fortran/42888
* gfortran.dg/allocate_derived_2.f90: New test.
From-SVN: r156418
Eric Botcazou [Sun, 31 Jan 2010 20:00:54 +0000 (20:00 +0000)]
re PR middle-end/42898 (volatile structures and compound literal initializers)
PR middle-end/42898
* gcc.dg/torture/pr42898-2.c: New test.
From-SVN: r156414
Richard Guenther [Sun, 31 Jan 2010 19:54:32 +0000 (19:54 +0000)]
tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be conservatively correct.
2010-01-31 Richard Guenther <rguenther@suse.de>
* tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be
conservatively correct.
From-SVN: r156413
John David Anglin [Sun, 31 Jan 2010 19:37:52 +0000 (19:37 +0000)]
re PR target/42850 (FAIL: g++.dg/abi/forced.C execution test)
PR target/42850
Revert:
2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two.
From-SVN: r156410
Kaveh R. Ghazi [Sun, 31 Jan 2010 18:12:21 +0000 (18:12 +0000)]
configure.ac: Add "recommended" version checks for GMP/MPC.
* configure.ac: Add "recommended" version checks for GMP/MPC.
Update recommended GMP/MPFR/MPC versions.
* configure: Regenerate.
gcc:
* doc/install.texi: Update recommended GMP/MPFR/MPC versions.
From-SVN: r156408
Kai Tietz [Sun, 31 Jan 2010 17:05:08 +0000 (17:05 +0000)]
config.gcc: Adjust order of makefile fragments for mingw targets.
2010-01-31 Kai Tietz <kai.tietz@onevision.com>
* config.gcc: Adjust order of makefile fragments for mingw targets.
From-SVN: r156406
Richard Guenther [Sun, 31 Jan 2010 17:01:38 +0000 (17:01 +0000)]
re PR middle-end/42898 (volatile structures and compound literal initializers)
2010-01-31 Richard Guenther <rguenther@suse.de>
PR middle-end/42898
* gimplify.c (gimplify_init_constructor): For volatile LHS
initialize a temporary.
* gcc.dg/torture/pr42898.c: New testcase.
From-SVN: r156404
Paolo Carlini [Sun, 31 Jan 2010 16:54:49 +0000 (16:54 +0000)]
revert: condition_variable (condition_variable_any:: wait<>(_Lock&)): Provide definition.
2010-01-31 Paolo Carlini <paolo.carlini@oracle.com>
Revert last changes. Also revert, among the previous changes:
* include/std/condition_variable (condition_variable_any::
wait<>(_Lock&)): Provide definition.
From-SVN: r156403
Matthias Klose [Sun, 31 Jan 2010 15:01:53 +0000 (15:01 +0000)]
configure.ac: Fix __stack_chk_fail check for cross builds configured --with-headers
2010-01-31 Matthias Klose <doko@ubuntu.com>
* configure.ac: Fix __stack_chk_fail check for cross builds configured
--with-headers
* configure: Regenerate.
From-SVN: r156402
Joern Rennecke [Sun, 31 Jan 2010 12:05:42 +0000 (12:05 +0000)]
MAINTAINERS: Move my Embecosm email address into the write-after-approval section.
* MAINTAINERS: Move my Embecosm email address into the
write-after-approval section.
(paperwork is in place since November)
From-SVN: r156400
Paul Thomas [Sun, 31 Jan 2010 12:05:22 +0000 (12:05 +0000)]
re PR fortran/38324 (Wrong lbound given to allocatable components)
2010-01-31 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38324
* expr.c (gfc_get_full_arrayspec_from_expr): New function.
* gfortran.h : Add prototype for above.
* trans-expr.c (gfc_trans_alloc_subarray_assign): New function.
(gfc_trans_subcomponent_assign): Call new function to replace
the code to deal with allocatable components.
* trans-intrinsic.c (gfc_conv_intrinsic_bound): Call
gfc_get_full_arrayspec_from_expr to replace existing code.
2010-01-31 Paul Thomas <pault@gcc.gnu.org>
PR fortran/38324
* gfortran.dg/alloc_comp_basics_1.f90: Remove option -O2.
* gfortran.dg/alloc_comp_bounds_1.f90: New test.
From-SVN: r156399
GCC Administrator [Sun, 31 Jan 2010 00:16:48 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156392
Paolo Bonzini [Sat, 30 Jan 2010 14:36:26 +0000 (14:36 +0000)]
inline-1.C: New.
2010-01-30 Paolo Bonzini <bonzini@gnu.org>
* g++.dg/tree-ssa/inline-1.C: New.
* g++.dg/tree-ssa/inline-2.C: New.
* g++.dg/tree-ssa/inline-3.C: New.
From-SVN: r156384
GCC Administrator [Sat, 30 Jan 2010 00:16:56 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156375
Paolo Carlini [Fri, 29 Jan 2010 22:46:31 +0000 (22:46 +0000)]
condition_variable (condition_variable_any:: __wait_until_impl): Add.
2010-01-29 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/condition_variable (condition_variable_any::
__wait_until_impl): Add.
(condition_variable_any::wait_until): Provide definitions.
* testsuite/30_threads/condition_variable_any/members/2.cc: New.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Adjust dg-error line number.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable/members/1.cc: Minor
stylistic changes.
* testsuite/30_threads/condition_variable/members/1.cc: Likewise.
From-SVN: r156367
Eric Botcazou [Fri, 29 Jan 2010 18:21:39 +0000 (18:21 +0000)]
tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have the same alias set and their sizes different...
* tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have
the same alias set and their sizes different constantness.
(aliasing_component_refs_p): Revert 2009-10-24 change.
From-SVN: r156362
Michael Meissner [Fri, 29 Jan 2010 17:54:14 +0000 (17:54 +0000)]
PR 41701, prevent pow in compiler pathname from a false error
From-SVN: r156360
Michael Meissner [Fri, 29 Jan 2010 17:53:46 +0000 (17:53 +0000)]
PR 41701, prevent pow in compiler pathname from a false error
From-SVN: r156359
Paolo Carlini [Fri, 29 Jan 2010 16:59:55 +0000 (16:59 +0000)]
condition_variable (enum class cv_status): Add and use it throughout, per N3000.
2010-01-29 Paolo Carlini <paolo.carlini@oracle.com>
* include/std/condition_variable (enum class cv_status): Add and
use it throughout, per N3000.
(condition_variable_any::wait<>(_Lock&), wait<>(_Lock&, _Predicate),
wait_until<>(_Lock&, const chrono::time_point<>&, _Predicate)):
Provide definitions.
* src/condition_variable.cc (condition_variable_any::notify_one,
condition_variable_any::notify_all): Likewise.
* config/abi/pre/gnu.ver: Export.
* testsuite/30_threads/condition_variable_any/requirements/
typedefs.cc: New.
* testsuite/30_threads/condition_variable_any/requirements/
standard_layout.cc: Likewise.
* testsuite/30_threads/condition_variable/members/1.cc: Adjust.
* testsuite/30_threads/condition_variable/members/2.cc: Likewise.
* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Adjust
dg-error line numbers.
* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
Likewise.
* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
Likewise.
From-SVN: r156358
Rainer Orth [Fri, 29 Jan 2010 16:37:00 +0000 (16:37 +0000)]
sparc.c (sparc_elf_asm_named_section): Declare decl unused.
* config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl
unused.
From-SVN: r156357
Rainer Orth [Fri, 29 Jan 2010 15:55:13 +0000 (15:55 +0000)]
inclhack.def (solaris_int_limits_3): New fix.
* inclhack.def (solaris_int_limits_3): New fix.
* fixincl.x: Regenerate.
* tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
test.
* inclhack.def (solaris_int_const, solaris_int_limits_1,
solaris_int_limits_2 ): Applies to Solaris 2 in general.
Remove select.
Add mach for *-*-solaris2*.
Change second c_fix_arg to select.
Remove #pragma ident from test_text.
* fixincl.x: Regenerate.
* tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
#pragma trigger text.
* tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
From-SVN: r156356
Rainer Orth [Fri, 29 Jan 2010 15:34:07 +0000 (15:34 +0000)]
task-1.C: Renamed err to e.
* testsuite/libgomp.c++/task-1.C: Renamed err to e.
* testsuite/libgomp.c++/task-6.C: Likewise.
From-SVN: r156354
Rainer Orth [Fri, 29 Jan 2010 15:27:42 +0000 (15:27 +0000)]
eh16.C: Rename err to e.
* g++.old-deja/g++.mike/eh16.C: Rename err to e.
* g++.old-deja/g++.mike/eh17.C: Likewise.
* g++.old-deja/g++.mike/p5571.C: Likewise.
From-SVN: r156353
Dodji Seketeli [Fri, 29 Jan 2010 14:30:41 +0000 (14:30 +0000)]
Fix PRs c++/42758, c++/42634, c++/42797
... and mitigate PR c++/42336
gcc/cp/ChangeLog:
PR c++/42758
PR c++/42634
PR c++/42336
PR c++/42797
PR c++/42880
* cp-tree.h (NON_DEFAULT_TEMPLATE_ARGS_COUNT,
SET_NON_DEFAULT_TEMPLATE_ARGS_COUNT,
GET_NON_DEFAULT_TEMPLATE_ARGS_COUNT): New accessor macros.
* pt.c (coerce_template_parms, type_unification_real,
expand_template_argument_pack, coerce_template_parameter_pack):
Set the non default template args count.
(current_template_args): Always set non defaulted
template args count when compiled with --enable-checking
(tsubst_template_args, type_unification_real): Propagate the non
defaulted template args count.
* error.c (get_non_default_template_args_count): Renamed
count_non_default_template_args into this. Don't calculate the
non default template argument count anymore. Use the new
accessor macros above to get it.
(dump_template_argument_list, dump_type, dump_decl,
dump_template_parms): Adjust.
* parser.c (cp_parser_template_argument_list): Always set defaulted
template args count when compiled with --enable-checking.
gcc/testsuite/ChangeLog:
PR c++/42758
PR c++/42634
PR c++/42336
PR c++/42797
PR c++/42880
* g++.dg/other/crash-5.C: New test.
* g++.dg/other/crash-6.C: New test.
* g++.dg/other/crash-7.C: New test.
* g++.dg/other/crash-8.C: New test.
From-SVN: r156351
Richard Guenther [Fri, 29 Jan 2010 12:19:36 +0000 (12:19 +0000)]
tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute.
2010-01-29 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute.
Assert we successfully updated the call.
From-SVN: r156346
Jakub Jelinek [Fri, 29 Jan 2010 12:14:47 +0000 (13:14 +0100)]
re PR rtl-optimization/42889 ("-fcompare-debug failure (length)" with "-O1 -fgcse")
PR rtl-optimization/42889
* df.h (df_set_bb_dirty_nonlr): New prototype.
* df-core.c (df_set_bb_dirty_nonlr): New function.
* df-scan.c (df_insn_rescan): Call it instead of
df_set_bb_dirty for DEBUG_INSNs.
* gcc.dg/pr42889.c: New test.
From-SVN: r156344
Richard Guenther [Fri, 29 Jan 2010 11:26:27 +0000 (11:26 +0000)]
re PR middle-end/37448 (cannot compile big function)
2010-01-29 Richard Guenther <rguenther@suse.de>
PR middle-end/37448
* ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid
quadratic behavior in most cases.
From-SVN: r156343
Shujing Zhao [Fri, 29 Jan 2010 03:28:50 +0000 (03:28 +0000)]
decl.c (redeclaration_error_message): Wrap the return messages to G_() for easy translation.
2010-01-29 Shujing Zhao <pearly.zhao@oracle.com>
* decl.c (redeclaration_error_message): Wrap the return messages to
G_() for easy translation.
From-SVN: r156340
GCC Administrator [Fri, 29 Jan 2010 00:16:44 +0000 (00:16 +0000)]
Daily bump.
From-SVN: r156339
Jason Merrill [Thu, 28 Jan 2010 22:52:36 +0000 (17:52 -0500)]
re PR c++/42880 (trunk does not compile boost MPL)
PR c++/42880
* semantics.c (begin_class_definition): Don't use type_as_string.
From-SVN: r156336
François Dumont [Thu, 28 Jan 2010 22:29:52 +0000 (23:29 +0100)]
stl_algobase.h (struct __iter_base): Add.
2010-01-28 François Dumont <francois.cppdevs@free.fr>
* include/bits/stl_algobase.h (struct __iter_base): Add.
(__niter_base, __miter_base): Adjust, use the latter.
From-SVN: r156335
Steve Ellcey [Thu, 28 Jan 2010 21:47:59 +0000 (21:47 +0000)]
configure.tgt (*-*-hpux*): Add -frandom-seed flag.
2010-01-28 Steve Ellcey <sje@cup.hp.com>
* configure.tgt (*-*-hpux*): Add -frandom-seed flag.
From-SVN: r156334
H.J. Lu [Thu, 28 Jan 2010 21:35:16 +0000 (21:35 +0000)]
Use SSE2 on gcc.target/i386/pr42881.c.
2010-01-28 H.J. Lu <hongjiu.lu@intel.com>
* gcc.target/i386/pr42881.c: Use SSE2.
From-SVN: r156333
Uros Bizjak [Thu, 28 Jan 2010 17:58:03 +0000 (18:58 +0100)]
re PR target/42891 (ice in extract_insn, at recog.c:2097)
PR target/42891
* config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode
in the call to gen_x86_movsicc_0_m1.
testsuite/ChangeLog:
PR target/42891
* gcc.target/i386/pr42891.c: New test.
From-SVN: r156327
Paolo Carlini [Thu, 28 Jan 2010 17:01:53 +0000 (17:01 +0000)]
21674.cc: Extend xfail to all systems.
2010-01-28 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/21_strings/basic_string/element_access/char/21674.cc:
Extend xfail to all systems.
* testsuite/21_strings/basic_string/element_access/wchar_T/21674.cc:
Likewise.
* testsuite/26_numerics/headers/cmath/c99_classification_macros_c.cc:
Extend xfail to darwin10 systems.
From-SVN: r156326
Richard Guenther [Thu, 28 Jan 2010 14:45:09 +0000 (14:45 +0000)]
re PR tree-optimization/42871 (g++: Internal error: Segmentation fault (program cc1plus))
2010-01-28 Richard Guenther <rguenther@suse.de>
PR tree-optimization/42871
* tree-ssa-pre.c (phi_translate_set): Make sure to retain
leaders.
* g++.dg/torture/pr42871.C: New testcase.
From-SVN: r156324
Richard Guenther [Thu, 28 Jan 2010 14:42:17 +0000 (14:42 +0000)]
tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate into call arguments.
2010-01-28 Richard Guenther <rguenther@suse.de>
* tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate
into call arguments.
* gcc.dg/Wobjsize-1.h: New testcase.
* gcc.dg/Wobjsize-1.c: Likewise.
From-SVN: r156323
Richard Biener [Thu, 28 Jan 2010 14:40:59 +0000 (14:40 +0000)]
re PR middle-end/42883 (internal compiler error: in redirect_eh_edge_1, at tree-eh.c:2112)
2010-01-28 Richard Guenther <rguenther@suse.de>
PR middle-end/42883
* tree-cfgcleanup.c (remove_forwarder_block): Do not remove
the forwarder if the destination is an EH landing pad.
* g++.dg/torture/pr42883.C: New testcase.
From-SVN: r156322
Razya Ladelsky [Thu, 28 Jan 2010 14:24:25 +0000 (14:24 +0000)]
28-01-2010 Razya Ladelsky <razya@il.ibm.com>
* tree-parloops.c (transform_to_exit_first_loop): Update the basic
block list passed to gimple_duplicate_sese_tail.
(parallelize_loops): Avoid parallelization when the function
has_nonlocal_label.
Avoid parallelization when the preheader is IRREDUCIBLE.
Try to optimize when estimated_loop_iterations_int is unresolved.
Add the loop's location to the dump file.
* tree-cfg.c(add_phi_args_after_redirect): Remove.
(gimple_duplicate_sese_tail): Remove the check for the latch.
Redirect nexits to the exit block.
Remove handling of the incoming edges to the latch.
Redirect the backedge from the copied latch to the exit bb.
From-SVN: r156321
Michael Matz [Thu, 28 Jan 2010 14:11:34 +0000 (14:11 +0000)]
re PR target/42881 (SSE2 intrinsics miscompiled at -O0 -march=k8)
PR target/42881
* config/i386/i386.c (ix86_expand_vector_init_duplicate):
Wrap force_reg into a sequence, emit it before user.
testsuite/
* gcc.target/i386/pr42881.c: New test.
From-SVN: r156320
Pascal Obry [Thu, 28 Jan 2010 13:44:54 +0000 (13:44 +0000)]
s-win32.ads: Add some missing constants.
2010-01-28 Pascal Obry <obry@adacore.com>
* s-win32.ads: Add some missing constants.
From-SVN: r156319