OSDN Git Service

pf3gnuchains/gcc-fork.git
10 years ago * configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 15 Mar 2010 19:36:26 +0000 (19:36 +0000)]
* configure.ac (libffi_cv_as_x86_64_unwind_section_type): New test.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* libffi/src/x86/unix64.S (.eh_frame)
[HAVE_AS_X86_64_UNWIND_SECTION_TYPE]: Use @unwind section type.

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

10 years ago * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip
aldyh [Mon, 15 Mar 2010 19:18:49 +0000 (19:18 +0000)]
    * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip
        debug statements.

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

10 years ago2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 15 Mar 2010 17:06:59 +0000 (17:06 +0000)]
2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>

      * Complete last ChangeLog entry.

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

10 years ago * dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg
jakub [Mon, 15 Mar 2010 17:03:02 +0000 (17:03 +0000)]
* dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg
has been set.
(based_loc_descr): Use DW_OP_fbreg for vdrap_reg even when
drap_reg has not been set.

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

10 years ago2010-03-15 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Mon, 15 Mar 2010 17:02:16 +0000 (17:02 +0000)]
2010-03-15  Paolo Carlini  <paolo.carlini@oracle.com>

Revert:
2008-11-11  Bob Walters  <bob.s.walters@gmail.com>

* include/bits/forward_list.h: Support non-standard pointer types
(_Fwd_list_node_base): Add _Alloc template parameter.
(_Fwd_list_node<>): Likewise.
(_Fwd_list_iterator<>): Likewise.
(_Fwd_list_const_iterator<>): Likewise.
(_Fwd_list_node_base::_M_next, _M_transfer_after, _M_reverse_after):
Use _Alloc<_Tp>::pointer.
(_Fwd_list_iterator<>::_M_node): Use _Node_base::_Pointer.
(_Fwd_list_base<>::_M_get_node, _M_create_node, _M_create_node,
_M_insert_after, _M_put_node, _M_erase_after): Likewise.
(_Fwd_list_const_iterator<>::_M_node): use _Node_base::_Const_pointer.
(forward_list<>): Use __static_pointer_cast in place of static_cast,
and __const_pointer_cast in place of const_cast.
* include/bits/forward_list.tcc
(_Fwd_list_node<>::_M_sort_after): Using _Pointer typedefs in place
of standard pointers, __static_pointer_cast in place of static_cast.
(_Fwd_list_base<>::_Fwd_list_base, _M_insert_after, _M_erase_after):
Likewise.
(forward_list<>::_M_initialize_dispatch, _M_fill_initialize,
splice_after, remove, remove_if, merge): Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/1.cc: New.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/2.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/3.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/4.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/modifiers/5.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/1.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/2.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/3.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/4.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/5.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/6.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/operations/7.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/requirements/1.cc:
Likewise.
* testsuite/23_containers/forward_list/ext_pointer/requirements/
explicit_instantiation/1.cc: Likewise.
* testsuite/23_containers/forward_list/ext_pointer/requirements/
explicit_instantiation/3.cc: Likewise.
* testsuite/23_containers/forward_list/ext_pointer/1.cc: Likewise.

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

10 years ago PR middle-end/43300
matz [Mon, 15 Mar 2010 16:13:28 +0000 (16:13 +0000)]
PR middle-end/43300
* tree-outof-ssa.c (emit_partition_copy): New argument sizeexp,
use it to expand block copies.
(insert_partition_copy_on_edge, insert_rtx_to_part_on_edge,
insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy.
(insert_value_copy_on_edge): Use store_expr for BLKmode values.

testsuite/
* gcc.dg/pr43300.c: New testcase.

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

10 years ago2010-03-15 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 15 Mar 2010 13:18:45 +0000 (13:18 +0000)]
2010-03-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43367
* tree-cfg.c (gimple_can_merge_blocks_p): Simplify PHI
elimination check.

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

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

10 years ago2010-03-15 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 15 Mar 2010 13:05:05 +0000 (13:05 +0000)]
2010-03-15  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43317
* ipa-struct-reorg.c (create_new_general_access): Update stmt.

* gcc.dg/pr43317.c: New testcase.

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

10 years ago2010-03-15 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 15 Mar 2010 11:43:04 +0000 (11:43 +0000)]
2010-03-15  Martin Jambor  <mjambor@suse.cz>

PR tree/optimization/43141
* tree-sra.c (create_abstract_origin): New function.
(modify_function): Call create_abstract_origin.

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

10 years ago * MAINTAINERS: Update my email address.
bernds [Mon, 15 Mar 2010 10:45:27 +0000 (10:45 +0000)]
* MAINTAINERS: Update my email address.

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

10 years ago2010-03-15 Chris Demetriou <cgd@google.com>
cgd [Mon, 15 Mar 2010 08:51:56 +0000 (08:51 +0000)]
2010-03-15  Chris Demetriou  <cgd@google.com>

        * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it
        wasn't copied.

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

