]> gcc.gnu.org Git - gcc.git/log
gcc.git
14 years ago* zh_CN.po: Update.
Joseph Myers [Mon, 14 Dec 2009 12:50:14 +0000 (12:50 +0000)]
* zh_CN.po: Update.

From-SVN: r155213

14 years agoMake-lang.in ($(LTO_EXE)): Use $(LINKER).
Dmitry Gorbachev [Mon, 14 Dec 2009 10:42:52 +0000 (10:42 +0000)]
Make-lang.in ($(LTO_EXE)): Use $(LINKER).

2009-12-14  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

* Make-lang.in ($(LTO_EXE)): Use $(LINKER).

From-SVN: r155212

14 years agodominance.c (set_immediate_dominator): Don't mark as inline.
Dmitry Gorbachev [Mon, 14 Dec 2009 10:29:52 +0000 (10:29 +0000)]
dominance.c (set_immediate_dominator): Don't mark as inline.

2009-12-14  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>

* dominance.c (set_immediate_dominator): Don't mark as inline.

From-SVN: r155211

14 years agostl_list.h (splice(iterator, list&), [...]): Re-add in C++0x mode for backward compat...
Paolo Carlini [Mon, 14 Dec 2009 10:26:09 +0000 (10:26 +0000)]
stl_list.h (splice(iterator, list&), [...]): Re-add in C++0x mode for backward compatibility (see DR 1133).

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

* include/bits/stl_list.h (splice(iterator, list&), splice(iterator,
list&, iterator), splice(iterator, list&, iterator, iterator),
merge(list&), merge(list&, _StrictWeakOrdering)): Re-add in C++0x
mode for backward compatibility (see DR 1133).
(insert(iterator, size_type, const value_type&), insert(iterator,
_InputIterator, _InputIterator)): Adjust.
* include/bits/list.tcc (sort): Likewise.
* testsuite/23_containers/list/modifiers/1_c++0x.cc: Add.
* testsuite/23_containers/list/operations/2_c++0x.cc: Likewise.
* testsuite/23_containers/list/operations/3_c++0x.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
assign_neg.cc: Adjust dg-error line numbers.
* testsuite/23_containers/list/requirements/dr438/
insert_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_1_neg.cc: Likewise.
* testsuite/23_containers/list/requirements/dr438/
constructor_2_neg.cc: Likewise.

From-SVN: r155210

14 years agotm.texi (STACK_CHECK_PROTECT): Document alternate default.
Eric Botcazou [Mon, 14 Dec 2009 10:12:43 +0000 (10:12 +0000)]
tm.texi (STACK_CHECK_PROTECT): Document alternate default.

* doc/tm.texi (STACK_CHECK_PROTECT): Document alternate default.
* doc/md.texi (check_stack): Clarify.
(probe_stack): Likewise.
* config/rs6000/rs6000.md (UNSPEC_PROBE_STACK): New constant.
(probe_stack): New insn.

From-SVN: r155209

14 years agoconfigure.ac (--with-specs): New option.
Nathan Sidwell [Mon, 14 Dec 2009 08:58:06 +0000 (08:58 +0000)]
configure.ac (--with-specs): New option.

* configure.ac (--with-specs): New option.
* configure: Regenerated.
* gcc.c (driver_self_specs): Include CONFIGURE_SPECS.
* Makefile.in (DRIVER_DEFINES): Add -DCONFIGURE_SPECS.

From-SVN: r155208

14 years agolto-streamer-in.c (lto_get_builtin_tree): fclass can only be a BUILT_IN_NORMAL or...
Ben Elliston [Mon, 14 Dec 2009 05:06:50 +0000 (05:06 +0000)]
lto-streamer-in.c (lto_get_builtin_tree): fclass can only be a BUILT_IN_NORMAL or BUILT_IN_MD.

* lto-streamer-in.c (lto_get_builtin_tree): fclass can only be a
BUILT_IN_NORMAL or BUILT_IN_MD.

From-SVN: r155206

14 years agoffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE type on HP-UX.
John David Anglin [Mon, 14 Dec 2009 02:42:18 +0000 (02:42 +0000)]
ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE type on HP-UX.

* src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE
type on HP-UX.

From-SVN: r155205

