OSDN Git Service

pf3gnuchains/gcc-fork.git
14 years agoFix PR c++/42225
dodji [Fri, 11 Dec 2009 14:36:05 +0000 (14:36 +0000)]
Fix PR c++/42225

gcc/cp/ChangeLog:
PR c++/42225
* typeck.c (incompatible_dependent_typedefs_p): New function.
(structural_comptypes): Use it.
* cp-tree.h (cp_set_underlying_type): Declare ...
* tree.c (cp_set_underlying_type): ... new function.
* class.c (build_self_reference): Use cp_set_underlying_type
instead of set_underlying_type.
* decl2.c (grokfield): Likewise.
* name-lookup.c (pushdecl_maybe_friend): Likewise.

gcc/testsuite/ChangeLog:
PR c++/42225
* g++.dg/template/typedef24.C: New test.
* g++.dg/template/typedef25.C: New test.

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

14 years agoFix PR c++/42251
dodji [Fri, 11 Dec 2009 12:25:19 +0000 (12:25 +0000)]
Fix PR c++/42251

gcc/cp/ChangeLog:
PR c++/42251
* pt.c (convert_template_argument): Avoid missing folding of SCOPE_REFs.

gcc/testsuite/ChangeLog:
PR c++/42251
* g++.dg/template/const3.C: New test.

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

14 years ago * plugin.c (get_named_event_id): Fix hash table rebuild to include
amylaar [Fri, 11 Dec 2009 11:11:18 +0000 (11:11 +0000)]
    * plugin.c (get_named_event_id): Fix hash table rebuild to include
        dynamically allocated events.

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

14 years ago2009-12-11 Richard Guenther <rguenther@suse.de>
rguenth [Fri, 11 Dec 2009 10:56:17 +0000 (10:56 +0000)]
2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/42320
* lto-symtab.c (lto_symtab_resolve_can_prevail_p): Properly
detect non-prevailing decls.

* g++.dg/lto/20091210-1_0.h: New testcase.
* g++.dg/lto/20091210-1_0.C: Likewise.
* g++.dg/lto/20091210-1_1.C: Likewise.

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

14 years ago * es.po: Update.
jsm28 [Fri, 11 Dec 2009 10:25:54 +0000 (10:25 +0000)]
* es.po: Update.

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

14 years ago * src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
ebotcazou [Fri, 11 Dec 2009 10:06:18 +0000 (10:06 +0000)]
* src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
double' arguments.

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

14 years ago * testsuite/libffi.call/ffitest.h: Define PRIuPTR on Solaris < 10.
ebotcazou [Fri, 11 Dec 2009 10:00:12 +0000 (10:00 +0000)]
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on Solaris < 10.

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

14 years agoFix formatting
ebotcazou [Fri, 11 Dec 2009 08:52:17 +0000 (08:52 +0000)]
Fix formatting

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

14 years agoDaily bump.
gccadmin [Fri, 11 Dec 2009 00:16:52 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * es.po: Update.
jsm28 [Thu, 10 Dec 2009 22:32:34 +0000 (22:32 +0000)]
* es.po: Update.

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

14 years ago * s-linux-sparc.ads: New file.
ebotcazou [Thu, 10 Dec 2009 22:26:20 +0000 (22:26 +0000)]
* s-linux-sparc.ads: New file.
* gcc-interface/Makefile.in (SPARC/Linux): Use it.

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

14 years ago PR c++/42317
jakub [Thu, 10 Dec 2009 21:58:49 +0000 (21:58 +0000)]
PR c++/42317
* cgraph.h (struct cgraph_node): Add same_comdat_group field.
* cgraph.c (cgraph_remove_node): Unchain node from same_comdat_group
circular list.
(cgraph_node_can_be_local_p): Return false for DECL_COMDAT with
node->same_comdat_group.
* ipa.c (cgraph_remove_unreachable_nodes): For any reachable node
mark all its same_comdat_group nodes as also reachable.
(cgraph_externally_visible_p): Return true even if any of
same_comdat_group nodes has address taken.
* lto-cgraph.c (lto_output_node): Stream out same_comdat_group.
(output_cgraph): Ensure other same_comdat_group nodes are also
included.
(input_node): Stream in same_comdat_group.
(input_cgraph_1): Fix up same_comdat_group fields from references
to pointers.
* cgraphunit.c (cgraph_analyze_functions): Mark all other
same_comdat_group nodes as reachable.
(cgraph_mark_functions_to_output): For each node->process process
also other same_comdat_group nodes.
* ipa-inline.c (cgraph_clone_inlined_nodes): Don't reuse nodes
with same_comdat_group non-NULL.
(cgraph_mark_inline_edge): Likewise.

* decl2.c (cp_write_global_declarations): Clear DECL_EXTERNAL
also on all other functions in the same comdat group.
* optimize.c (maybe_clone_body): Also optimize virtual implicit
dtors.  For virtual comdat dtors tell cgraph that base and deleting
dtor are in the same comdat group.

* config/abi/pre/gnu.ver: Don't export certain base dtors that
weren't previously exported.

* g++.dg/opt/dtor2.C: New test.
* g++.dg/opt/dtor2.h: New file.
* g++.dg/opt/dtor2-aux.cc: New file.

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

14 years ago2009-12-10 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 10 Dec 2009 21:57:49 +0000 (21:57 +0000)]
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/40287
        * iresolve.c (resolve_mask_arg): Disabled warning on conversion
        to LOGICAL(1).

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