10 years agoDaily bump.
gccadmin [Mon, 15 Mar 2010 00:16:38 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago * Fix previous ChangeLog entry.
uros [Sun, 14 Mar 2010 17:17:24 +0000 (17:17 +0000)]
* Fix previous ChangeLog entry.

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

10 years ago * g++.dg/abi/packed1.C: Expect warning on the alpha*-*-*.
uros [Sun, 14 Mar 2010 17:16:20 +0000 (17:16 +0000)]
* g++.dg/abi/packed1.C: Expect warning on the alpha*-*-*.

* g++.dg/graphite/pr43026.C (dg-options): Remove -m32.

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

10 years ago2010-03-14 Tobias Burnus <burnus@net-b.de>
burnus [Sun, 14 Mar 2010 13:18:28 +0000 (13:18 +0000)]
2010-03-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43362
        * resolve.c (resolve_structure_cons): Add missing PURE
        * constraint.
        (resolve_ordinary_assign): Add check to avoid segfault.

2010-03-14  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43362
        * gfortran.dg/impure_constructor_1.f90: New test.

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

10 years agoDaily bump.
gccadmin [Sun, 14 Mar 2010 00:16:41 +0000 (00:16 +0000)]
Daily bump.

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

10 years agoAdd ChangeLog entries.
spop [Sat, 13 Mar 2010 17:35:52 +0000 (17:35 +0000)]
Add ChangeLog entries.

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

10 years agoFix PR43354: Correctly handle default definitions.
spop [Sat, 13 Mar 2010 17:35:45 +0000 (17:35 +0000)]
Fix PR43354: Correctly handle default definitions.

2010-03-13  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43354
* graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not
call insert_out_of_ssa_copy for default definitions.
* gfortran.dg/graphite/id-pr43354.f: New.

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

10 years agoAdd testcase from PR43349.
spop [Sat, 13 Mar 2010 17:35:37 +0000 (17:35 +0000)]
Add testcase from PR43349.

2010-03-11  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43349
* gfortran.dg/graphite/pr43349.f: New.

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

10 years agoUse ssizetype when long_long_integer_type_node is NULL.
spop [Sat, 13 Mar 2010 17:35:29 +0000 (17:35 +0000)]
Use ssizetype when long_long_integer_type_node is NULL.

2010-03-11  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-clast-to-gimple.c (my_long_long): Defined.
(gcc_type_for_cloog_iv): Use it instead of long_long_integer_type_node.
* graphite-sese-to-poly.c (my_long_long): Defined.
(scop_ivs_can_be_represented): Use it.

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

10 years agoFix documentation of the new parameters.
spop [Sat, 13 Mar 2010 17:35:22 +0000 (17:35 +0000)]
Fix documentation of the new parameters.

2010-03-10  Sebastian Pop  <sebastian.pop@amd.com>

* doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params,
graphite-max-bbs-per-function, and loop-block-tile-size.
* params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal"
with "maximum".
(PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same.

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

10 years agoCleanup: remove FIXMEs, add new function.
spop [Sat, 13 Mar 2010 17:35:15 +0000 (17:35 +0000)]
Cleanup: remove FIXMEs, add new function.

2010-03-10  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove
forward declaration.
* graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment.
(add_upper_bounds_from_estimated_nit): New.
(build_loop_iteration_domains): Use it.

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

10 years agoDocument PARAM_LOOP_BLOCK_TILE_SIZE.
spop [Sat, 13 Mar 2010 17:35:08 +0000 (17:35 +0000)]
Document PARAM_LOOP_BLOCK_TILE_SIZE.

2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

* doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document.

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

10 years agoFix PR43306: correct evolution_function_right_is_integer_cst.
spop [Sat, 13 Mar 2010 17:34:59 +0000 (17:34 +0000)]
Fix PR43306: correct evolution_function_right_is_integer_cst.

2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

PR middle-end/43306
* tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT
should be an INTEGER_CST.  Also handle CASE_CONVERT.
* gcc.dg/graphite/pr43306.c: New.

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

10 years agoAdd PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.
spop [Sat, 13 Mar 2010 17:34:51 +0000 (17:34 +0000)]
Add PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.

2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

* graphite.c (graphite_initialize): To bound the number of bbs per
function, use PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION.
* params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Declared.
* doc/invoke.texi: Document it.

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

10 years agoMake build_poly_scop not return a bool.
spop [Sat, 13 Mar 2010 17:34:44 +0000 (17:34 +0000)]
Make build_poly_scop not return a bool.

2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (build_poly_scop): Do not return bool.
* graphite-sese-to-poly.h (build_poly_scop): Same.

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

10 years agoLimit the number of parameters per SCoP.
spop [Sat, 13 Mar 2010 17:34:38 +0000 (17:34 +0000)]
Limit the number of parameters per SCoP.

2010-03-09  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (build_poly_scop): Limit scops following
the number of parameters in the scop.  Use as an upper bound
PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS.
* params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared.
* doc/invoke.texi: Document it.

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

10 years ago2010-03-13 Matthias Klose <doko@ubuntu.com>
doko [Sat, 13 Mar 2010 14:27:27 +0000 (14:27 +0000)]
2010-03-13  Matthias Klose  <doko@ubuntu.com>

        PR libgcj/42676
        * Regenerate .h files for anonymous inner classes.

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

10 years ago2010-03-13 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Sat, 13 Mar 2010 12:47:09 +0000 (12:47 +0000)]
2010-03-13  Paolo Carlini  <paolo.carlini@oracle.com>

* include/tr1_impl/array (swap(array<>&, array<>&)): Use member swap.

* include/bits/stl_algo.h: Improve comment.

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

10 years ago2010-03-13 Jerry Quinn <jlquinn@optonline.net>
jlquinn [Sat, 13 Mar 2010 05:38:08 +0000 (05:38 +0000)]
2010-03-13  Jerry Quinn  <jlquinn@optonline.net>

* Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi.
* doc/c-tree.texi: Remove.
* doc/generic.texi: Merge c-tree.texi here.
* doc/gccint.texi (Trees): Remove menu entry.
(c-tree.texi): Remove @include.
* doc/rtl.texi (Reading RTL): Update pxref from Trees to GENERIC.
* doc/languages.texi (Reading RTL): Ditto.

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

10 years ago * gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on
davem [Sat, 13 Mar 2010 01:32:32 +0000 (01:32 +0000)]
* gcc.dg/lto/20090313_0.c: Add -mcpu=v9 to dg-lto-options on
sparc.

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

10 years ago * gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code.
ghazi [Sat, 13 Mar 2010 01:27:06 +0000 (01:27 +0000)]
* gcc.target/arm/sibcall-1.c: Allow PLT to appear with pic code.

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

10 years agoDaily bump.
gccadmin [Sat, 13 Mar 2010 00:16:40 +0000 (00:16 +0000)]
Daily bump.

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

10 years ago2010-03-12 Paul Thomas <pault@gcc.gnu.org>
pault [Fri, 12 Mar 2010 22:00:52 +0000 (22:00 +0000)]
2010-03-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43291
PR fortran/43326
* resolve.c (resolve_compcall): Add new boolean dummy argument
'class_members'. Only resolve expression at end if false.
Remove redundant, static variable 'class_object'.
(check_class_members): Add extra argument to call of
resolve_compcall.
(resolve_typebound_function): Renamed resolve_class_compcall.
Do all the detection of class references here. Correct calls to
resolve_compcall for extra argument.
(resolve_typebound_subroutine): resolve_class_typebound_call
renamed. Otherwise same as resolve_typebound_function.
(gfc_resolve_expr): Call resolve_typebound_function.
(resolve_code): Call resolve_typebound_subroutine.

2010-03-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/43291
PR fortran/43326
* gfortran.dg/dynamic_dispatch_7.f03: New test.

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

10 years ago2010-03-12 Steve Ellcey <sje@cup.hp.com>
sje [Fri, 12 Mar 2010 18:19:14 +0000 (18:19 +0000)]
2010-03-12  Steve Ellcey  <sje@cup.hp.com>

PR target/42869
* config/ia64/sync.md (sync_compare_and_swap): Move memory fence.

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

10 years ago2010-03-12 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 12 Mar 2010 17:35:19 +0000 (17:35 +0000)]
2010-03-12  Benjamin Kosnik  <bkoz@redhat.com>