14 years agoDaily bump.
GCC Administrator [Mon, 14 Dec 2009 00:16:38 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r155203

14 years agore PR libstdc++/40133 (exception propagation support not enabled in libstdc++ 4.4...
Paolo Carlini [Sun, 13 Dec 2009 23:45:12 +0000 (23:45 +0000)]
re PR libstdc++/40133 (exception propagation support not enabled in libstdc++ 4.4 on {armeabi,hppa}-linux)

2009-12-11  Paolo Carlini  <paolo.carlini@oracle.com>
            Matthias Klose  <doko@ubuntu.com>

        PR libstdc++/40133
        * acinclude.m4 ([GLIBCXX_ENABLE_ATOMIC_BUILTINS]): On *-*-linux*,
        *-*-uclinux*, *-*-kfreebsd*-gnu | *-*-gnu* targets do link tests when
        possible.
        * configure: Regenerate.

Co-Authored-By: Matthias Klose <doko@ubuntu.com>
From-SVN: r155200

14 years agotm.texi (STACK_CHECK_PROBE_LOAD): Delete.
Eric Botcazou [Sun, 13 Dec 2009 23:00:53 +0000 (23:00 +0000)]
tm.texi (STACK_CHECK_PROBE_LOAD): Delete.

* doc/tm.texi (STACK_CHECK_PROBE_LOAD): Delete.
* expr.h (STACK_CHECK_PROBE_LOAD): Likewise.
* explow.c (emit_stack_probe): Do not test STACK_CHECK_PROBE_LOAD.
* system.h (STACK_CHECK_PROBE_LOAD): Poison.

From-SVN: r155199

14 years agogc_locks.h: For __ARM_EABI__ define GC_test_and_set GC_clear to use the atomic builtins.
Matthias Klose [Sun, 13 Dec 2009 22:44:27 +0000 (22:44 +0000)]
gc_locks.h: For __ARM_EABI__ define GC_test_and_set GC_clear to use the atomic builtins.

2009-12-09  Matthias Klose  <doko@ubuntu.com>

        * include/private/gc_locks.h: For __ARM_EABI__ define
        GC_test_and_set  GC_clear to use the atomic builtins.

From-SVN: r155198

14 years ago* fi.po, sv.po: Update.
Joseph Myers [Sun, 13 Dec 2009 22:36:09 +0000 (22:36 +0000)]
* fi.po, sv.po: Update.

From-SVN: r155197

14 years agore PR tree-optimization/42027 (Performance regression in convolution loop optimization)
Michael Matz [Sun, 13 Dec 2009 21:51:34 +0000 (21:51 +0000)]
re PR tree-optimization/42027 (Performance regression in convolution loop optimization)

PR tree-optimization/42027
* dojump.c (do_jump <TRUTH_AND_EXPR, TRUTH_OR_EXPR>): Go to
TRUTH_ANDIF_EXPR resp. TRUTH_ORIF_EXPR expander, instead of
falling through.

From-SVN: r155196

14 years agore PR rtl-optimization/23726 (Missed optimizations for divmod)
Andy Hutchinson [Sun, 13 Dec 2009 21:03:41 +0000 (21:03 +0000)]
re PR rtl-optimization/23726 (Missed optimizations for divmod)

PR target/23726
* config/avr/predicates.md (pseudo_register_operand): New predicate for pseudos.
* config/avr/avr.md (divmodqi4): Replace with define_insn_and_split to allow div/mod optimization.
(udivmodqi4): Ditto.
(divmodhi4): Ditto.
(udivmodhi4): Ditto.
(divmodsi4): Ditto.
(udivmodsi4): Ditto.

From-SVN: r155195

14 years agore PR tree-optimization/42357 (another ice in create_tmp_var)
Richard Guenther [Sun, 13 Dec 2009 17:36:20 +0000 (17:36 +0000)]
re PR tree-optimization/42357 (another ice in create_tmp_var)

2009-12-13  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/42357
* tree-sra.c (sra_modify_assign): Do not tear apart struct copies.

* g++.dg/torture/pr42357.C: New testcase.

From-SVN: r155193

14 years agoAdd missing ChangeLog entries.
H.J. Lu [Sat, 12 Dec 2009 01:34:14 +0000 (17:34 -0800)]
Add missing ChangeLog entries.

From-SVN: r155190

14 years agotree.c (need_assembler_name_p): Abstract decls do not need an assembler name.
Richard Guenther [Sat, 12 Dec 2009 01:12:55 +0000 (01:12 +0000)]
tree.c (need_assembler_name_p): Abstract decls do not need an assembler name.

2009-12-12  Richard Guenther  <rguenther@suse.de>

* tree.c (need_assembler_name_p): Abstract decls do not need
an assembler name.
* dwarf2out.c (dwarf2out_abstract_function): Preserve
DECL_ABSTRACT properly.

From-SVN: r155189

14 years agoDaily bump.
GCC Administrator [Sat, 12 Dec 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

From-SVN: r155188

14 years agore PR fortran/42257 ([OOP] Compiler segmentation fault due missing public statement)
Janus Weil [Fri, 11 Dec 2009 23:05:02 +0000 (00:05 +0100)]
re PR fortran/42257 ([OOP] Compiler segmentation fault due missing public statement)

gcc/fortran/
2009-12-11 Janus Weil  <janus@gcc.gnu.org>

PR fortran/42257
* module.c (write_dt_extensions): Check for accessibility.

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

PR fortran/42257
* gfortran.dg/extends_9.f03: New test.

From-SVN: r155183

14 years agolto-streamer-in.c (lto_input_tree_ref): Do not register DEBUG_EXPR_DECLs with the...
Richard Biener [Fri, 11 Dec 2009 22:13:48 +0000 (22:13 +0000)]
lto-streamer-in.c (lto_input_tree_ref): Do not register DEBUG_EXPR_DECLs with the varpool.

2009-12-11  Richard Guenther  <rguenther@suse.de>

* lto-streamer-in.c (lto_input_tree_ref): Do not register
DEBUG_EXPR_DECLs with the varpool.

From-SVN: r155182

14 years agonumeric: Trivial formatting changes.
Paolo Carlini [Fri, 11 Dec 2009 22:06:26 +0000 (22:06 +0000)]
numeric: Trivial formatting changes.

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

* include/parallel/numeric: Trivial formatting changes.

From-SVN: r155181

14 years agore PR libstdc++/42352 (-std=c++0x reference binding problem)
Paolo Carlini [Fri, 11 Dec 2009 22:04:56 +0000 (22:04 +0000)]
re PR libstdc++/42352 (-std=c++0x reference binding problem)

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

PR libstdc++/42352
* include/bits/list.tcc (sort): Use _GLIBCXX_MOVE for list::splice
and list::merge calls.
* testsuite/23_containers/list/operations/42352.cc: New.

From-SVN: r155180

14 years agore PR fortran/40290 (Spurious warning on REAL*COMPLEX with -Wconversion)
Daniel Franke [Fri, 11 Dec 2009 21:08:39 +0000 (16:08 -0500)]
re PR fortran/40290 (Spurious warning on REAL*COMPLEX with -Wconversion)

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

        PR fortran/40290
        * expr.c (gfc_type_convert_binary): Added warn-on-conversion flag,
        passed on to gfc_convert_type_warn() instead of gfc_convert_type();
        enabled warnings on all callers but ...
        * arith.c (eval_intrinsic): Disabled warnings on implicit type
        conversion.
        * gfortran.h gfc_type_convert_binary): Adjusted prototype.

From-SVN: r155179

14 years agolinux-unwind.h (MD_FROB_UPDATE_CONTEXT, 64-bit): Define.
Eric Botcazou [Fri, 11 Dec 2009 21:06:18 +0000 (21:06 +0000)]
linux-unwind.h (MD_FROB_UPDATE_CONTEXT, 64-bit): Define.

* config/sparc/linux-unwind.h (MD_FROB_UPDATE_CONTEXT, 64-bit): Define.
(sparc64_frob_update_context): New function.

From-SVN: r155178

14 years agore PR c++/42219 (ICE with "const void" as parameter type)
Jason Merrill [Fri, 11 Dec 2009 21:03:55 +0000 (16:03 -0500)]
re PR c++/42219 (ICE with "const void" as parameter type)

PR c++/42219
* typeck.c (error_type_p): New.
(ptr_reasonably_similar): Use it.
* cp-tree.h: Declare it.

From-SVN: r155177

14 years agore PR lto/41658 (Execution testsuite fails with -O2 -fwhopr)
Richard Guenther [Fri, 11 Dec 2009 18:00:24 +0000 (18:00 +0000)]
re PR lto/41658 (Execution testsuite fails with -O2 -fwhopr)

2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/41658
PR lto/41657
* lto-streamer-out.c (write_global_stream): Do not make decls
weak but resort to TREE_ASM_WRITTEN to avoid multiple definitions.
Make sure to mark all decls that we have written.

From-SVN: r155174

14 years agoPR libstdc++/22634, DR 539 [Ready]
Paolo Carlini [Fri, 11 Dec 2009 17:54:37 +0000 (17:54 +0000)]
PR libstdc++/22634, DR 539 [Ready]

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

PR libstdc++/22634, DR 539 [Ready]
* include/bits/stl_numeric.h (adjacent_difference): Use std::move
at the end of the loop body, per the Ready resolution.
* include/std/numeric: Do not include unnecessarily <cstddef>.
* doc/xml/manual/intro.xml: Add an entry for DR 539.

From-SVN: r155173

14 years agolwg-active.html: Update to Revision R68.
Paolo Carlini [Fri, 11 Dec 2009 17:23:09 +0000 (17:23 +0000)]
lwg-active.html: Update to Revision R68.

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

* doc/html/ext/lwg-active.html: Update to Revision R68.
* doc/html/ext/lwg-closed.html: Likewise.
* doc/html/ext/lwg-defects.html: Likewise.
* doc/xml/manual/intro.xml: Update status of issues 431, 630, and 696.

From-SVN: r155170

14 years agore PR lto/42037 ("grow domain error" in lto1)
Richard Guenther [Fri, 11 Dec 2009 15:52:57 +0000 (15:52 +0000)]
re PR lto/42037 ("grow domain error" in lto1)

2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/42037
* lto.c (lto_resolution_read): Properly grow the vector.

From-SVN: r155166

14 years agore PR target/36047 (-pg does not work on large binaries and m68k)
Sebastian Andrzej Siewior [Fri, 11 Dec 2009 15:32:08 +0000 (15:32 +0000)]
re PR target/36047 (-pg does not work on large binaries and m68k)

2009-12-11  Sebastian Andrzej Siewior  <bigeasy@linutronix.de>

PR target/36047

* config/m68k/linux.h: Remove LABELNO from the mcount statement. It is
not used by glibc/uclibc and does not work with large binaries.

From-SVN: r155165

14 years agore PR lto/41915 (FAIL: gcc.dg/torture/builtin-math-7.c -O2 -flto execution test)
Richard Guenther [Fri, 11 Dec 2009 14:49:35 +0000 (14:49 +0000)]
re PR lto/41915 (FAIL: gcc.dg/torture/builtin-math-7.c  -O2 -flto  execution test)

2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/41915
* lto-lang.c (lto_init_options): Initialize flag_complex_method
to the C99 default.  Do not set flag_unit_at_a_time.

From-SVN: r155164

14 years agore PR lto/41662 (FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1...
Richard Guenther [Fri, 11 Dec 2009 14:46:09 +0000 (14:46 +0000)]
re PR lto/41662 (FAIL: g++.dg/lto/20081109 cp_lto_20081109_0.o-cp_lto_20081109_1.o execute -O2 -fwhopr)

2009-12-11  Richard Guenther  <rguenther@suse.de>

PR lto/41662
* lto-streamer-in.c (lto_init_eh): Move eh_initialized_p
handling here.
(input_eh_regions): Adjust.
(lto_input_ts_function_decl_tree_pointers): Initialize EH
if a non-NULL DECL_FUNCTION_PERSONALITY was read in.

From-SVN: r155163

14 years agore PR fortran/42335 ([OOP] ICE on CLASS IS (bad_identifier))
Janus Weil [Fri, 11 Dec 2009 14:40:36 +0000 (15:40 +0100)]
re PR fortran/42335 ([OOP] ICE on CLASS IS (bad_identifier))

gcc/fortran/
2009-12-11 Janus Weil  <janus@gcc.gnu.org>

PR fortran/42335
* symbol.c (select_type_insert_tmp): Add an extra check for
error recovery.

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

PR fortran/42335
* gfortran.dg/select_type_11.f03: New test.

From-SVN: r155162

14 years agoIPA passes are bigger than other passes...
Duncan Sands [Fri, 11 Dec 2009 14:38:55 +0000 (15:38 +0100)]
IPA passes are bigger than other passes...

IPA passes are bigger than other passes, so more memory needs to be allocated
for them (and more copied) in make_pass_instance.

From-SVN: r155161

14 years agore PR c++/42225 (GCC 4.5 ICE (segfault) on C++ templated code)
Dodji Seketeli [Fri, 11 Dec 2009 14:36:05 +0000 (14:36 +0000)]
re PR c++/42225 (GCC 4.5 ICE (segfault) on C++ templated code)

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.

From-SVN: r155160

14 years agore PR c++/42251 (failure detecting constant integral expression)
Dodji Seketeli [Fri, 11 Dec 2009 12:25:19 +0000 (12:25 +0000)]
re PR c++/42251 (failure detecting constant integral expression)

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.

From-SVN: r155159

14 years agoplugin.c (get_named_event_id): Fix hash table rebuild to include dynamically allocate...
Joern Rennecke [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.

        * plugin.c (get_named_event_id): Fix hash table rebuild to include
        dynamically allocated events.

From-SVN: r155156

14 years agore PR middle-end/42320 (link error with -flto (undefined reference to 'non-virtual...
Richard Guenther [Fri, 11 Dec 2009 10:56:17 +0000 (10:56 +0000)]
re PR middle-end/42320 (link error with -flto  (undefined reference to 'non-virtual thunk ...))

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.

From-SVN: r155155

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

From-SVN: r155153

14 years agoffi.c (ffi_closure_sparc_inner_v9): Properly align 'long double' arguments.
Eric Botcazou [Fri, 11 Dec 2009 10:06:18 +0000 (10:06 +0000)]
ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long double' arguments.

* src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
double' arguments.

From-SVN: r155152

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

From-SVN: r155151

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

From-SVN: r155150

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

From-SVN: r155148

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

From-SVN: r155145

14 years agos-linux-sparc.ads: New file.
Eric Botcazou [Thu, 10 Dec 2009 22:26:20 +0000 (22:26 +0000)]
s-linux-sparc.ads: New file.

* s-linux-sparc.ads: New file.
* gcc-interface/Makefile.in (SPARC/Linux): Use it.

From-SVN: r155144

14 years agore PR c++/42317 (Issues with comdat virtual dtors)
Jakub Jelinek [Thu, 10 Dec 2009 21:58:49 +0000 (22:58 +0100)]
re PR c++/42317 (Issues with comdat virtual dtors)

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.

From-SVN: r155143

14 years agore PR fortran/40287 (Spurious warnings with -Wconversion and COUNT())
Daniel Franke [Thu, 10 Dec 2009 21:57:49 +0000 (16:57 -0500)]
re PR fortran/40287 (Spurious warnings with -Wconversion and COUNT())

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

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

From-SVN: r155142

14 years agore PR fortran/41369 (Empty derived-type wrongly rejected as function return type)
Daniel Franke [Thu, 10 Dec 2009 21:03:40 +0000 (16:03 -0500)]
re PR fortran/41369 (Empty derived-type wrongly rejected as function return type)

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.

From-SVN: r155141

14 years agore PR middle-end/42228 (verify_cgraph_node failed:node has wrong clone_of)
Jan Hubicka [Thu, 10 Dec 2009 20:50:47 +0000 (21:50 +0100)]
re PR middle-end/42228 (verify_cgraph_node failed:node has wrong clone_of)

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.

From-SVN: r155140

14 years agore PR fortran/34402 (Diagnose illegal initialization of derived type containing alloc...
Daniel Franke [Thu, 10 Dec 2009 19:57:16 +0000 (14:57 -0500)]
re PR fortran/34402 (Diagnose illegal initialization of derived type containing allocatable component)

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.

From-SVN: r155138

14 years agoPR libstdc++/42261 (take 2)
Paolo Carlini [Thu, 10 Dec 2009 19:17:27 +0000 (19:17 +0000)]
PR libstdc++/42261 (take 2)

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.

From-SVN: r155137

14 years agore PR rtl-optimization/42216 (changes in scheduling regress 464.h264ref 20%)
Bernd Schmidt [Thu, 10 Dec 2009 18:03:05 +0000 (18:03 +0000)]
re PR rtl-optimization/42216 (changes in scheduling regress 464.h264ref 20%)

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.

From-SVN: r155134

14 years agorevert: re PR libstdc++/42261 (infinite recursion from string(string::size_type(6...
Paolo Carlini [Thu, 10 Dec 2009 17:17:41 +0000 (17:17 +0000)]
revert: re PR libstdc++/42261 (infinite recursion from string(string::size_type(6), string::size_type('f')))

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.

From-SVN: r155132

14 years agore PR tree-optimization/42337 (GCC ICE in compute_antic, at tree-ssa-pre.c:2534)
Richard Guenther [Thu, 10 Dec 2009 16:00:57 +0000 (16:00 +0000)]
re PR tree-optimization/42337 (GCC ICE  in compute_antic, at tree-ssa-pre.c:2534)

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.

From-SVN: r155131

14 years agobswap64-4.c: Disable on AIX.
David Edelsohn [Thu, 10 Dec 2009 14:38:48 +0000 (14:38 +0000)]
bswap64-4.c: Disable on AIX.

        * gcc.target/powerpc/bswap64-4.c: Disable on AIX.
        * gcc.target/powerpc/ppc64-double-1.c: Disable on AIX.

From-SVN: r155129

14 years agotree-vectorizer.c (vectorize_loops): Properly guard vectorizer verboseness.
Richard Guenther [Thu, 10 Dec 2009 14:16:28 +0000 (14:16 +0000)]
tree-vectorizer.c (vectorize_loops): Properly guard vectorizer verboseness.

2009-12-10  Richard Guenther  <rguenther@suse.de>
Allan Sandfeld Jensen  <linux@carewolf.com>

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

Co-Authored-By: Allan Sandfeld Jensen <linux@carewolf.com>
From-SVN: r155128

14 years agotestsuite_containers.h (populate<>::populate(_Tp&)): Avoid used uninitialized warning.
Paolo Carlini [Thu, 10 Dec 2009 13:17:56 +0000 (13:17 +0000)]
testsuite_containers.h (populate<>::populate(_Tp&)): Avoid used uninitialized warning.

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.

From-SVN: r155127

14 years agozh_CN.po: Update.
Joseph Myers [Thu, 10 Dec 2009 13:01:59 +0000 (13:01 +0000)]
zh_CN.po: Update.

gcc/po:
* zh_CN.po: Update.

libcpp/po:
* zh_CN.po: Update.

From-SVN: r155126

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

From-SVN: r155125

14 years agore PR libffi/40700 (All amd64 libffi execution tests fail on Solaris 10/x86)
Rainer Orth [Thu, 10 Dec 2009 10:09:17 +0000 (10:09 +0000)]
re PR libffi/40700 (All amd64 libffi execution tests fail on Solaris 10/x86)

PR libffi/40700
* src/closures.c [X86_64 && __sun__ && __svr4__]
(FFI_MMAP_EXEC_WRIT): Define.

From-SVN: r155124

14 years agoprofiler_container_size.h: Fix include guard, formatting fixes.
Benjamin Kosnik [Thu, 10 Dec 2009 06:47:12 +0000 (06:47 +0000)]
profiler_container_size.h: Fix include guard, formatting fixes.

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.

From-SVN: r155123

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

* builtins.c (do_mpc_ckconv): Pass the component type to
real_from_mpfr().

From-SVN: r155122

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

From-SVN: r155121

14 years agore PR libstdc++/42273 (atomic_2.h:111: = instead of == in if)
Roman Odaisky [Wed, 9 Dec 2009 22:06:59 +0000 (22:06 +0000)]
re PR libstdc++/42273 (atomic_2.h:111: = instead of == in if)

2009-12-09  Roman Odaisky  <to.roma.from.bugcc@qwertty.com>

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

From-SVN: r155117

14 years agopa-signal.h: Do not include ucontext.h.
John David Anglin [Wed, 9 Dec 2009 21:31:49 +0000 (21:31 +0000)]
pa-signal.h: Do not include ucontext.h.

* 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.

From-SVN: r155116

14 years agore PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)
Bryce McKinlay [Wed, 9 Dec 2009 18:45:13 +0000 (18:45 +0000)]
re PR java/41991 (gcj segfaults on i686-apple-darwin9 and x86_64-apple-darwin9)

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.

From-SVN: r155113

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

From-SVN: r155111

14 years agovector.md (absv2sf2, [...]): New expanders.
Nathan Froyd [Wed, 9 Dec 2009 16:46:57 +0000 (16:46 +0000)]
vector.md (absv2sf2, [...]): New expanders.

* 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.

From-SVN: r155110

14 years agore PR tree-optimization/42285 (ICE in Graphite's scan_tree_for_params for 416.gamess)
Sebastian Pop [Wed, 9 Dec 2009 15:18:22 +0000 (15:18 +0000)]
re PR tree-optimization/42285 (ICE in Graphite's scan_tree_for_params for 416.gamess)

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.

From-SVN: r155108

14 years agos390.md ("copysign<mode>3"): Pattern removed.
Andreas Krebbel [Wed, 9 Dec 2009 12:21:08 +0000 (12:21 +0000)]
s390.md ("copysign<mode>3"): Pattern removed.

2009-12-09  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

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

From-SVN: r155106

14 years agoconfigure.ac: Compute ld_ver...
Jakub Jelinek [Wed, 9 Dec 2009 09:13:43 +0000 (10:13 +0100)]
configure.ac: Compute ld_ver...

* 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.

From-SVN: r155103

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

From-SVN: r155098

14 years agocombine.c (setup_incoming_promotions): Fix sign-extend of zero-extend case; tidy...
Richard Henderson [Tue, 8 Dec 2009 23:39:20 +0000 (15:39 -0800)]
combine.c (setup_incoming_promotions): Fix sign-extend of zero-extend case; tidy conditions.

        * combine.c (setup_incoming_promotions): Fix sign-extend of
        zero-extend case; tidy conditions.

From-SVN: r155095

14 years agostret_medium.c: Remove xfail for mips*-*-*
David Daney [Tue, 8 Dec 2009 22:59:02 +0000 (22:59 +0000)]
stret_medium.c: Remove xfail for mips*-*-*

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.

From-SVN: r155093

14 years agoconfigure.host (sparc*-sun-solaris2.*): New case.
Eric Botcazou [Tue, 8 Dec 2009 18:38:23 +0000 (18:38 +0000)]
configure.host (sparc*-sun-solaris2.*): New case.

* 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.

From-SVN: r155092

14 years agore PR libfortran/41711 ([F08] BOZ edit-descr does not support reading large kind...
Tobias Burnus [Tue, 8 Dec 2009 14:12:06 +0000 (15:12 +0100)]
re PR libfortran/41711 ([F08] BOZ edit-descr does not support reading large kind reals)

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.

From-SVN: r155088

14 years agore PR middle-end/38474 (compile time explosion in dataflow_set_preserve_mem_locs...
Michael Matz [Tue, 8 Dec 2009 13:56:06 +0000 (13:56 +0000)]
re PR middle-end/38474 (compile time explosion in dataflow_set_preserve_mem_locs at -O3)

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.

From-SVN: r155087

14 years agore PR fortran/41177 (Wrong base-object checks for type-bound procedures)
Daniel Kraft [Tue, 8 Dec 2009 11:39:20 +0000 (12:39 +0100)]
re PR fortran/41177 (Wrong base-object checks for type-bound procedures)

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.

From-SVN: r155086

14 years ago[multiple changes]
Olga Golovanevsky [Tue, 8 Dec 2009 09:41:13 +0000 (09:41 +0000)]
[multiple changes]

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.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r155084

14 years agore PR fortran/40961 (Document set_fpe(int))
Tobias Burnus [Tue, 8 Dec 2009 08:52:28 +0000 (09:52 +0100)]
re PR fortran/40961 (Document set_fpe(int))

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.

From-SVN: r155083

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

From-SVN: r155079

14 years agoMAINTAINERS (Write After Approval): Add myself.
Shujing Zhao [Tue, 8 Dec 2009 02:21:04 +0000 (02:21 +0000)]
MAINTAINERS (Write After Approval): Add myself.

2009-12-07  Shujing Zhao  <pearly.zhao@oracle.com>

* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r155073

14 years agore PR target/42312 (config/mep/mep.c:2856: (error) Uninitialized variable: frame_size)
DJ Delorie [Tue, 8 Dec 2009 00:47:58 +0000 (19:47 -0500)]
re PR target/42312 (config/mep/mep.c:2856: (error) Uninitialized variable: frame_size)

PR c/42312
* config/mep/mep.c (mep_expand_prologue): Set
really_need_stack_frame after frame_size is set.

From-SVN: r155072

14 years agore PR rtl-optimization/42269 (Extra sign extension instructions generated)
Richard Henderson [Tue, 8 Dec 2009 00:44:28 +0000 (16:44 -0800)]
re PR rtl-optimization/42269 (Extra sign extension instructions generated)

        PR rtl-opt/42269
        * combine.c (setup_incoming_promotions): Improve the conditions
        under which we respect the promotions applied.

From-SVN: r155071

14 years agoaix_closure.S (libffi_closure_ASM): Fix tablejump typo.
David Edelsohn [Tue, 8 Dec 2009 00:41:10 +0000 (00:41 +0000)]
aix_closure.S (libffi_closure_ASM): Fix tablejump typo.

        * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
        typo.

From-SVN: r155070

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

From-SVN: r155069

14 years agolinux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
Eric Botcazou [Mon, 7 Dec 2009 23:31:01 +0000 (23:31 +0000)]
linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.

* config/sparc/linux.h (ASM_SPEC): Pass -K PIC if -findirect-dispatch.
* config/sparc/linux64.h (ASM_SPEC): Likewise.

From-SVN: r155065

14 years agore PR debug/42299 (another verify_ssa failure with -g -O2)
Richard Henderson [Mon, 7 Dec 2009 22:42:10 +0000 (14:42 -0800)]
re PR debug/42299 (another verify_ssa failure with -g -O2)

PR debug/42299
PR debug/42166
* tree-ssa.c (insert_debug_temp_for_var_def): Skip propagation
for ssa names already registered for update.

From-SVN: r155063

14 years agore PR debug/42244 (var-tracking ICE for 300.twolf)
Jakub Jelinek [Mon, 7 Dec 2009 22:37:21 +0000 (23:37 +0100)]
re PR debug/42244 (var-tracking ICE for 300.twolf)

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.

From-SVN: r155062

14 years agoCheck cpuid LWP bit.
Sebastian Pop [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.

From-SVN: r155061

14 years agoCheck cpuid ABM bit.
Sebastian Pop [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.

From-SVN: r155060

14 years agoFix ABM.
Jakub Jelinek [Mon, 7 Dec 2009 22:23:01 +0000 (23:23 +0100)]
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.

From-SVN: r155059

14 years agoFix _mm_popcnt* intrinsics.
Sebastian Pop [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.

From-SVN: r155058

14 years agoRemove XOP splitters.
Sebastian Pop [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.

From-SVN: r155057

14 years agoRemove all FMA4 splitters.
Sebastian Pop [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.

From-SVN: r155056

14 years agoconstraints.md (Ps, Pt): New constraint letters.
Julian Brown [Mon, 7 Dec 2009 20:34:53 +0000 (20:34 +0000)]
constraints.md (Ps, Pt): New constraint letters.

gcc/
* config/arm/constraints.md (Ps, Pt): New constraint letters.
* config/arm/thumb2.md (*thumb2_addsi_short): Tighten constraints.

From-SVN: r155054

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

* 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.

From-SVN: r155053

14 years agore PR fortran/41940 (Improve error message for allocating scalar with shape)
Daniel Franke [Mon, 7 Dec 2009 17:32:29 +0000 (12:32 -0500)]
re PR fortran/41940 (Improve error message for allocating scalar with shape)

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.

From-SVN: r155049

14 years agore PR other/40302 (GCC must hard-require MPC before release)
Kaveh R. Ghazi [Mon, 7 Dec 2009 15:45:01 +0000 (15:45 +0000)]
re PR other/40302 (GCC must hard-require MPC before release)

PR other/40302
* configure.ac (HAVE_mpc): Don't define.
* config.in, configure: Regenerate.

From-SVN: r155047

This page took 0.102471 seconds and 5 git commands to generate.