14 years ago2009-12-10 Daniel Franke <franke.daniel@gmail.com>
dfranke [Thu, 10 Dec 2009 21:03:40 +0000 (21:03 +0000)]
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/41369
* parse.c (match_deferred_characteristics): Removed check for empty
types in function return values.

2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/41369
* gfortran.dg/func_derived_5.f90: New.

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

14 years ago PR middle-end/42228
hubicka [Thu, 10 Dec 2009 20:50:47 +0000 (20:50 +0000)]
PR middle-end/42228
PR middle-end/42110
* cgraph.c (cgraph_create_edge_including_clones): Add old_stmt parameter;
update edge if it already exists.
(cgraph_remove_node): Handle correctly cases where we are removing node having
clones.
* cgraph.h (cgraph_create_edge_including_clones): Declare.
(verify_cgraph_node): Add missing error_found = true code.
(cgraph_materialize_all_clones): Remove call edges of dead nodes.
* ipa.c (cgraph_remove_unreachable_nodes): Correctly look for master
clone; fix double linked list removal.
* tree-inline.c (copy_bb): Update cgraph_create_edge_including_clones call;
fix frequency of newly created edge.

* g++.dg/torture/pr42110.C: new file.

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

14 years agogcc/fortran/:
dfranke [Thu, 10 Dec 2009 19:57:16 +0000 (19:57 +0000)]
gcc/fortran/:
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34402
        * expr.c (check_alloc_comp_init): New.
        (check_init_expr): Verify that allocatable components
        are not data-initalized.

gcc/testsuite/:
2009-12-10  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/34402
        * gfortran.dg/alloc_comp_init_expr.f03: New.

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

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

PR libstdc++/42261 (take 2)
* include/bits/basic_string.h (_S_construct_aux_2(size_type, _CharT,
const _Alloc&)): Add.
(_S_construct_aux(_Integer, _Integer, const _Alloc&, __true_type)):
Call it.
* include/ext/sso_string_base.h (_M_construct_aux_2(size_type,
_CharT): Add.
(_M_construct_aux(_Integer, _Integer, std::__true_type)): Call it.
* include/ext/rc_string_base.h (_S_construct_aux_2(size_type, _CharT,
const _Alloc&)): Add.
(_S_construct_aux(_Integer, _Integer, const _Alloc&, __true_type)):
Call it.
* config/abi/pre/gnu.ver: Export basic_string::_S_construct_aux_2.
* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

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

14 years ago PR rtl-opt/42216
bernds [Thu, 10 Dec 2009 18:03:05 +0000 (18:03 +0000)]
PR rtl-opt/42216
* regrename.c: Error out if MAX_RECOG_OPERANDS is larger than
HOST_BITS_PER_WIDE_INT.
(verify_reg_in_set): New function, broken out of verify_reg_tracked.
(verify_reg_tracked): Use it.
(scan_rtx_reg): When seeing a use involving a superset of the
registers in an existing chain, enlarge that chain.  Otherwise,
allow subsets and set fail_current_block for all other kinds of
overlap.
(hide_operands): New argument UNTRACKED_OPERANDS; callers changed.
Do not modify operands when the bit with the corresponding number
is set in that bitmap.
(build_def_use): When we see matching operands with different
modes, don't set fail_current_block, but keep track of such
operands in a bitmap if their registers aren't already tracked
in an open chain.  Pass this bitmap to all hide_operands calls.

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

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

Revert:
        2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42261
* include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
const _Alloc&, __true_type)): Cast the second argument to value_type.
* include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
std::__true_type)): Likewise.
* include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
const _Alloc&, std::__true_type)): Likewise.
* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.

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

14 years ago2009-12-10 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 10 Dec 2009 16:00:57 +0000 (16:00 +0000)]
2009-12-10  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42337
* tree-ssa-pre.c (seen_during_translate): Remove.
(phi_translate_1): Collapse into ...
(phi_translate): ... this.  Remove seen parameter and
adjust recursive calls.

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

14 years ago * gcc.target/powerpc/bswap64-4.c: Disable on AIX.
dje [Thu, 10 Dec 2009 14:38:48 +0000 (14:38 +0000)]
    * gcc.target/powerpc/bswap64-4.c: Disable on AIX.
        * gcc.target/powerpc/ppc64-double-1.c: Disable on AIX.

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

14 years ago2009-12-10 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 10 Dec 2009 14:16:28 +0000 (14:16 +0000)]
2009-12-10  Richard Guenther  <rguenther@suse.de>
Allan Sandfeld Jensen  <linux@carewolf.com>

* tree-vectorizer.c (vectorize_loops): Properly guard
vectorizer verboseness.

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

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

* testsuite/util/testsuite_containers.h (populate<>::populate(_Tp&)):
Avoid used uninitialized warning.
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Fix typo causing sequence point
warning.

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

14 years agogcc/po:
jsm28 [Thu, 10 Dec 2009 13:01:59 +0000 (13:01 +0000)]
gcc/po:
* zh_CN.po: Update.

libcpp/po:
* zh_CN.po: Update.

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

14 years ago * fwprop.c (free_load_extend): Initialise `use'.
bje [Thu, 10 Dec 2009 11:05:56 +0000 (11:05 +0000)]
* fwprop.c (free_load_extend): Initialise `use'.

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