* scripts/run_doxygen: Adjust.
* doc/doxygen/user.cfg.in: Adjust latex, xml prefs.
* doc/xml/api.xml: Update.
* doc/Makefile.am: Re-do stamp rules.
* doc/Makefile.in: Regenerate.

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

10 years agoRemove band-aid no longer needed by the fix in PR 43431
meissner [Fri, 12 Mar 2010 15:11:25 +0000 (15:11 +0000)]
Remove band-aid no longer needed by the fix in PR 43431

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

10 years ago2010-03-12 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 12 Mar 2010 14:43:55 +0000 (14:43 +0000)]
2010-03-12  Kai Tietz  <kai.tietz@onevision.com>

        PR/42950
        * io/format.c (parse_format_list): Add to ERROR, WARNING,
        SILENT enumerators NOTIFICATION_ prefix.
        * runtime/error.c (notification_std): Likewise.
        * libgfortran.h (notification): Likewise.
        (GFC_LARGEST_BUF): Check for HAVE_GFC_INTEGER_16.

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

10 years ago2010-03-12 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 12 Mar 2010 14:40:42 +0000 (14:40 +0000)]
2010-03-12  Kai Tietz  <kai.tietz@onevision.com>

        * gfortran.dg/default_format_denormal_1.f90: Don't assume
        fail for *-*-mingw* targets.

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

10 years ago * cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.
jakub [Fri, 12 Mar 2010 13:27:43 +0000 (13:27 +0000)]
* cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove.
(cselib_preserve_definitely, cselib_clear_preserve): Remove.
(cselib_preserve_only_values): Remove retain argument, don't
traverse hash table with cselib_{preserve_definitely,clear_preserve}.
* cselib.h (cselib_preserve_only_values): Remove retain argument.
* var-tracking.c (micro_operation): Move insn field before union.
Add DEF_VEC_O and DEF_VEC_ALLOC_O for this type.
(struct variable_tracking_info_def): Remove n_mos field, change
mos into a vector of micro_operations.
(count_uses, count_uses_1, count_stores, count_with_sets): Remove.
(bb_stack_adjust_offset, log_op_type, add_uses, add_stores,
compute_bb_dataflow, emit_notes_in_bb): Adjust for VTI (bb)->mos
changing into a vector.
(add_with_sets): Likewise.  Ensure MO_VAL_USE uops from add_stores
come before all other uops generated by add_stores.
(vt_add_function_parameters): Adjust for cselib_preserve_only_values
argument removal.
(vt_initialize): Likewise.  Adjust for VTI (bb)->mos changing into
a vector.  Run just one pass over the bbs instead of separate counting
and computation phase.
(vt_finalize): Free VTI (bb)->mos vector instead of array.

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

10 years ago PR debug/43329
jakub [Fri, 12 Mar 2010 13:04:37 +0000 (13:04 +0000)]
PR debug/43329
* tree-inline.c (remap_decls): Put old_var rather than origin_var
into *nonlocalized_list vector.
* dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin
even if origin is non-NULL.
(gen_variable_die): Likewise.
(process_scope_var): Don't change origin.
(gen_decl_die): Likewise.
* tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p
before adding new edges instead of after it, fix moving over
debug stmts.

* gcc.dg/guality/pr43329-1.c: New test.

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

10 years agoAdd comment about changing directory references.
korbb [Fri, 12 Mar 2010 05:21:19 +0000 (05:21 +0000)]
Add comment about changing directory references.

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

10 years agoRestore the "#undef" in the test text, too.
korbb [Fri, 12 Mar 2010 04:09:29 +0000 (04:09 +0000)]
Restore the "#undef" in the test text, too.

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

10 years agoundo some of the damage
korbb [Fri, 12 Mar 2010 04:00:32 +0000 (04:00 +0000)]
undo some of the damage

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

10 years agothe fixinc directory is now "fixincludes"
korbb [Fri, 12 Mar 2010 03:49:08 +0000 (03:49 +0000)]
the fixinc directory is now "fixincludes"

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

10 years ago * configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.
davem [Fri, 12 Mar 2010 02:54:17 +0000 (02:54 +0000)]
* configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple of four.
* configure: Rebuild.

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

10 years agoDaily bump.
gccadmin [Fri, 12 Mar 2010 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago2010-03-11 Martin Jambor <mjambor@suse.cz>
jamborm [Thu, 11 Mar 2010 22:27:26 +0000 (22:27 +0000)]
2010-03-11  Martin Jambor  <mjambor@suse.cz>

PR tree-optimization/43257
* tree.c (assign_assembler_name_if_neeeded): New function.
(free_lang_data_in_cgraph): Assembler name assignment moved to the
above new function.
* tree.h (assign_assembler_name_if_neeeded): Declare.
* cgraphunit.c (cgraph_analyze_function): Create an assembler name for
the function if needed.

* testsuite/g++.dg/torture/pr43257.C: New test.

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

10 years ago2010-03-11 Chris Demetriou <cgd@google.com>
cgd [Thu, 11 Mar 2010 20:31:01 +0000 (20:31 +0000)]
2010-03-11  Chris Demetriou  <cgd@google.com>

        * Makefile.in (stmp-int-hdrs): Make include/unwind.h,
        include/stdint-gcc.h, and include/stdint.h world-readable.

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

10 years ago2010-03-11 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 11 Mar 2010 16:06:37 +0000 (16:06 +0000)]
2010-03-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43228
        * io/list_read.c (nml_parse_qualifier): Disable expanded_read
        for array sections.

2010-03-11  Tobias Burnus  <burnus@net-b.de>

        PR fortran/43228
        * gfortran.dg/namelist_61.f90: New test.

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

10 years ago2010-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 11 Mar 2010 15:08:24 +0000 (15:08 +0000)]
2010-03-11  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/43255
* tree-vrp.c (process_assert_insertions_for): Do not insert
asserts for trivial conditions.

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

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

10 years ago2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 11 Mar 2010 13:51:00 +0000 (13:51 +0000)]
2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

PR tree-optimization/43280
* tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number generation.
Move calculation of size out of the if branch.
(find_bswap): Modify compare number generation.

2010-03-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/optimize-bswapdi-1.c: Add OpenSSL bswap variant.
* gcc.dg/pr43280.c: New testcase.

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

10 years ago2010-03-11 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 11 Mar 2010 13:13:53 +0000 (13:13 +0000)]
2010-03-11  Richard Guenther  <rguenther@suse.de>

PR lto/43200
* lto-streamer-in.c (maybe_fixup_decls): Simplify.
(input_gimple_stmt): Fixup handled component types during
operand read.  Also fix up decls in ADDR_EXPRs.

* gcc.dg/lto/20100227-1_0.c: New testcase.
* gcc.dg/lto/20100227-1_1.c: Likewise.

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

10 years agoconfigure.ac(FLAGS_FOR_TARGET): Add include-fixed to the header search path.
Masaki Muranaka [Thu, 11 Mar 2010 01:55:33 +0000 (10:55 +0900)]
configure.ac(FLAGS_FOR_TARGET): Add include-fixed to the header search path.
configure: Regenerate.

10 years agoAdd config/mips/toppers.h
Masaki Muranaka [Wed, 10 Mar 2010 03:02:25 +0000 (12:02 +0900)]
Add config/mips/toppers.h

10 years agoAdd mips*-*-toppers* support.
Masaki Muranaka [Sun, 31 Jan 2010 18:41:00 +0000 (03:41 +0900)]
Add mips*-*-toppers* support.

10 years agodisable local-cpu-detect. This enables to build on PizzaFactory/OSX. PizzaFactory...
Masaki Muranaka [Sun, 31 Jan 2010 16:54:01 +0000 (01:54 +0900)]
disable local-cpu-detect. This enables to build on PizzaFactory/OSX. PizzaFactory does not use this option.

10 years agoEnable interwork, soft/hard float, endian.
Masaki Muranaka [Fri, 22 Jan 2010 03:59:35 +0000 (12:59 +0900)]
Enable interwork, soft/hard float, endian.

10 years agoAdd TOPPERS for mips support.
Masaki Muranaka [Thu, 21 Jan 2010 08:34:35 +0000 (17:34 +0900)]
Add TOPPERS for mips support.

10 years agoEnable to build on OSX with -arch option.
Masaki Muranaka [Wed, 20 Jan 2010 03:09:35 +0000 (12:09 +0900)]
Enable to build on OSX with -arch option.

10 years ago * expr.c (pop_arguments): Fix use of undeclared variable.
froydnj [Wed, 19 May 2010 01:15:43 +0000 (01:15 +0000)]
* expr.c (pop_arguments): Fix use of undeclared variable.

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

10 years ago Revert:
froydnj [Wed, 19 May 2010 00:43:27 +0000 (00:43 +0000)]
Revert:
2010-05-18  Nathan Froyd  <froydnj@codesourcery.com>

* tree.h (build_call_list): Remove.
* tree.c (build_call_list): Remove.

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

10 years agoDaily bump.
gccadmin [Wed, 19 May 2010 00:18:01 +0000 (00:18 +0000)]
Daily bump.

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

10 years ago2010-05-18 Eelis van der Weegen <gcc-bugzilla@contacts.eelis.net>
paolo [Tue, 18 May 2010 23:58:50 +0000 (23:58 +0000)]
2010-05-18  Eelis van der Weegen  <gcc-bugzilla@contacts.eelis.net>