14 years ago PR libffi/40700
ro [Thu, 10 Dec 2009 10:09:17 +0000 (10:09 +0000)]
PR libffi/40700
* src/closures.c [X86_64 && __sun__ && __svr4__]
(FFI_MMAP_EXEC_WRIT): Define.

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

14 years ago2009-12-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 10 Dec 2009 06:47:12 +0000 (06:47 +0000)]
2009-12-09  Benjamin Kosnik  <bkoz@redhat.com>

* include/profile/impl/profiler_container_size.h: Fix include
guard, formatting fixes.
* include/profile/impl/profiler_vector_size.h: Same.
* include/profile/impl/profiler_hash_func.h: Same.
* include/profile/impl/profiler_trace.h: Same.
* include/profile/impl/profiler_vector_to_list.h: Same.
* include/profile/impl/profiler.h: Same.
* include/profile/impl/profiler_state.h: Same.
* include/profile/impl/profiler_map_to_unordered_map.h: Same.
* include/profile/impl/profiler_hashtable_size.h: Same.
* include/profile/impl/profiler_node.h: Same.

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

14 years ago * builtins.c (do_mpc_ckconv): Pass the component type to
dje [Thu, 10 Dec 2009 02:42:40 +0000 (02:42 +0000)]
* builtins.c (do_mpc_ckconv): Pass the component type to
real_from_mpfr().

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