PR libstdc++/44190
* include/debug/vector (vector<>::resize): Call
_M_update_guaranteed_capacity.
* testsuite/23_containers/vector/capacity/44190.cc: New.

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

10 years agogcc/
froydnj [Tue, 18 May 2010 23:45:21 +0000 (23:45 +0000)]
gcc/
* tree.h (build_call_list): Remove.
* tree.c (build_call_list): Remove.

gcc/ada/
* gcc-interface/trans.c (call_to_gnu): Use build_call_vec instead of
build_call_list.
* gcc-interface/utils.c (build_function_stub): Likewise.

gcc/cp/
* tree.c (build_min_non_dep_call_vec): Update comment.

gcc/java/
* expr.c (expand_java_multianewarray): Use build_call_vec instead of
build_call_list.
(pop_arguments): Return a VEC instead of a tree.  Take a method type
rather than a list of argument types.
(rewrite_rule): Change signature. of rewrite_arglist member.
(rewrite_arglist_getcaller): Update signature.
(rewrite_arglist_getclass): Likewise.
(maybe_rewrite_invocation): Update for rewrite_arglist change.
(build_known_method_ref): Take a VEC instead of a tree.
(invoke_build_dtable): Likewise.
(expand_invoke): Update calls to pop_arguments.  Use build_call_vec
instead of build_call_list.
(build_jni_stub): Use build_call_vec instead of build_call_list.
* java-tree.h (maybe_rewrite_invocation): Update declaration.
(build_known_method_ref): Likewise.
(invoke_build_dtable): Likewise.

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

10 years ago * ipa-reference.c (propagate): Walk all nodes in the cleanup stage.
hubicka [Tue, 18 May 2010 22:37:32 +0000 (22:37 +0000)]
  * ipa-reference.c (propagate): Walk all nodes in the cleanup stage.

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

10 years ago2010-05-18 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Tue, 18 May 2010 22:09:19 +0000 (22:09 +0000)]
2010-05-18  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/43332
* haifa-sched.c (setup_insn_max_reg_pressure): Check barrier.

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

10 years ago * tree.h (build_int_cstu): Implement as static inline.
aesok [Tue, 18 May 2010 20:54:59 +0000 (20:54 +0000)]
* tree.h (build_int_cstu): Implement as static inline.
* tree.c (build_int_cstu): Remove function.
(double_int_to_tree, double_int_fits_to_tree_p): Handle size types as
sign extended.

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

10 years ago * gcc.target/i386/20011009-1.c (COMMENT): Define.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Tue, 18 May 2010 19:05:09 +0000 (19:05 +0000)]
* gcc.target/i386/20011009-1.c (COMMENT): Define.
(main): Use it.
* gcc.target/i386/pr25993.c [__sun__]: Use .globl.
* lib/lto.exp (lto_prune_warns): Fix location line regex.
Prune another location line format.
(lto-obj): Call lto_prune_warns on comp_output.

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

10 years ago2010-05-18 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 18 May 2010 15:11:01 +0000 (15:11 +0000)]
2010-05-18  Richard Guenther  <rguenther@suse.de>

PR lto/44143
* lto-wrapper.c (verbose): New variable.  Initialize from -v.
(debug): Initialize from -save-temps.
(collect_execute): Print command-line when verbose.
(run_gcc): Always use COLLECT_GCC_OPTIONS.  Use fork_execute
for ltrans invocation.  Produce -dumpbase flag again.
(process_args): Remove.
(main): Simplify.
* collect2.c (maybe_run_lto_and_relink): Only pass object
files to lto-wrapper.
* gcc.c (LINK_COMMAND_SPEC): Likewise.

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

10 years ago * gcc.dg/lto/ipacp_0.c: New test.
hubicka [Tue, 18 May 2010 14:37:30 +0000 (14:37 +0000)]
* gcc.dg/lto/ipacp_0.c: New test.
* gcc.dg/lto/ipacp_1.c: New test.

* opts.c (decode_options): Do not disable whopr at ipa_cp.
* ipa-prop.c (ipa_detect_param_modifications): Walk PHI nodes too.

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

10 years agofix broken checkin, test should be link not assemble
steven [Tue, 18 May 2010 14:13:10 +0000 (14:13 +0000)]
fix broken checkin, test should be link not assemble

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

10 years agogcc/
steven [Tue, 18 May 2010 13:51:50 +0000 (13:51 +0000)]
gcc/
PR lto/44184
* lto-streamer-out.c (output_gimple_stmt): Output number of labels
in a GIMPLE_ASM.
* lto-streamer-in.c (input_gimple_stmt): Read number of labels
in a GIMPLE_ASM.

testsuite/
PR lto/44184
* gcc.dg/lto/20100518_0.c: New test.

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

10 years ago PR debug/41371
jakub [Tue, 18 May 2010 09:35:52 +0000 (09:35 +0000)]
PR debug/41371
* var-tracking.c (find_loc_in_1pdv): Add a few checks from
rtx_equal_p inline.

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

10 years agoadd lto to powerpc-*darwin and enable for 32bit darwin
iains [Tue, 18 May 2010 08:12:56 +0000 (08:12 +0000)]
add lto to powerpc-*darwin and enable for 32bit darwin

Steven Bosscher  <steven@gcc.gnu.org>
ChangeLog:
* configure.ac (--enable-lto): All *-apple-darwin* now support LTO.
* configure: Regenerate.

gcc/ChangeLog:
* config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add
lto-macho as lto_binary_reader.

* darwin.c (darwin_asm_named_section): Do not add assembler comment
after .section directive; just print it before the directive instead.

M    gcc/config.gcc
M    gcc/config/darwin.c
M    ChangeLog
M    gcc/ChangeLog

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

10 years ago * gnat.dg/specs/lto3.ads: Add missing dg-options.
ebotcazou [Tue, 18 May 2010 07:10:11 +0000 (07:10 +0000)]
* gnat.dg/specs/lto3.ads: Add missing dg-options.

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

10 years agoDaily bump.
gccadmin [Tue, 18 May 2010 00:17:30 +0000 (00:17 +0000)]
Daily bump.

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

10 years ago * cgraph.c (cgraph_create_virtual_clone): Only check
hubicka [Mon, 17 May 2010 23:12:14 +0000 (23:12 +0000)]
* cgraph.c (cgraph_create_virtual_clone): Only check
versionable_function_p when not in wpa and checking is enabled.
* cgrpahunit.c (cgraph_materialize_all_clones): Stabilize after
there are no more functions to materialize.

* lto/lto.c (lto_1_to_1_map): Partition non-inline clones.
(lto_promote_cross_file_statics): Deal with non-inline clones.

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

10 years ago * cgraph.h (struct ipa_replace_map): Add parm_num parameter.
hubicka [Mon, 17 May 2010 23:02:47 +0000 (23:02 +0000)]
* cgraph.h (struct ipa_replace_map): Add parm_num parameter.
* lto-cgraph.c (output_cgraph_opt_summary, input_cgraph_opt_summary):
New functions.
(output_cgraph): Call output_cgraph_opt_summary.
(input_cgrpah): Call input_cgraph_opt_summary.
(output_cgraph_opt_summary_p, output_node_opt_summary,
input_node_opt_summary, input_cgraph_opt_section): New functions.
* lto-section-in.c (lto_section_name): Add cgraphopt.
* tree-inline.c (tree_function_versioning): Handle parm_num.
* lto-streamer.c (lto_get_section_name): Handle cgraphopt.
* lto-streamer.h (lto_section_type): Add LTO_section_cgraph_opt_sum.

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

10 years ago * lto.c (lto_materialize_function): Announce function when
hubicka [Mon, 17 May 2010 22:42:02 +0000 (22:42 +0000)]
* lto.c (lto_materialize_function): Announce function when
reading body; allocate_struct_function only when reading body;
do not finalize local statics; ggc_collect after reading;
do not mark reachable node.
(materialize_cgraph): Do not announce function.

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

10 years agoAlso apply the insn to prefetch ratio heuristic to loops with known trip count.
spop [Mon, 17 May 2010 22:34:03 +0000 (22:34 +0000)]
Also apply the insn to prefetch ratio heuristic to loops with known trip count.

2010-05-17  Changpeng Fang  <changpeng.fang@amd.com>

* doc/invoke.texi: Update documentation for min-insn-to-prefetch-ratio.
* tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Also apply
the insn to prefetch ratio heuristic to loops with known trip count.

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

10 years agoDefine PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO heuristic.
spop [Mon, 17 May 2010 22:33:53 +0000 (22:33 +0000)]
Define PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO heuristic.

2010-05-17  Changpeng Fang  <changpeng.fang@amd.com>

* tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO): New.
(schedule_prefetches): Do not generate a prefetch if the unroll factor
is far from what is required by the prefetch.

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

10 years ago * ipa-cp.c (ipcp_update_callgraph): Use ipa_is_param_used.
hubicka [Mon, 17 May 2010 22:13:07 +0000 (22:13 +0000)]
* ipa-cp.c (ipcp_update_callgraph): Use ipa_is_param_used.
(ipcp_estimate_growth): Likewise.
(ipcp_const_param_count): Likewise.
(ipcp_insert_stage): Likewise.
* ipa-prop.c (visit_load_for_mod_analysis): New function.
(visit_store_addr_for_mod_analysis): Set used flag.
(ipa_detect_param_modifications): Set used flag for SSE params;
update use of walk_stmt_load_store_addr_ops.
(ipa_print_node_params): Print used flag.
(ipa_write_node_info): Stream used flag.
(ipa_read_node_info): Likewise.
* ipa-prop.h (struct ipa_param_descriptor): Add used field.
(ipa_is_param_used): New function.
(lto_ipa_fixup_call_notes): Remove unused declaration.

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

10 years ago PR target/44074
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 17 May 2010 20:28:56 +0000 (20:28 +0000)]
PR target/44074
* configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): New test.
* configure: Regenerate.
* config.in: Regenerate.
* config/i386/i386.c (print_operand) <case ;>: Also print ; if
!HAVE_AS_IX86_REP_LOCK_PREFIX.
Don't emit whitespace.
* config/i386/i386.md (*rep_movdi_rex64): Use {%;} after rep.
(*rep_movsi): Likewise.
(*rep_movsi_rex64): Likewise.
(*rep_movqi): Likewise.
(*rep_movqi_rex64): Likewise.
(*rep_stosdi_rex64): Likewise.
(*rep_stossi): Likewise.
(*rep_stossi_rex64): Likewise.
(*rep_stosqi): Likewise.
(*rep_stosqi_rex64): Likewise.
(*cmpstrnqi_nz_1): Use {%;} after repz.
(*cmpstrnqi_nz_rex_1): Likewise.
(*cmpstrnqi_1): Likewise.
(*cmpstrnqi_rex_1): Likewise.
(*strlenqi_1): Use {%;} after repnz.
(*strlenqi_rex_1): Likewise.
* config/i386/sync.md (memory_barrier_nosse): Replace {%;| } by {%;} .
(*sync_compare_and_swap<mode>): Likewise.
(sync_double_compare_and_swap<mode>): Likewise.
(*sync_double_compare_and_swapdi_pic): Likewise.
(sync_old_add<mode>): Likewise.
(sync_add<mode>): Likewise.
(sync_sub<mode>): Likewise.
(sync_<code><mode>): Likewise.

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