14 years agoDaily bump.
gccadmin [Thu, 10 Dec 2009 00:16:53 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago2009-12-09 Roman Odaisky <to.roma.from.bugcc@qwertty.com>
bkoz [Wed, 9 Dec 2009 22:06:59 +0000 (22:06 +0000)]
2009-12-09  Roman Odaisky  <to.roma.from.bugcc@qwertty.com>

PR libstdc++/42273
* include/bits/atomic_2.h: Fix typo.

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

14 years ago * include/pa-signal.h: Do not include ucontext.h.
danglin [Wed, 9 Dec 2009 21:31:49 +0000 (21:31 +0000)]
* include/pa-signal.h: Do not include ucontext.h.
(SIGNAL_HANDLER): Add __attribute__ ((unused)) to signal handler
arguments.
(MAKE_THROW_FRAME): Do not adjust program counter.
* include/hppa-signal.h: Do not include sys/types.h, sys/syscall.h and
unistd.h.
(MAKE_THROW_FRAME): Do not adjust program counter.
(HANDLE_FPE): Define.
(INIT_SEGV, INIT_FPE): Revise indentation.

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

14 years ago2009-12-09 Bryce McKinlay <bmckinlay@gmail.com>
bryce [Wed, 9 Dec 2009 18:45:13 +0000 (18:45 +0000)]
2009-12-09  Bryce McKinlay  <bmckinlay@gmail.com>

        PR java/41991
        * configure.ac (SYSTEMSPEC): Pass -allow_stack_execute to Darwin
        linker.
        * Makefile.am (gij_LDFLAGS): Remove extra_gij_ldflags.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

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

14 years agofixing pr42337
davidxl [Wed, 9 Dec 2009 17:44:47 +0000 (17:44 +0000)]
fixing pr42337

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

14 years ago * config/rs6000/vector.md (absv2sf2, negv2sf2, addv2sf3, subv2sf3,
froydnj [Wed, 9 Dec 2009 16:46:57 +0000 (16:46 +0000)]
* config/rs6000/vector.md (absv2sf2, negv2sf2, addv2sf3, subv2sf3,
mulv2sf3, divv2sf3): New expanders.
* config/rs6000/spe.md (spe_evabs, spe_evand, spe_evaddw, spe_evsubfw,
spe_evdivws): Rename to use standard GCC names.
* config/rs6000/paired.md (negv2sf, absv2sf2, addv2sf3, subv2sf3,
mulv2sf3, divv2sf3): Rename to avoid conflict with the new expanders.
* config/rs6000/rs6000.c (bdesc_2arg, bdesc_1arg): Use new CODE_FOR_
names for renamed patterns.

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

14 years agoFix PR42285.
spop [Wed, 9 Dec 2009 15:18:22 +0000 (15:18 +0000)]
Fix PR42285.

2009-12-08  Sebastian Pop  <sebpop@gmail.com>

PR middle-end/42285
* graphite-scop-detection.c (graphite_can_represent_init): Also
handle more complex MULT_EXPRs containing parameters by recursion
on the structure.

* testsuite/gfortran.dg/graphite/pr42285.f90: New.

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

14 years ago2009-12-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 9 Dec 2009 12:21:08 +0000 (12:21 +0000)]
2009-12-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.md ("copysign<mode>3"): Pattern removed.

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

14 years ago * configure.ac: Compute ld_ver, ld_vers, ld_date, ld_vers_major,
jakub [Wed, 9 Dec 2009 09:13:43 +0000 (09:13 +0000)]
* configure.ac: Compute ld_ver, ld_vers, ld_date, ld_vers_major,
ld_vers_minor and ld_vers_path always, not just when gcc_cv_ld_hidden
isn't cached.
* configure: Regenerated.

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

14 years agoDaily bump.
gccadmin [Wed, 9 Dec 2009 00:16:43 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * combine.c (setup_incoming_promotions): Fix sign-extend of
rth [Tue, 8 Dec 2009 23:39:20 +0000 (23:39 +0000)]
    * combine.c (setup_incoming_promotions): Fix sign-extend of
        zero-extend case; tidy conditions.

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

14 years ago2009-12-08 David Daney <ddaney@caviumnetworks.com>
daney [Tue, 8 Dec 2009 22:59:02 +0000 (22:59 +0000)]
2009-12-08  David Daney  <ddaney@caviumnetworks.com>

* testsuite/libffi.call/stret_medium.c: Remove xfail for mips*-*-*
* testsuite/libffi.call/cls_align_longdouble_split2.c: Same.
* testsuite/libffi.call/stret_large.c: Same.
* testsuite/libffi.call/cls_align_longdouble_split.c: Same.
* testsuite/libffi.call/stret_large2.c: Same.
* testsuite/libffi.call/stret_medium2.c: Same.

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

14 years ago * configure.host (sparc*-sun-solaris2.*): New case.
ebotcazou [Tue, 8 Dec 2009 18:38:23 +0000 (18:38 +0000)]
* configure.host (sparc*-sun-solaris2.*): New case.
* include/dwarf2-signal.h (MAKE_THROW_FRAME, SPARC case): Make dummy.
* include/sparc-signal.h: Do not include ucontext.h.
(SIGNAL_HANDLER): Rename symbol.
(FLUSH_REGISTER_WINDOWS): Delete.
(MAKE_THROW_FRAME): Make dummy.
(INIT_SEGV): Adjust for above renaming.
(INIT_FPE): Likewise.

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

14 years ago2009-12-08 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 8 Dec 2009 14:12:06 +0000 (14:12 +0000)]
2009-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41711
        * io/read.c (set_integer): Support kind=10 for reading
        real/complex BOZ.

2009-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/41711
        * gfortran.dg/boz_15.f90: New test.

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

14 years ago PR middle-end/38474
matz [Tue, 8 Dec 2009 13:56:06 +0000 (13:56 +0000)]
PR middle-end/38474
* function.c (free_temp_slots): Only walk the temp slot
addresses and combine slots if we actually changes something.
(pop_temp_slots): Ditto.

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

14 years ago2008-12-08 Daniel Kraft <d@domob.eu>
domob [Tue, 8 Dec 2009 11:39:20 +0000 (11:39 +0000)]
2008-12-08  Daniel Kraft  <d@domob.eu>

PR fortran/41177
* gfortran.dg/typebound_proc_4.f03: Remove check for wrong error.
* gfortran.dg/typebound_proc_13.f03: New test.

2008-12-08  Daniel Kraft  <d@domob.eu>

PR fortran/41177
* gfortran.h (struct symbol_attribute): New flag `class_pointer'.
* symbol.c (gfc_build_class_symbol): Set the new flag.
* resolve.c (update_compcall_arglist): Remove wrong check for
non-scalar base-object.
(check_typebound_baseobject): Add the correct version here as well
as some 'not implemented' message check in the old case.
(resolve_typebound_procedure): Check that the passed-object dummy
argument is scalar, non-pointer and non-allocatable as it should be.

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

14 years ago2009-12-07 Olga Golovanevsky <olga@il.ibm.com>
olga [Tue, 8 Dec 2009 09:41:13 +0000 (09:41 +0000)]
2009-12-07  Olga Golovanevsky  <olga@il.ibm.com>

PR middle-end/41843
* ipa-struct-reorg.c (compare_fields): New function.
(find_field_in_struct_1): Use compare_fields function.
(is_equal_types): Likewise.

2009-12-04  Olga Golovanevsky  <olga@il.ibm.com>
    Jakub Jelinek <jakub@redhat.com>

PR midle-end/41843
* gcc.dg/struct/wo_prof_empty_str.c: New testcase.

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

14 years ago2009-12-08 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 8 Dec 2009 08:52:28 +0000 (08:52 +0000)]
2009-12-08  Tobias Burnus  <burnus@net-b.de>

        PR fortran/40961
        PR fortran/40377
        * gfortran.texi (Non-Fortran Main Program): Add
        _gfortran_set_fpe documentation.
        (Interoperability with C): Mention array storage order.

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

14 years ago * pex-unix.c (pex_unix_exec_child): Save/restore environ.
devans [Tue, 8 Dec 2009 07:05:35 +0000 (07:05 +0000)]
* pex-unix.c (pex_unix_exec_child): Save/restore environ.

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

14 years ago2009-12-07 Shujing Zhao <pearly.zhao@oracle.com>
pzhao [Tue, 8 Dec 2009 02:21:04 +0000 (02:21 +0000)]
2009-12-07  Shujing Zhao  <pearly.zhao@oracle.com>

* MAINTAINERS (Write After Approval): Add myself.

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

14 years agoPR c/42312
dj [Tue, 8 Dec 2009 00:47:58 +0000 (00:47 +0000)]
PR c/42312
* config/mep/mep.c (mep_expand_prologue): Set
really_need_stack_frame after frame_size is set.

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

14 years ago PR rtl-opt/42269
rth [Tue, 8 Dec 2009 00:44:28 +0000 (00:44 +0000)]
    PR rtl-opt/42269
        * combine.c (setup_incoming_promotions): Improve the conditions
        under which we respect the promotions applied.

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

14 years ago * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
dje [Tue, 8 Dec 2009 00:41:10 +0000 (00:41 +0000)]
    * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
        typo.

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

14 years agoDaily bump.
gccadmin [Tue, 8 Dec 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago * config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
ebotcazou [Mon, 7 Dec 2009 23:31:01 +0000 (23:31 +0000)]
* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
* config/sparc/linux64.h (ASM_SPEC): Likewise.

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

14 years ago PR debug/42299
rth [Mon, 7 Dec 2009 22:42:10 +0000 (22:42 +0000)]
PR debug/42299
PR debug/42166
* tree-ssa.c (insert_debug_temp_for_var_def): Skip propagation
for ssa names already registered for update.

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

14 years ago PR debug/42244
jakub [Mon, 7 Dec 2009 22:37:21 +0000 (22:37 +0000)]
PR debug/42244
* ddg.c (add_inter_loop_mem_dep): Use ANTI_DEP if from or to
is a DEBUG_INSN.

* gcc.dg/debug/pr42244.c: New test.

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

14 years agoCheck cpuid LWP bit.
spop [Mon, 7 Dec 2009 22:23:16 +0000 (22:23 +0000)]
Check cpuid LWP bit.

* config/i386/driver-i386.c (host_detect_local_cpu): Add -mlwp to the
options when bit_LWP is set.

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

14 years agoCheck cpuid ABM bit.
spop [Mon, 7 Dec 2009 22:23:10 +0000 (22:23 +0000)]
Check cpuid ABM bit.

* config/i386/cpuid.h (bit_ABM): New.
* config/i386/driver-i386.c (host_detect_local_cpu): Add -mabm to the
options when bit_ABM is set.

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

14 years agoFix ABM.
spop [Mon, 7 Dec 2009 22:23:01 +0000 (22:23 +0000)]
Fix ABM.

2009-12-04  Jakub Jelinek  <jakub@redhat.com>

* config/i386/i386.c (bdesc_special_args): Move __builtin_clzs from
this array ...
(bdesc_args): ... here.
* config.gcc (i[34567]86-*-*): Include abmintrin.h.
(x86_64-*-*): Likewise.

* gcc.target/i386/sse-12.c: Add -mabm to dg-options, mention
abmintrin.h is also tested.
* gcc.target/i386/sse-13.c: Likewise.

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

14 years agoFix _mm_popcnt* intrinsics.
spop [Mon, 7 Dec 2009 22:22:54 +0000 (22:22 +0000)]
Fix _mm_popcnt* intrinsics.

* config.gcc (i[34567]86-*-*, x86_64-*-*): Add popcntintrin.h.
* config/i386/abmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
* config/i386/i386-c.c (__POPCNT__): Defined.
* config/i386/popcntintrin.h: ...here.  New file.
* config/i386/smmintrin.h (_mm_popcnt_u32, _mm_popcnt_u64): Moved...
Include popcntintrin.h.
* config/i386/x86intrin.h: Include popcntintrin.h when __POPCNT__
is defined.

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

14 years agoRemove XOP splitters.
spop [Mon, 7 Dec 2009 22:22:45 +0000 (22:22 +0000)]
Remove XOP splitters.

* config/i386/i386-protos.h (ix86_expand_fma4_multiple_memory):
Removed.
* config/i386/i386.c (ix86_expand_fma4_multiple_memory): Removed.
* config/i386/sse.md: Remove all XOP splitters.
Allow the second and fourth operands of XOP multiply-add insns
to be nonimmediate.

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

14 years agoRemove all FMA4 splitters.
spop [Mon, 7 Dec 2009 22:22:37 +0000 (22:22 +0000)]
Remove all FMA4 splitters.

* config/i386/sse.md: Remove all FMA4 splitters.
Allow the second operand of FMA4 insns to be a nonimmediate.
Fix comments punctuation.

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

14 years ago gcc/
jules [Mon, 7 Dec 2009 20:34:53 +0000 (20:34 +0000)]
gcc/
* config/arm/constraints.md (Ps, Pt): New constraint letters.
* config/arm/thumb2.md (*thumb2_addsi_short): Tighten constraints.

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

14 years ago * acinclude.m4: Regenerated to pick:
jakub [Mon, 7 Dec 2009 19:33:09 +0000 (19:33 +0000)]
* acinclude.m4: Regenerated to pick:
2007-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

* libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER) [linux]:
Ignore lines in ld.so.conf starting with 'hwcap '.

* configure: Regenerated.

2009-11-24  Peter O'Gorman  <peter@pogma.com>

Backport of libltdl changes from the 2.2.6b release.
* ltdl.c: Backport changes.

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

14 years agogcc/fortran:
dfranke [Mon, 7 Dec 2009 17:32:29 +0000 (17:32 +0000)]
gcc/fortran:
2009-12-07  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/41940
        * match.c (gfc_match_allocate): Improved error message for
        allocatable scalars that are allocated with a shape.

gcc/testsuite:
2009-12-07  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/41940
        * gfortran.dg/allocate_scalar_with_shape.f90: New.

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

14 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:45:01 +0000 (15:45 +0000)]
PR other/40302
* configure.ac (HAVE_mpc): Don't define.
* config.in, configure: Regenerate.

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

14 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:42:55 +0000 (15:42 +0000)]
PR other/40302
* builtins.c: Remove HAVE_mpc* checks throughout.
* fold-const.c: Likewise.
* real.h: Likewise.
* toplev.c: Likewise.

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

14 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:36:46 +0000 (15:36 +0000)]
PR other/40302
* gcc.dg/torture/builtin-math-6.c: Assume we have MPC.
* gcc.dg/torture/builtin-math-7.c: Likewise.
* gfortran.dg/complex_intrinsic_7.f90: Likewise.
* gfortran.dg/complex_intrinsic_8.f90: Likewise.
* gfortran.dg/integer_exponentiation_4.f90: Re-enable some tests.
* lib/target-supports.exp (check_effective_target_mpc,
check_effective_target_mpc_pow, check_effective_target_mpc_arc):
Delete.

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

14 years ago2009-12-07 Edmar Wienskoski <edmar@freescale.com>
dje [Mon, 7 Dec 2009 15:34:21 +0000 (15:34 +0000)]
2009-12-07  Edmar Wienskoski  <edmar@freescale.com>

        * config.gcc (cpu_is_64bit): Add new core e500mc64.
        (powerpc*-*-*): Add new core e500mc64.
        * config/rs6000/e500mc64.md: New file.
        * config/rs6000/rs6000.c (processor_costs): Add new costs for
        e500mc64.
        (rs6000_override_options): Add e500mc64 case to
        processor_target_table. Altivec and Spe options not allowed with
        e500mc64. Disable string instructions for e500mc64. Enable branch
        targets alignment for both e500mc and e500mc64. Initialize
        rs6000_cost for e500mc64.
        (rs6000_emit_sISEL): New function.
        (rs6000_emit_sCOND): Call rs6000_emit_sISEL for isel targets.
        (rs6000_emit_int_cmove): Fix mode of 64 bit isel pattern
        generation.
        (rs6000_issue_rate): Set issue rate for e500mc64.
        (rs6000_rtx_costs): Set more accurate cost for mfcr instruction
        on architectures with isel.
        * config/rs6000/rs6000-protos.h (rs6000_emit_sISEL): Declare.
        * config/rs6000/rs6000.h (processor_type): Add
        PROCESSOR_PPCE500MC64.
        (ASM_CPU_SPEC): Add e500mc64.
        * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce500mc64.
        Include e500mc64.md.
        (abssi2_isel): Expand pattern to handle DImode.
        (nabs<mode>2_isel): New pattern.
        (absdi2): Change pattern to handle 64 bit isel targets.
        (absdi2_internal): Exclude ISEL targets.
        (nabsdi2): Exclude ISEL targets.
        * doc/invoke.texi: Add e500mc64 to list of cpus.

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

14 years ago PR other/40302
ghazi [Mon, 7 Dec 2009 15:32:43 +0000 (15:32 +0000)]
PR other/40302
* arith.c: Remove HAVE_mpc* checks throughout.
* expr.c: Likewise.
* gfortran.h: Likewise.
* resolve.c: Likewise.
* simplify.c: Likewise.
* target-memory.c: Likewise.
* target-memory.h: Likewise.

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

14 years ago2009-12-07 Edmar Wienskoski <edmar@freescale.com>
dje [Mon, 7 Dec 2009 15:27:32 +0000 (15:27 +0000)]
2009-12-07  Edmar Wienskoski  <edmar@freescale.com>

        * gcc.target/powerpc/ppc-eq0-1.c: Adjust testcase for isel
        targets.

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

14 years ago * config/i386/i386.md (any_or): New code iterator.
uros [Mon, 7 Dec 2009 14:28:22 +0000 (14:28 +0000)]
* config/i386/i386.md (any_or): New code iterator.
(any_logic): Rename from plogic code iterator.
(logicprefix): Rename from plogicprefix code attribute.
(<code><mode>3): Macroize expander from {ior,xor}<mode>3 using
any_or code iterator.
(*<code><mode>_1): Macroize insn from *{ior,xor}<mode>_1 using
any_or code iterator.
(*<code><mode>_2): Ditto from *{ior,xor}<mode>_2.
(*<code><mode>_3): Ditto from *{ior,xor}<mode>_3.
(ior and xor splitters): Ditto.
* config/i386/mmx.md: Updated for rename.
* config/i386/sse.md: Ditto.

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

14 years ago2009-12-07 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 7 Dec 2009 14:27:59 +0000 (14:27 +0000)]
2009-12-07  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42319
* include/parallel/losertree.h: Include bits/stl_function.h instead
of the whole <functional>.
* include/parallel/base.h: Likewise.
* include/parallel/numeric: Likewise.
* include/parallel/balanced_quicksort.h: Likewise.
* include/parallel/checkers.h: Likewise.
* testsuite/17_intro/headers/c++200x/42319.cc: New.

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

14 years ago * id.po: Update.
jsm28 [Mon, 7 Dec 2009 12:17:20 +0000 (12:17 +0000)]
* id.po: Update.

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

14 years ago * configure.ac (net/if.h check): Include sys/socket.h if present.
ebotcazou [Mon, 7 Dec 2009 09:44:22 +0000 (09:44 +0000)]
* configure.ac (net/if.h check): Include sys/socket.h if present.
* configure: Regenerate.

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

14 years ago * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
uros [Mon, 7 Dec 2009 08:53:22 +0000 (08:53 +0000)]
* config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
Remove quotes around condition logic code.

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

14 years ago* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count for 16bit int targets.
hutchinsonandy [Mon, 7 Dec 2009 00:21:47 +0000 (00:21 +0000)]
* gcc.c-torture/execute/vla-dealloc-1.c: Use lower loop count for 16bit int targets.

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

14 years agoDaily bump.
gccadmin [Mon, 7 Dec 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

14 years ago PR debug/42234
rth [Sun, 6 Dec 2009 23:59:52 +0000 (23:59 +0000)]
PR debug/42234
* tree-ssa-dom.c (degenerate_phi_result): Check for NULL phi
argument earlier.

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

14 years agolibgfortran/
janus [Sun, 6 Dec 2009 22:57:13 +0000 (22:57 +0000)]
libgfortran/
2009-12-06  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41478
PR fortran/42268
* intrinsics/pack_generic.c (pack): Add safety checks for the case that
'vector' is NULL.

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

PR fortran/41478
PR fortran/42268
* gfortran.dg/intrinsic_pack_5.f90: New test.

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

14 years ago PR middle-end/30447
ghazi [Sun, 6 Dec 2009 16:11:06 +0000 (16:11 +0000)]
PR middle-end/30447
PR middle-end/30789
PR other/40302

* configure.ac: Require MPC.
* configure: Regenerate.
gcc:
* doc/install.texi: Document MPC is required.

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

14 years ago2009-12-06 Daniel Franke <franke.daniel@gmail.com>
dfranke [Sun, 6 Dec 2009 12:59:46 +0000 (12:59 +0000)]
2009-12-06  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/40904
        * intrinsics.texi: Fixed description of COUNT.

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

14 years ago * config/i386/i386-md (g): Add HImode and QImode.
uros [Sun, 6 Dec 2009 12:03:51 +0000 (12:03 +0000)]
* config/i386/i386-md (g): Add HImode and QImode.
(general_szext_operand): New mode attribute.
(*test<mode>_1): Macroize insn from *test{qi,hi,si}_1 using
SWI124 mode iterator.
(and<mode>3): Macroize expander from and{qi,hi,si,di}3 using
SWIM mode iterator.
(*and<mode>_2): Macroize insn from *and{qi,hi,si}_2 using
SWI124 mode iterator.
(ior<mode>3): Macroize expander from ior{qi,hi,si,di}3 using
SWIM mode iterator.
(*ior<mode>_1): Macroize insn from *ior{hi,si,di}_1 using
SWI248 mode iterator.
(*ior<mode>_2): Macroize insn from *ior{qi,hi,si,di}_2 using
SWI mode iterator.
(*ior<mode>_3): Macroize insn from *ior{qi,hi,si,di}_3 using
SWI mode iterator.
(xor<mode>3): Macroize expander from xor{qi,hi,si,di}3 using
SWIM mode iterator.
(*xor<mode>_1): Macroize insn from *xor{hi,si,di}_1 using
SWI248 mode iterator.
(*xor<mode>_2): Macroize insn from *xor{qi,hi,si,di}_2 using
SWI mode iterator.
(*xor<mode>_3): Macroize insn from *xor{qi,hi,si,di}_3 using
SWI mode iterator.

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

14 years agoDaily bump.
gccadmin [Sun, 6 Dec 2009 00:17:55 +0000 (00:17 +0000)]
Daily bump.

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

14 years ago2009-12-05 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 5 Dec 2009 23:57:50 +0000 (23:57 +0000)]
2009-12-05  H.J. Lu  <hongjiu.lu@intel.com>

PR bootstrap/42306
* configure: Regenerated.
* Makefile.in: Likewise.

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

14 years ago * src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64
dje [Sat, 5 Dec 2009 21:48:58 +0000 (21:48 +0000)]
    * src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64
        code.
        * src/powerpc/aix_closure.s: Same.

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

14 years agoAdd TARGET_FUSED_MADD to FMA4 insns.
spop [Sat, 5 Dec 2009 20:11:52 +0000 (20:11 +0000)]
Add TARGET_FUSED_MADD to FMA4 insns.

* config/i386/i386.c (TARGET_DEFAULT_TARGET_FLAGS): Add
MASK_FUSED_MADD.
* config/i386/i386.h (CC1_CPU_SPEC_1): Remove
"'-mfused-madd' was removed".
* config/i386/i386.opt (mfused-madd): New.
* config/i386/sse.md: Add TARGET_FUSED_MADD to FMA4 insns.
* doc/invoke.texi (-mfused-madd, -mno-fused-madd): Document.

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

14 years ago * pa64-hpux.h (LIB_SPEC): Handle -rdynamic.
danglin [Sat, 5 Dec 2009 19:43:14 +0000 (19:43 +0000)]
* pa64-hpux.h (LIB_SPEC): Handle -rdynamic.
* pa-hpux10.h (LIB_SPEC): Likewise.
* pa-hpux11.h (LIB_SPEC): Likewise.

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

14 years ago PR ada/41912
danglin [Sat, 5 Dec 2009 17:45:59 +0000 (17:45 +0000)]
PR ada/41912
* pa/linux-unwind.h (pa32_fallback_frame_state): Set fs->signal_frame
for signal frames.
* pa/hpux-unwind.h (pa32_fallback_frame_state): Likewise.

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

14 years agoSync from git Libtool and regenerate.
rwild [Sat, 5 Dec 2009 17:18:53 +0000 (17:18 +0000)]
Sync from git Libtool and regenerate.

/:
PR target/38384
PR bootstrap/40972
* libtool.m4: Sync from git Libtool.
* ltoptions.m4: Likewise.
* ltversion.m4: Likewise.
* lt~obsolete.m4: Likewise.
* ltmain.sh: Likewise.

boehm-gc/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* include/Makefile.in: Regenerate.

fixincludes/:
* configure: Regenerate.

gcc/:
* configure: Regenerate.

libffi/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* include/Makefile.in: Regenerate.
* man/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libgfortran/:
* Makefile.in: Regenerate.
* configure: Regenerate.

libgomp/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libjava/classpath/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* doc/api/Makefile.in: Regenerate.
* examples/Makefile.in: Regenerate.
* external/Makefile.in: Regenerate.
* external/jsr166/Makefile.in: Regenerate.
* external/relaxngDatatype/Makefile.in: Regenerate.
* external/sax/Makefile.in: Regenerate.
* external/w3c_dom/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* lib/Makefile.in: Regenerate.
* native/Makefile.in: Regenerate.
* native/fdlibm/Makefile.in: Regenerate.
* native/jawt/Makefile.in: Regenerate.
* native/jni/Makefile.in: Regenerate.
* native/jni/classpath/Makefile.in: Regenerate.
* native/jni/gconf-peer/Makefile.in: Regenerate.
* native/jni/gstreamer-peer/Makefile.in: Regenerate.
* native/jni/gtk-peer/Makefile.in: Regenerate.
* native/jni/java-io/Makefile.in: Regenerate.
* native/jni/java-lang/Makefile.in: Regenerate.
* native/jni/java-math/Makefile.in: Regenerate.
* native/jni/java-net/Makefile.in: Regenerate.
* native/jni/java-nio/Makefile.in: Regenerate.
* native/jni/java-util/Makefile.in: Regenerate.
* native/jni/midi-alsa/Makefile.in: Regenerate.
* native/jni/midi-dssi/Makefile.in: Regenerate.
* native/jni/native-lib/Makefile.in: Regenerate.
* native/jni/qt-peer/Makefile.in: Regenerate.
* native/jni/xmlj/Makefile.in: Regenerate.
* native/plugin/Makefile.in: Regenerate.
* resource/Makefile.in: Regenerate.
* scripts/Makefile.in: Regenerate.
* tools/Makefile.in: Regenerate.

libjava/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libmudflap/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libobjc/:
* configure: Regenerate.

libssp/:
* Makefile.in: Regenerate.
* configure: Regenerate.

libstdc++-v3/:
* Makefile.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* python/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

lto-plugin/:
* configure: Regenerate.
* Makefile.in: Regenerate.

zlib/:
* Makefile.in: Regenerate.
* configure: Regenerate.

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

14 years ago * arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
rearnsha [Sat, 5 Dec 2009 17:04:39 +0000 (17:04 +0000)]
* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
for the scratch.

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

14 years ago * config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
davek [Sat, 5 Dec 2009 06:13:44 +0000 (06:13 +0000)]
* config/os/hpux/os_defines.h (_GLIBCXX_PSEUDO_VISIBILITY): Provide
empty definition.

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

14 years ago PR c++/42010
jason [Sat, 5 Dec 2009 01:51:46 +0000 (01:51 +0000)]
PR c++/42010
* cp-tree.h (DECL_DISCRIMINATOR_SET_P): New.
* mangle.c (discriminator_for_local_entity): Check it.

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

14 years agoDaily bump.
gccadmin [Sat, 5 Dec 2009 00:18:04 +0000 (00:18 +0000)]
Daily bump.

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

14 years ago PR c++/42277
jason [Fri, 4 Dec 2009 22:51:12 +0000 (22:51 +0000)]
PR c++/42277
* semantics.c (finish_decltype_type): Don't assume that op1 of a
COMPONENT_REF is always the field.
* g++.dg/cpp0x/decltype20.C: New.

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

14 years ago * src/powerpc/aix_closure.S: Reorganize 64-bit code to match
dje [Fri, 4 Dec 2009 22:24:05 +0000 (22:24 +0000)]
    * src/powerpc/aix_closure.S: Reorganize 64-bit code to match
        linux64_closure.S.

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

14 years ago * sv.po: Update.
jsm28 [Fri, 4 Dec 2009 21:58:43 +0000 (21:58 +0000)]
* sv.po: Update.

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

14 years ago * be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
jsm28 [Fri, 4 Dec 2009 21:45:09 +0000 (21:45 +0000)]
* 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.

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

14 years ago * be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
jsm28 [Fri, 4 Dec 2009 21:42:20 +0000 (21:42 +0000)]
* 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.

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

14 years ago PR libffi/41908
uros [Fri, 4 Dec 2009 18:41:59 +0000 (18:41 +0000)]
PR libffi/41908
* src/x86/ffi64.c (classify_argument): Update from
gcc/config/i386/i386.c.
(ffi_closure_unix64_inner): Do not use the address of two consecutive
SSE registers directly.
* testsuite/libffi.call/cls_dbls_struct.c (main): Remove xfail
for x86_64 linux targets.

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

14 years ago2009-12-04 David Daney <ddaney@caviumnetworks.com>
daney [Fri, 4 Dec 2009 17:46:23 +0000 (17:46 +0000)]
2009-12-04  David Daney  <ddaney@caviumnetworks.com>

PR rtl-optimization/42164
* combine.c (combine_simplify_rtx): Handle truncation of integer
constants.

2009-12-04  David Daney  <ddaney@caviumnetworks.com>

PR rtl-optimization/42164
* gcc.c-torture/compile/pr42164.c: New test.

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