10 years ago2010-05-17 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 17 May 2010 19:58:48 +0000 (19:58 +0000)]
2010-05-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/43990
* trans-expr.c (gfc_conv_structure): Remove unneeded and buggy code.
This is now handled via 'gfc_class_null_initializer'.

2010-05-17  Janus Weil  <janus@gcc.gnu.org>

PR fortran/43990
* gfortran.dg/class_21.f03: New.

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

10 years ago * call.c (struct z_candidate): Add explicit_targs field.
jason [Mon, 17 May 2010 19:54:05 +0000 (19:54 +0000)]
* call.c (struct z_candidate): Add explicit_targs field.
(add_template_candidate_real): Set it.
(build_over_call): Use it to control init-list warning.

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

10 years ago PR c++/44157
jason [Mon, 17 May 2010 19:53:55 +0000 (19:53 +0000)]
PR c++/44157
* call.c (build_over_call): Limit init-list deduction warning to
cases where the argument is actually an init-list.

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

10 years ago PR c++/44158
jason [Mon, 17 May 2010 19:53:45 +0000 (19:53 +0000)]
PR c++/44158
* call.c (build_over_call): Don't do bitwise copy for move ctor.

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

10 years ago2010-05-17 Martin Jambor <mjambor@suse.cz>
jamborm [Mon, 17 May 2010 19:43:40 +0000 (19:43 +0000)]
2010-05-17  Martin Jambor  <mjambor@suse.cz>

* cgraph.h (cgraph_indirect_call_info): New fields anc_offset,
otr_token and polymorphic.
* cgraph.c (cgraph_create_indirect_edge): Inilialize the above fields.
(cgraph_clone_edge): Copy the above fields.
* tree.c (get_binfo_at_offset): New function.
* tree.h (get_binfo_at_offset): Declare.
* ipa-prop.h (enum jump_func_type): Added known_type jump function
type, reordered items, updated comments.
(union jump_func_value): Added base_type field, reordered fields.
(enum ipa_lattice_type): Moved down in the file.
(struct ipa_param_descriptor): New field polymorphic.
(ipa_is_param_polymorphic): New function.
* ipa-prop.c: Include gimple.h and gimple-fold.h.
(ipa_print_node_jump_functions): Print known type jump functions.
(compute_complex_pass_through): Renamed to...
(compute_complex_assign_jump_func): this.
(compute_complex_ancestor_jump_func): New function.
(compute_known_type_jump_func): Likewise.
(compute_scalar_jump_functions): Create known type and complex ancestor
jump functions.
(ipa_note_param_call): New parameter polymorphic, set the corresponding
flag in the call note accordingly.
(ipa_analyze_call_uses): Renamed to...
(ipa_analyze_indirect_call_uses): this.  New parameter target, define
variable var only in the block where it is used.
(ipa_analyze_virtual_call_uses): New function.
(ipa_analyze_call_uses): Likewise.
(combine_known_type_and_ancestor_jfs): Likewise.
(update_jump_functions_after_inlining): Implemented handling of a
number of new jump function types combination.
(print_edge_addition_message): Removed.
(make_edge_direct_to_target): New function.
(try_make_edge_direct_simple_call): Likewise.
(try_make_edge_direct_virtual_call): Likewise.
(update_call_notes_after_inlining): Renamed to...
(update_indirect_edges_after_inlining): this.  Moved edge creation for
indirect calls to try_make_edge_direct_simple_call, also calls
try_make_edge_direct_virtual_call for virtual calls.
(ipa_print_node_params): Changed the header message.
(ipa_write_jump_function): Stream also known type jump functions.
(ipa_read_jump_function): Likewise.
(ipa_write_indirect_edge_info): Stream new fields in
cgraph_indirect_call_info.
(ipa_read_indirect_edge_info): Likewise.
* Makefile.in (ipa-prop.o): Add dependency to GIMPLE_H and
GIMPLE_FOLD_H.

* testsuite/g++.dg/ipa/ivinline-1.C: New test.
* testsuite/g++.dg/ipa/ivinline-2.C: New test.
* testsuite/g++.dg/ipa/ivinline-3.C: New test.
* testsuite/g++.dg/ipa/ivinline-4.C: New test.
* testsuite/g++.dg/ipa/ivinline-5.C: New test.
* testsuite/g++.dg/ipa/ivinline-6.C: New test.

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

10 years ago2010-05-17 Janus Weil <janus@gcc.gnu.org>
janus [Mon, 17 May 2010 18:45:32 +0000 (18:45 +0000)]
2010-05-17  Janus Weil  <janus@gcc.gnu.org>

* class.c (gfc_add_component_ref,gfc_class_null_initializer,
gfc_build_class_symbol,add_proc_component,add_proc_comps,
add_procs_to_declared_vtab1,copy_vtab_proc_comps,
add_procs_to_declared_vtab,add_generic_specifics,
add_generics_to_declared_vtab,gfc_find_derived_vtab,
find_typebound_proc_uop,gfc_find_typebound_proc,
gfc_find_typebound_user_op,gfc_find_typebound_intrinsic_op,
gfc_get_tbp_symtree): Moved here from other places.
* expr.c (gfc_add_component_ref,gfc_class_null_initializer): Move to
class.c.
* gfortran.h (gfc_build_class_symbol,gfc_find_derived_vtab,
gfc_find_typebound_proc,gfc_find_typebound_user_op,
gfc_find_typebound_intrinsic_op,gfc_get_tbp_symtree,
gfc_add_component_ref, gfc_class_null_initializer): Moved to class.c.
* Make-lang.in: Add class.o.
* symbol.c (gfc_build_class_symbol,add_proc_component,add_proc_comps,
add_procs_to_declared_vtab1,copy_vtab_proc_comps,
add_procs_to_declared_vtab,add_generic_specifics,
add_generics_to_declared_vtab,gfc_find_derived_vtab,
find_typebound_proc_uop,gfc_find_typebound_proc,
gfc_find_typebound_user_op,gfc_find_typebound_intrinsic_op,
gfc_get_tbp_symtree): Move to class.c.

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

10 years agoForgot ChangeLog entry for last commit.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 17 May 2010 18:19:17 +0000 (18:19 +0000)]
Forgot ChangeLog entry for last commit.

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

10 years ago * config/i386/sol2.h (TARGET_SUN_TLS): Remove duplicate definition.
ro@138bc75d-0d04-0410-961f-82ee72b054a4 [Mon, 17 May 2010 18:18:08 +0000 (18:18 +0000)]
* config/i386/sol2.h (TARGET_SUN_TLS): Remove duplicate definition.

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

10 years ago * tree.h (CALL_EXPR_ARGS): Delete.
froydnj [Mon, 17 May 2010 18:16:27 +0000 (18:16 +0000)]
* tree.h (CALL_EXPR_ARGS): Delete.
(call_expr_arglist): Delete.
* tree.c (call_expr_arglist): Delete.
* builtins.c (fold_call_expr): Pass the whole CALL_EXPR to
targetm.fold_builtin.
* config/alpha/alpha.c (alpha_fold_builtin): Rename arglist parameter.
Rewrite iteration to work on call_expr_nargs rather than TREE_CHAIN.
* config/picochip/picochip.c (picochip_expand_builtin_2op): Rename
arglist parameter.  Use CALL_EXPR_ARG.
(picochip_expand_builtin_3op): Likewise.
(picochip_expand_builtin_2opvoid): Likewise.
(picochip_expand_array_get): Likewise.
(picochip_expand_array_put): Likewise.
(picochip_expand_array_testport): Likewise.
(picochip_expand_builtin): Don't call CALL_EXPR_ARGS.  Pass exp
rather than arglist.
* config/rx/rx.c (rx_expand_builtin): Call call_expr_nargs instead of
CALL_EXPR_ARGS.
* config/sparc/sparc.c (sparc_fold_builtin): Use CALL_EXPR_ARG rather
than TREE_VALUE and TREE_CHAIN.
* config/xtensa/xtensa.c (xtensa_fold_builtin): Likewise.
* doc/tm.texi (TARGET_FOLD_BUILTIN): Pass CALL_EXPR tree instead of
the arglist.

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

10 years ago PR c++/44108
jakub [Mon, 17 May 2010 17:24:32 +0000 (17:24 +0000)]
PR c++/44108
* decl.c (compute_array_index_type): Call mark_rvalue_use.

* c-c++-common/Wunused-var-8.c: New test.

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

10 years ago PR bootstrap/42347
jakub [Mon, 17 May 2010 17:19:46 +0000 (17:19 +0000)]
PR bootstrap/42347
* cfglayout.c (fixup_reorder_chain): Allow returnjump_p
to have no fallthru edge.

* gcc.c-torture/compile/pr42347.c: New test.

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

10 years ago PR middle-end/44102
jakub [Mon, 17 May 2010 17:18:24 +0000 (17:18 +0000)]
PR middle-end/44102
* cfgcleanup.c (try_optimize_cfg): When removing trivially empty
bb with no successors, move footer whenever in IR_RTL_CFGLAYOUT
mode, not just when CLEANUP_CFGLAYOUT, and when in IR_RTL_CFGRTL
add BARRIER after previous bb if needed.

* g++.dg/ext/asmgoto1.C: New test.

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

10 years agofix ChangeLog entries for previous commits
froydnj [Mon, 17 May 2010 16:28:51 +0000 (16:28 +0000)]
fix ChangeLog entries for previous commits

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

10 years agofix bogus email for myself
froydnj [Mon, 17 May 2010 16:10:31 +0000 (16:10 +0000)]
fix bogus email for myself

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

10 years agogcc/
froydnj [Mon, 17 May 2010 16:09:35 +0000 (16:09 +0000)]
gcc/
* tree.c (build_function_type_list_1): Remove bogus assert condition.

gcc/fortran/
* trans-types.c (gfc_init_types): Use build_function_type_list.
(gfc_get_ppc_type): Likewise.
* trans-decl.c (gfc_generate_constructors): Likewise.
* f95-lang.c (build_builtin_fntypes): Likewise.
(gfc_init_builtin_functions): Likewise.
(DEF_FUNCTION_TYPE_0): Likewise.
(DEF_FUNCTION_TYPE_1): Likewise.
(DEF_FUNCTION_TYPE_2): Likewise.
(DEF_FUNCTION_TYPE_3): Likewise.
(DEF_FUNCTION_TYPE_4): Likewise.
(DEF_FUNCTION_TYPE_5): Likewise.
(DEF_FUNCTION_TYPE_6): Likewise.
(DEF_FUNCTION_TYPE_7): Likewise.  Use ARG7.
(DEF_FUNCTION_TYPE_VAR_0): Use build_varags_function_type_list.

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

10 years ago * trans-array.c (gfc_trans_array_constructor_value): Use
froydnj [Mon, 17 May 2010 16:03:46 +0000 (16:03 +0000)]
* trans-array.c (gfc_trans_array_constructor_value): Use
build_constructor instead of build_constructor_from_list.
(gfc_build_constant_array_constructor): Likewise.
* trans-decl.c (create_main_function): Likewise.
* trans-stmt.c (gfc_trans_character_select): Likewise.

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