OSDN Git Service

9 years ago2011-03-24 Paolo Bonzini <pbonzini@redhat.com>
bonzini [Thu, 24 Mar 2011 17:47:30 +0000 (17:47 +0000)]
2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>

        * configure.ac: Remove references to mt-mep, mt-netware,
        * Makefile.def: Add all-utils soft dependencies.
        * Makefile.tpl: Remove GDB_NLM_DEPS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.

2011-03-24  Paolo Bonzini  <pbonzini@redhat.com>

        * mt-mep: Remove, obsolete.
        * mt-netware: Remove, obsolete.
        * mt-wince: Remove, obsolete.
        * mt-v810: Remove, unused.

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

9 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:29:51 +0000 (17:29 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Do not include mh-x86omitfp.
* configure: Regenerate.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-x86omitfp: Remove.

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

9 years ago * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define.
nickc [Thu, 24 Mar 2011 17:25:28 +0000 (17:25 +0000)]
* config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define.
* config/rx/rx.c (rx_option_override): Set align_jumps,
align_loops and align_labels if not set by the user.
(rx_align_for_label): New function.
(rx_max_skip_for_label): New function.
* config/rx/rx-protos.h (rx_align_for_label): Add prototype.

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

9 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:23:41 +0000 (17:23 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove empty cases.
* configure: Regenerate.

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

9 years agogcc/
rsandifo [Thu, 24 Mar 2011 17:23:18 +0000 (17:23 +0000)]
PR rtl-optimization/48263
* optabs.c (expand_binop_directly): Reinstate convert_modes code
and original commutative_p handling.  Use maybe_gen_insn.

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

9 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:11:26 +0000 (17:11 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.def: Add dependency from termcap to gdb.
* Makefile.in: Regenerate.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

        * mh-cygwin: Remove obsolete variables and dependencies.

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

9 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 17:07:44 +0000 (17:07 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove all mentions of mh-sysv4 and mh-solaris.
* configure: Regenerate.
* Makefile.def: Remove all mentions of X11_FLAGS_TO_PASS.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove.
* mh-solaris: Remove.

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

9 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 16:58:56 +0000 (16:58 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Remove all mentions of tentative_cc.
* configure: Regenerate.

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

9 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
bonzini [Thu, 24 Mar 2011 16:53:52 +0000 (16:53 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove AR_CFLAGS.

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

9 years ago2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 24 Mar 2011 16:50:31 +0000 (16:50 +0000)]
2011-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* reload.c (find_reloads_subreg_address): Add address_reloaded
parameter and return true there if the full address has been
(find_reloads_toplev): Pass address_reloaded flag.
(find_reloads_address_1): Don't use address_reloaded parameter.

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

9 years ago * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
jsm28 [Thu, 24 Mar 2011 16:49:56 +0000 (16:49 +0000)]
* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*,
m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*,
m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*,
mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*,
i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*,
i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*,
i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*,
hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*,
*-*-rhapsody*): Remove host cases.
* configure: Regenerate.

* mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-sysv5: Remove.

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

9 years ago2011-03-24 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 24 Mar 2011 16:49:19 +0000 (16:49 +0000)]
2011-03-24  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/random.h (negative_binomial_distribution<>::
negative_binomial_distribution(_IntType, double),
negative_binomial_distribution(const param_type&)): Fix
construction of _M_gd.
* include/bits/random.tcc (negative_binomial_distribution<>::
operator()): Fix computation, per Leger's algorithm.
* testsuite/util/testsuite_random.h (discrete_pdf,
negative_binomial_pdf, poisson_pdf, uniform_int_pdf): New.
(binomial_pdf): Swap last two parameters.
* testsuite/26_numerics/random/discrete_distribution/
operators/values.cc: New.
* testsuite/26_numerics/random/negative_binomial_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/poisson_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/uniform_int_distribution/
operators/values.cc: Likewise.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Adjust.

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

9 years ago * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but
law [Thu, 24 Mar 2011 16:44:17 +0000 (16:44 +0000)]
* tree-ssa-live.c (remove_unused_scope_block_p): Remove set but
unused variable "ann".
(remove_unused_locals): Likewise.

* tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless

* cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL
after it is freed.

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

9 years ago * gcc.pot: Regenerate.
jsm28 [Thu, 24 Mar 2011 16:43:55 +0000 (16:43 +0000)]
* gcc.pot: Regenerate.

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

9 years ago * cpplib.pot: Regenerate.
jsm28 [Thu, 24 Mar 2011 16:43:18 +0000 (16:43 +0000)]
* cpplib.pot: Regenerate.

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

9 years ago2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 24 Mar 2011 16:38:24 +0000 (16:38 +0000)]
2011-03-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS
for invalid symbolic addresses.
(s390_secondary_reload): Don't use s390_check_symref_alignment for
larl operands.

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

9 years ago2011-03-24 Steve Ellcey <sje@cup.hp.com>
sje [Thu, 24 Mar 2011 16:29:18 +0000 (16:29 +0000)]
2011-03-24  Steve Ellcey  <sje@cup.hp.com>

PR target/48209
* gcc.c-torture/execute/pr47917.c: Move this...
* gcc.dg/torture/pr47917.c: to here and add xfails.

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

9 years ago * fold-const.c (fold_ternary_loc): Preserve the location (if any) of
ebotcazou [Thu, 24 Mar 2011 16:15:22 +0000 (16:15 +0000)]
* fold-const.c (fold_ternary_loc): Preserve the location (if any) of
the argument in calls to fold_truth_not_expr.

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

9 years ago * einfo.ads (Size_Depends_On_Discriminant): Adjust description.
ebotcazou [Thu, 24 Mar 2011 16:08:50 +0000 (16:08 +0000)]
* einfo.ads (Size_Depends_On_Discriminant): Adjust description.
* layout.adb (Compute_Size_Depends_On_Discriminant): New procedure
to compute Set_Size_Depends_On_Discriminant.
(Layout_Type): Call it on array types in back-end layout mode.
* sem_util.adb (Requires_Transient_Scope): Return true for array
types only if the size depends on the value of discriminants.
* gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Use the RHS
type if the RHS is a call to a function that returns an unconstrained
type with default discriminant.

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

9 years ago2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 24 Mar 2011 15:57:57 +0000 (15:57 +0000)]
2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
Copyright years.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:

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

9 years ago * tree.c (record_node_allocation_statistics): New function.
froydnj [Thu, 24 Mar 2011 15:23:23 +0000 (15:23 +0000)]
* tree.c (record_node_allocation_statistics): New function.
(make_node_stat, copy_node_stat, build_string): Call it.
(make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise.
(build1_stat, build_omp_clause): Likewise.

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

9 years ago * gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
ebotcazou [Thu, 24 Mar 2011 15:15:44 +0000 (15:15 +0000)]
* gcc-interface/trans.c (gnat_to_gnu): Remove obsolete case of
non-conversion to the nominal result type at the end.

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

9 years agogcc/
rsandifo [Thu, 24 Mar 2011 15:13:45 +0000 (15:13 +0000)]
* builtins.c (expand_movstr): Fix endp == 1 adjustment after
last commit.

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

9 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 14:43:16 +0000 (14:43 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48271
* tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup
blocks that still exist.

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

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

9 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 14:39:36 +0000 (14:39 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48270
* tree-ssa-phiopt.c (cond_if_else_store_replacement): Do
not free datarefs before ddrs.

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

9 years ago * tree-sra.c (build_ref_for_offset): Strip useless type conversions
ebotcazou [Thu, 24 Mar 2011 14:21:27 +0000 (14:21 +0000)]
* tree-sra.c (build_ref_for_offset): Strip useless type conversions
from the address built for a reference with variable offset.

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

9 years ago PR target/48237
uros [Thu, 24 Mar 2011 13:35:26 +0000 (13:35 +0000)]
PR target/48237
* config/i386/i386.md (*movdf_internal_rex64): Do not split
alternatives that can be handled with movq or movabsq insn.
(*movdf_internal): Disable for !TARGET_64BIT.
(*movdf_internal_nointeger): Ditto.
* config/i386/i386.c (ix86_print_operand): Handle DFmode immediates.


PR target/48237
* gcc.target/i386/pr48237.c: New test.

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

9 years ago * configure.ac (ppc*-*-pe): Remove host case.
jsm28 [Thu, 24 Mar 2011 13:24:31 +0000 (13:24 +0000)]
* configure.ac (ppc*-*-pe): Remove host case.
(strongarm-*-coff | xscale-*-coff, strongarm-*-elf* |
xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf
| ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target
* configure: Regenerate.

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

9 years ago * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison.
froydnj [Thu, 24 Mar 2011 13:03:06 +0000 (13:03 +0000)]
* tm.texi.in: Change references to them to hook references.
* tm.texi: Regenerate.
* targhooks.c (default_function_arg): Eliminate check for target
(default_function_incoming_arg): Likewise.
(default_function_arg_advance): Likewise.
* target.def (function_arg, function_incoming_arg): Change to
(function_arg_advance): Likewise.
* target-def.h: Eliminate FUNCTION_INCOMING_ARG check.

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

9 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 12:44:58 +0000 (12:44 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR middle-end/48269
* tree-object-size.c (addr_object_size): Do not double-account
for MEM_REF offsets.

* gcc.dg/builtin-object-size-10.c: New testcase.

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

9 years ago * lto-opts.c (input_data_block): Move to lto-streamer-in.c.
dnovillo [Thu, 24 Mar 2011 12:39:59 +0000 (12:39 +0000)]
* lto-opts.c (input_data_block): Move to lto-streamer-in.c.
* lto-streamer-in.c (input_string_internal): Add clarifying
(lto_input_data_block): Move from lto-opts.c.  Make extern.
Update all users.
(lto_input_string): Rename from input_string.  Make extern.
Update all users.
* lto-streamer-out.c (lto_output_string_with_length): Rename from
Output 0 to indicate a non-NULL string.  Update all callers to
not emit 0.
(lto_output_string): Rename from output_string.  Make extern.
Update all users.
(lto_output_decl_state_streams): Make extern.
(lto_output_decl_state_refs): Make extern.
* lto-streamer.h (lto_input_string): Declare.
(lto_input_data_block): Declare.
(lto_output_string): Declare.
(lto_output_string_with_length): Declare.
(lto_output_decl_state_streams): Declare.
(lto_output_decl_state_refs): Declare.

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

9 years ago2011-03-24 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 24 Mar 2011 11:23:29 +0000 (11:23 +0000)]
2011-03-24  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46562
* tree.c (build_invariant_address): New function.
* tree.h (build_invariant_address): Declare.
* tree-dfa.c (get_addr_base_and_unit_offset): Wrap around
a renamed function moved ...
* tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here.
Take valueization callback parameter.
* tree-flow.h (gimple_fold_stmt_to_constant): Declare.
* gimple-fold.h: New file.
* tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1.
(ccp_fold, fold_const_aggregate_ref,
fold_ctor_reference, fold_nonarray_ctor_reference,
fold_array_ctor_reference, fold_string_cst_ctor_reference,
get_base_constructor): Move ...
* gimple-fold.c: ... here.
(gimple_fold_stmt_to_constant_1): New function
split out from ccp_fold.  Take a valueization callback parameter.
Valueize all operands.
(gimple_fold_stmt_to_constant): New wrapper function.
(fold_const_aggregate_ref_1): New function split out from
fold_const_aggregate_ref.  Take a valueization callback parameter.
(fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1.
* tree-ssa-sccvn.c (simplify_binary_expression): Simplify
invariant POINTER_PLUS_EXPRs to invariant form.
(vn_valueize): New function.
(try_to_simplify): Simplify by using gimple_fold_stmt_to_constant.
* tree-vrp.c (vrp_valueize): New function.
(vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant
to fold statements to constants.
* tree-ssa-pre.c (eliminate): Properly guard propagation of
function declarations.
* Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o,
tree-ssa-ccp.o): Add gimple-fold.h dependencies.

* c-c++-common/pr46562-2.c: New testcase.
* c-c++-common/pr46562.c: Likewise.

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

9 years ago * config.sub: Update to version 2011-03-23.
jsm28 [Thu, 24 Mar 2011 11:12:27 +0000 (11:12 +0000)]
* config.sub: Update to version 2011-03-23.

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

9 years agogcc/
rsandifo [Thu, 24 Mar 2011 10:03:40 +0000 (10:03 +0000)]
* config/h8300/predicates.md (jump_address_operand): Fix register
mode check.

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

9 years ago * config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
ro [Thu, 24 Mar 2011 09:26:46 +0000 (09:26 +0000)]
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerate.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.

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

9 years ago * doc/invoke.texi (max-stores-to-sink): Document.
irar [Thu, 24 Mar 2011 08:23:39 +0000 (08:23 +0000)]
    * doc/invoke.texi (max-stores-to-sink): Document.
        * params.h (MAX_STORES_TO_SINK): Define.
        * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0
        if either vectorization or if-conversion is disabled.
        * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from
        tree-vect-data-refs.c vect_equal_offsets.
        (dr_equal_offsets_p): New function.
        (find_data_references_in_bb): Remove static.
        * tree-data-ref.h (find_data_references_in_bb): Declare.
        (dr_equal_offsets_p): Likewise.
        * tree-vect-data-refs.c (vect_equal_offsets): Move to
        (vect_drs_dependent_in_basic_block): Update calls to
        (vect_check_interleaving): Likewise.
        * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h.
        (cond_if_else_store_replacement): Rename to...
        (cond_if_else_store_replacement_1): ... this.  Change arguments
        and documentation.
        (cond_if_else_store_replacement): New function.
        * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies.
        * params.def (PARAM_MAX_STORES_TO_SINK): Define.

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

9 years agoTuple receives indicate whether channel is closed.
ian [Thu, 24 Mar 2011 06:01:27 +0000 (06:01 +0000)]
Tuple receives indicate whether channel is closed.

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

9 years ago2011-03-23 Chung-Lin Tang <cltang@codesourcery.com>
cltang [Thu, 24 Mar 2011 02:47:55 +0000 (02:47 +0000)]
2011-03-23  Chung-Lin Tang  <cltang@codesourcery.com>

PR target/46934
* config/arm/arm.md (casesi): Use the gen_int_mode() function
to subtract lower bound instead of GEN_INT().

* gcc.target/arm/pr46934.c: New.

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

9 years ago2011-03-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Thu, 24 Mar 2011 01:48:57 +0000 (01:48 +0000)]
2011-03-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/48030
* io/read.c (read_x): Re-implement using fbuf_getc.

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

9 years agoCondition in if statement is not optional.
ian [Thu, 24 Mar 2011 00:40:21 +0000 (00:40 +0000)]
Condition in if statement is not optional.

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

9 years agoDaily bump.
gccadmin [Thu, 24 Mar 2011 00:18:27 +0000 (00:18 +0000)]
Daily bump.

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

9 years agoChange c <- v from an expression to a statement.
ian [Thu, 24 Mar 2011 00:01:44 +0000 (00:01 +0000)]
Change c <- v from an expression to a statement.
Don't do anything special if we don't use the value of <-c.
Fix sending an untyped constant in a select statement.

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

9 years ago * go.test/go-test.exp (errchk): Ignore lines containing ////.
ian [Wed, 23 Mar 2011 23:59:46 +0000 (23:59 +0000)]
* go.test/go-test.exp (errchk): Ignore lines containing ////.

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

9 years agoSend on a closed channel panics.
ian [Wed, 23 Mar 2011 21:13:57 +0000 (21:13 +0000)]
Send on a closed channel panics.
Calling close on a closed channel panics.
Don't limit number of receives on a closed channel.

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

9 years agoMissed test data in libgo update.
ian [Wed, 23 Mar 2011 21:09:55 +0000 (21:09 +0000)]
Missed test data in libgo update.

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

9 years agoSomehow missed this addition when updating the library.
ian [Wed, 23 Mar 2011 21:04:39 +0000 (21:04 +0000)]
Somehow missed this addition when updating the library.

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

9 years ago2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 23 Mar 2011 19:52:13 +0000 (19:52 +0000)]
2011-03-23  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR other/48179
PR other/48221
PR other/48234
* doc/extend.texi (Alignment): Move section to match order in TOC.
* doc/invoke.texi (i386 and x86-64 Windows Options): Likewise.
(Warning Options): Adjust -Wno-cpp summary and remove stray backslash.

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

9 years ago * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map
law [Wed, 23 Mar 2011 17:35:59 +0000 (17:35 +0000)]
* cfg.c (redirect_edge_succ_nodup): Duplicate the varm map
before removing the edge.

* cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after
it may have been freed by redirect_branch_edge or

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

9 years ago2011-03-23 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 23 Mar 2011 16:02:30 +0000 (16:02 +0000)]
2011-03-23  Richard Guenther  <rguenther@suse.de>

* tree-stdarg.c (va_list_counter_bump): Handle bumps via
(check_va_list_escapes): Likewise.
(check_all_va_list_escapes): Likewise.

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

9 years ago2011-03-23 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 23 Mar 2011 14:49:20 +0000 (14:49 +0000)]
2011-03-23  Richard Guenther  <rguenther@suse.de>

* Makefile.in (IPA_TYPE_ESCAPE_H): Remove.
(OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o.
(tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H.
(alias.o): Likewise.
(ipa-type-escape.o): Remove.
(ipa-struct-reorg.o): Likewise.
(GTFILES): Remove ipa-struct-reorg.c.
* alias.c: Do not include ipa-type-escape.h.
* tree-ssa-alias.c: Likewise.
* common.opt (fipa-struct-reorg): Preserve for backward compatibility.
* opts.c (finish_options): Do not reset flag_ipa_struct_reorg.
* passes.c (init_optimization_passes): Remove ipa-struct-reorg
and ipa-type-escape passes.
* tree-pass.h (pass_ipa_type_escape): Remove.
(pass_ipa_struct_reorg): Likewise.
* ipa-struct-reorg.h: Remove.
* ipa-struct-reorg.c: Likewise.
* ipa-type-escape.h: Likewise.
* ipa-type-escape.c: Likewise.
* doc/invoke.texi (-fipa-struct-reorg): Remove.
(--param struct-reorg-cold-struct-ratio): Likewise.
* params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise.
* timevar.def (TV_IPA_TYPE_ESCAPE): Likewise.

* gcc.dg/struct: Remove directory and contents.

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

9 years ago2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com>
espindola [Wed, 23 Mar 2011 14:06:24 +0000 (14:06 +0000)]
2010-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>

* plugin-api.h (ld_plugin_get_view): New.
(ld_plugin_tag): Add LDPT_GET_VIEW.
(ld_plugin_tv): Add tv_get_view.

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

9 years ago2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 23 Mar 2011 13:42:46 +0000 (13:42 +0000)]
2011-03-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/2084.md: Enable all insn reservations also for z9_ec
cpu attribute value.
* config/s390/s390-opts.h (enum s390_arch_option): Remove.
(enum processor_type): Add PROCESSOR_2094_Z9_EC.
* config/s390/s390.c (processor_flags_table): New constant array.
(s390_handle_arch_option): Remove.
(s390_handle_option): Remove s390_handle_arch_option invocations
and OPT_mwarn_framesize_ handling.
(s390_option_override): Remove s390_handle_arch_option invocation.
(s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in
* config/s390/s390.md (cpu attribute): Add z9_ec value.
* config/s390/s390.opt (s390_tune, s390_arch)
(march=): Replace s390_arch_option enum and values with
processor_type.  Set variable name to s390_arch.  Set
initialization value.
(mtune=): Replace s390_arch_option with processor_type.  Set
variable name to s390_tune.  Set initialization value.

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

9 years ago * config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.
jakub [Wed, 23 Mar 2011 12:17:26 +0000 (12:17 +0000)]
* config/abi/post/sparc-linux-gnu/baseline_symbols.txt: Regenerated.

* config/abi/post/alpha-linux-gnu/baseline_symbols.txt: Regenerated.

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

9 years ago * expr.c (expand_expr_real_1): Only use BLKmode for volatile
jules [Wed, 23 Mar 2011 11:57:28 +0000 (11:57 +0000)]
* expr.c (expand_expr_real_1): Only use BLKmode for volatile
accesses which are not naturally aligned.

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

9 years ago PR testsuite/48251
ro [Wed, 23 Mar 2011 11:55:51 +0000 (11:55 +0000)]
PR testsuite/48251
* g++.dg/guality/guality.exp: Disable on alpha*-dec-osf*.

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

9 years ago * gcc-interface/trans.c (create_temporary): New function taken from...
ebotcazou [Wed, 23 Mar 2011 10:04:08 +0000 (10:04 +0000)]
* gcc-interface/trans.c (create_temporary): New function taken from...
(create_init_temporary): ...here.  Call it.
(call_to_gnu): Create the temporary for the return value early, if any.
Create it for a function with copy-in/copy-out parameters if there is
no target; in other cases of copy-in/copy-out, use another temporary.
Push the new binding level lazily.  Add and rename local variables.

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

9 years agogcc/
rsandifo [Wed, 23 Mar 2011 09:57:26 +0000 (09:57 +0000)]
PR target/47553
* config/arm/predicates.md (neon_lane_number): Accept 0..15.

PR target/47553
* gcc.target/arm/neon-vld-1.c: New test.

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

9 years ago * gcc-interface/decl.c (validate_size): Improve comments and tweak
ebotcazou [Wed, 23 Mar 2011 09:49:46 +0000 (09:49 +0000)]
* gcc-interface/decl.c (validate_size): Improve comments and tweak
error message.
(set_rm_size): Likewise.

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

9 years ago * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
ebotcazou [Wed, 23 Mar 2011 09:38:07 +0000 (09:38 +0000)]
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Create TYPE_DECL
for the padded type built in order to support a specified alignment.
Fix incorrect formatting.

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

9 years agogcc/
rsandifo [Wed, 23 Mar 2011 09:30:58 +0000 (09:30 +0000)]
* optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code
parameter from "int" to "enum insn_code".
(expand_operand_type): New enum.
(expand_operand): New structure.
(create_expand_operand): New function.
(create_fixed_operand, create_output_operand): Likewise
(create_input_operand, create_convert_operand_to): Likewise.
(create_convert_operand_from, create_address_operand): Likewise.
(create_integer_operand): Likewise.
(create_convert_operand_from_type, maybe_legitimize_operands): Declare.
(maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise.
(expand_insn, expand_jump_insn): Likewise.
* builtins.c (expand_builtin_prefetch): Use the new interfaces.
(expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise.
(expand_movstr, expand_builtin___clear_cache): Likewise.
(expand_builtin_lock_release): Likewise.
* explow.c (allocate_dynamic_stack_space): Likewise.
(probe_stack_range): Likewise.  Allow check_stack to FAIL,
and use the default handling in that case.
* expmed.c (check_predicate_volatile_ok): Delete.
(store_bit_field_1, extract_bit_field_1): Use the new interfaces.
(emit_cstore): Likewise.
* expr.c (emit_block_move_via_movmem): Likewise.
(set_storage_via_setmem, expand_assignment): Likewise.
(emit_storent_insn, try_casesi): Likewise.
(emit_single_push_insn): Likewise.  Allow the expansion to fail.
* optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise.
(expand_vec_shift_expr, expand_binop_directly): Likewise.
(expand_twoval_unop, expand_twoval_binop): Likewise.
(expand_unop_direct, emit_indirect_jump): Likewise.
(emit_conditional_move, vector_compare_rtx): Likewise.
(expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise.
(expand_sync_operation, expand_sync_fetch_operation): Likewise.
(expand_sync_lock_test_and_set): Likewise.
(maybe_emit_unop_insn): Likewise.  Change icode to an insn_code.
(emit_unop_insn): Likewise.
(expand_copysign_absneg): Change icode to an insn_code.
(create_convert_operand_from_type): New function.
(maybe_legitimize_operand, maybe_legitimize_operands): Likewise.
(maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise.
(expand_insn, expand_jump_insn): Likewise.
* config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather
than const_int_operand for operand 2.

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

9 years ago2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Wed, 23 Mar 2011 07:53:26 +0000 (07:53 +0000)]
2011-03-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* dwarf2out.c (const_ok_for_output_1): Print the unspec enum name
if possible.

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

9 years agorefactor emit_*_{after,before}_noloc using common functions
froydnj [Wed, 23 Mar 2011 01:56:12 +0000 (01:56 +0000)]
refactor emit_*_{after,before}_noloc using common functions
* emit-rtl.c (emit_pattern_before_noloc): New function.
(emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it.
(emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise.
(emit_pattern_after_noloc): New function.
(emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it.
(emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise.

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

9 years ago * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE.
froydnj [Wed, 23 Mar 2011 01:34:55 +0000 (01:34 +0000)]
* libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE.
(__ffsDI2): Likewise.

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

9 years agoDaily bump.
gccadmin [Wed, 23 Mar 2011 00:19:41 +0000 (00:19 +0000)]
Daily bump.

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

9 years agoAvoid !TARGET_ABI_OPEN_VMS in favor of a positive test for TARGET_ABI_OSF.
rth [Tue, 22 Mar 2011 23:08:16 +0000 (23:08 +0000)]
Avoid !TARGET_ABI_OPEN_VMS in favor of a positive test for TARGET_ABI_OSF.

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

9 years ago * config/s390/s390-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:53:32 +0000 (22:53 +0000)]
* config/s390/s390-opts.h: New.
* config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch,
s390_arch_flags, s390_warn_framesize, s390_stack_size,
s390_stack_guard): Remove.
(s390_handle_arch_option): Return void.  Take enum
s390_arch_option value instead of string and searching array.
(s390_handle_option): Don't assert that global structures are in
use.  Access variables via opts pointer.  Use error_at.  Don't use
sscanf for -mstack-guard= or -mstack-size=.  Update call to
(s390_option_override): Update call to s390_handle_arch_option.
(s390_emit_prologue): Use %d format for s390_stack_size in
diagnostic.  Use %wd for HOST_WIDE_INT.
* config/s390/s390.h (enum processor_type): Move to s390-opts.h.
(s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove.
* config/s390/s390.opt (config/s390/s390-opts.h): New
HeaderInclude entry.
(s390_arch_string, s390_tune, s390_tune_flags, s390_arch,
s390_arch_flags, s390_warn_framesize): New Variable entries.
(s390_arch_option): New Enum and EnumValue entries.
(march=): Use Enum instead of Var.
(mstack-guard=, mstack-size=): Use UInteger and Var.
(mtune=): Use Enum.

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

9 years ago * config/score/score.c (score_handle_option): Don't assert that
jsm28 [Tue, 22 Mar 2011 22:50:03 +0000 (22:50 +0000)]
* config/score/score.c (score_handle_option): Don't assert that
global structures are in use.  Access target_flags via opts
pointer.  Use value of -march= option to determine target_flags
* config/score/score.opt (march=): Use Enum.
(score_arch): New Enum and EnumValue entries.

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

9 years ago * config/mep/mep.c (option_mtiny_specified): Remove.
jsm28 [Tue, 22 Mar 2011 22:49:06 +0000 (22:49 +0000)]
* config/mep/mep.c (option_mtiny_specified): Remove.
(mep_option_override): Move register handling for -mivc2 from
mep_handle_option.  Use global_options_set.x_mep_tiny_cutoff
instead of option_mtiny_specified.
(mep_handle_option): Access target_flags via opts pointer.  Don't
assert that global structures are in use.  Defer part of -mivc2
handling and move it to mep_option_override.
* config/mep/mep.opt (IVC2): New Mask entry.
(mivc2): Use Var and Defer instead of Mask.

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

9 years ago * config/v850/v850-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:48:11 +0000 (22:48 +0000)]
* config/v850/v850-opts.h: New.
* config/v850/v850.c (small_memory): Replace with
small_memory_physical_max array.  Make that array static const.
(v850_handle_memory_option): Take integer value of argument.  Take
gcc_options pointer, option text and location.  Return void.
Update for changes to small memory structures.
(v850_handle_option): Access target_flags via opts pointer.  Don't
assert that global structures are in use.  Update calls to
(v850_encode_data_area): Update references to small memory
* config/v850/v850.h (struct small_memory_info, small_memory):
(enum small_memory_type): Move to v850-opts.h.
* config/v850/v850.opt (config/v850/v850-opts.h): New
HeaderInclude entry.
(small_memory_max): New Variable entry.
(msda): Replace by pair of options msda= and msda-.  Use UInteger.
(mtda, mzda): Likewise.

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

9 years ago * config/sh/sh.c (sh_handle_option): Access target_flags via opts
jsm28 [Tue, 22 Mar 2011 22:46:13 +0000 (22:46 +0000)]
* config/sh/sh.c (sh_handle_option): Access target_flags via opts
pointer.  Don't assert that global structures are in use.

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

9 years ago * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags
jsm28 [Tue, 22 Mar 2011 22:45:24 +0000 (22:45 +0000)]
* config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags
via opts pointer.  Don't assert that global structures are in use.

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

9 years ago * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry.
jsm28 [Tue, 22 Mar 2011 22:42:51 +0000 (22:42 +0000)]
* config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry.
(munix=93): Use Var.
* config/pa/pa-hpux1010.opt (munix=95): Use Var.
* config/pa/pa-hpux1111.opt (munix=98): Use Var.
* config/pa/pa-opts.h: New.
* config/pa/pa.c (pa_cpu, flag_pa_unix): Remove.
(pa_handle_option): Don't assert that global structures are in
use.  Access target_flags via opts pointer.  Don't handle
OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or
OPT_munix_98 here.
(pa_option_override): Handle deferred OPT_mfixed_range_.

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

9 years ago * config/mn10300/mn10300-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:41:52 +0000 (22:41 +0000)]
* config/mn10300/mn10300-opts.h: New.
* config/mn10300/mn10300.c (mn10300_processor,
mn10300_tune_string): Remove.
(mn10300_handle_option): Don't assert that global structures are
in use.  Access mn10300_processor via opts pointer.  Don't handle
OPT_mtune_ here.
* config/mn10300/mn10300.h (enum processor_type): Move to
(mn10300_processor): Remove.
* config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New
HeaderInclude entry.
(mn10300_processor): New Variable entry.
(mtune=): Use Var.

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

9 years ago * config/microblaze/microblaze.c: Don't include opts.h.
jsm28 [Tue, 22 Mar 2011 22:40:52 +0000 (22:40 +0000)]
* config/microblaze/microblaze.c: Don't include opts.h.
(microblaze_handle_option, TARGET_HANDLE_OPTION): Remove.
* config/microblaze/microblaze.opt (mxl-stack-check): Use Warn.
(mno-clearbss): Use Var and Warn.

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

9 years ago * config/m32r/m32r-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:39:54 +0000 (22:39 +0000)]
* config/m32r/m32r-opts.h: New.
* config/m32r/m32r.c (m32r_model, m32r_sdata): Remove.
(m32r_handle_option): Don't assert that global structures are in
use.  Access target_flags and m32r_cache_flush_func via opts
pointer.  Don't handle OPT_mmodel_, OPT_msdata_ or
OPT_mno_flush_trap here.
* config/m32r/m32r.h (Code Models, Small Data Area): Replace by
include of m32r-opts.h.
* config/m32r/m32r.opt (config/m32r/m32r-opts.h): New
HeaderInclude entry.
(m32r_model_selected, m32r_sdata_selected): New Variable entries.
(mmodel=): Use Enum and Var.
(m32r_model): New Enum and EnumValue entries.
(mno-flush-trap): Use Var.
(msdata=): Use Enum and Var.
(m32r_sdata): New Enum and EnumValue entries.

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

9 years ago * config/m32c/m32c.c: Don't include opts.h.
jsm28 [Tue, 22 Mar 2011 22:38:56 +0000 (22:38 +0000)]
* config/m32c/m32c.c: Don't include opts.h.
(target_memregs, target_memregs_set, TARGET_HANDLE_OPTION,
m32c_handle_option): Remove.
(m32c_option_override): Check global_options_set.x_target_memregs
instead of target_memregs_set.
* config/m32c/m32c.h (target_memregs): Remove.
* config/m32c/m32c.opt (memregs=): Use UInteger with integer

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

9 years ago * config/iq2000/iq2000-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:34:42 +0000 (22:34 +0000)]
* config/iq2000/iq2000-opts.h: New.
* config/iq2000/iq2000.c: Don't include opts.h.
(iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove.
* config/iq2000/iq2000.h (enum processor_type, iq2000_tune):
* config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New
HeaderInclude entry.
(iq2000_tune): New Variable entry.
(march=): Add comment.  Use Enum.
(iq2000_arch): New Enum and EnumValue entries.
(mcpu=): Use Enum and Var.
(iq2000_tune): New Enum and EnumValue entries.

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

9 years ago * config/ia64/ia64-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:33:40 +0000 (22:33 +0000)]
* config/ia64/ia64-opts.h: New.
* config/ia64/ia64.c (ia64_tune): Remove.
(ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_
here.  Use error_at.
(ia64_option_override): Handle deferred OPT_mfixed_range_.
* config/ia64/ia64.h (enum processor_type, ia64_tune): Remove.
* config/ia64/ia64.opt (config/ia64/ia64-opts.h): New
HeaderInclude entry.
(ia64_tune): New Variable entry.
(mfixed-range=): Use Defer and Var.
(mtune=): Use Enum and Var.
(ia64_tune): New Enum and EnumValue entries.

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

9 years ago * config/frv/frv-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:32:33 +0000 (22:32 +0000)]
* config/frv/frv-opts.h: New.
* config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to
(frv_cpu_type): Remove.
* config/frv/frv.c: Don't include opts.h.
(frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove.
* config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude
(frv_cpu_type): New Variable entry.
(frv_cpu): New Enum and EnumValue entries.

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

9 years ago * config/cris/cris.c (cris_handle_option): Access target_flags via
jsm28 [Tue, 22 Mar 2011 22:31:35 +0000 (22:31 +0000)]
* config/cris/cris.c (cris_handle_option): Access target_flags via
opts pointer.  Don't assert that global structures are in use.
* config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define.

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

9 years ago * config/bfin/bfin-opts.h: New.
jsm28 [Tue, 22 Mar 2011 22:30:46 +0000 (22:30 +0000)]
* config/bfin/bfin-opts.h: New.
* config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type,
bfin_si_revision, bfin_workarounds): Remove.
(bfin_cpus): Make static const.
(bfin_load_pic_reg): Check global_options_set.x_bfin_library_id
not bfin_lib_id_given.
(bfin_handle_option): Don't set bfin_lib_id_given.  Access
bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts
pointer. Use error_at.  Don't assert that global structures are in
* config/bfin/bfin.h: Include bfin-opts.h.
(enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h.
(bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove.
* bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry.
(bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable

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

9 years ago * config/arm/arm.opt (mhard-float, msoft-float): Use Alias.
jsm28 [Tue, 22 Mar 2011 22:29:29 +0000 (22:29 +0000)]
* config/arm/arm.opt (mhard-float, msoft-float): Use Alias.
* config/arm/arm.c (arm_handle_option): Don't handle -mhard-float
or -msoft-float here.
* config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not
-msoft-float and -mhard-float.
(OPTION_DEFAULT_SPECS): Don't handle -mhard-float and
* config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
* config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and
(MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float.
* config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard,
not mhard-float.
(LIBGCC_SPEC): Don't handle -msoft-float.
* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle
* config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
* config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle
-mfloat-abi=*, not -msoft-float and -mhard-float.
* config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and
Use mfloat-abi=hard and mfloat-abi=soft in comments, not
mhard-float and msoft-float.
* config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and
mfloat-abi=soft in comments, not mhard-float and msoft-float.
mfloat-abi=soft and mfloat-abi=hard, not msoft-float and
* config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use
mfloat-abi=hard and mfloat-abi=soft, not mhard-float and
* config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard,
not mhard-float.
* config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft,
not msoft-float.

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

9 years agoRemove alpha-winnt code from the backend.
rth [Tue, 22 Mar 2011 22:28:18 +0000 (22:28 +0000)]
Remove alpha-winnt code from the backend.

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

9 years ago * config/alpha/alpha.c (alpha_handle_option): Access target_flags
jsm28 [Tue, 22 Mar 2011 22:26:37 +0000 (22:26 +0000)]
* config/alpha/alpha.c (alpha_handle_option): Access target_flags
via opts pointer.  Use error_at.  Don't assert that global
structures are in use.

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

9 years ago * config/i386/i386.c (ix86_isa_flags_explicit): Remove.
jsm28 [Tue, 22 Mar 2011 22:25:52 +0000 (22:25 +0000)]
* config/i386/i386.c (ix86_isa_flags_explicit): Remove.
(ix86_handle_option): Access ix86_isa_flags and
ix86_isa_flags_explicit via opts pointer.  Don't assert that
global structures are in use.
(ix86_function_specific_save, ix86_function_specific_restore):
Update ix86_isa_flags_explicit field name.
* config/i386/i386.opt (ix86_isa_flags_explicit): New Variable
(ix86_isa_flags_explicit): Rename TargetSave entry to

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

9 years agoRemove alpha-unicosmk code from the backend.
rth [Tue, 22 Mar 2011 22:24:28 +0000 (22:24 +0000)]
Remove alpha-unicosmk code from the backend.

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

9 years ago * target.def (handle_option): Take gcc_options and
jsm28 [Tue, 22 Mar 2011 22:23:02 +0000 (22:23 +0000)]
* target.def (handle_option): Take gcc_options and
cl_decoded_option pointers and location_t.
* doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation.
* doc/tm.texi: Regenerate.
* hooks.c (hook_bool_size_t_constcharptr_int_true): Remove.
* hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare.
* lto-opts.c (lto_reissue_options): Generate option structure for
targetm.handle_option call.
* opts.c (target_handle_option): Update call to
targetm.handle_option.  Remove assertions about values now passed
down to hook.
* targhooks.c (default_target_handle_option): New.
* targhooks.h (default_target_handle_option): Declare.
* config/alpha/alpha.c: Include opts.h.
(alpha_handle_option): Update to new hook interface.
* config/arm/arm.c: Include opts.h.
(arm_handle_option): Update to new hook interface.
* config/arm/t-arm (arm.o): Update dependencies.
* config/bfin/bfin.c: Include opts.h.
(bfin_handle_option): Update to new hook interface.
* config/cris/cris.c: Include opts.h.
(cris_handle_option): Update to new hook interface.
* config/frv/frv.c: Include opts.h.
(frv_handle_option): Update to new hook interface.
* config/i386/i386.c: Include opts.h.
(ix86_handle_option): Update to new hook interface.
(ix86_valid_target_attribute_inner_p): Generate option structure
for call to ix86_handle_option.
* config/i386/t-i386 (i386.o): Update dependencies.
* config/ia64/ia64.c: Include opts.h.
(ia64_handle_option): Update to new hook interface.
* config/ia64/t-ia64 (ia64.o): Update dependencies.
* config/iq2000/iq2000.c: Include opts.h.
(iq2000_handle_option): Update to new hook interface.
* config/m32c/m32c.c: Include opts.h.
(m32c_handle_option): Update to new hook interface.
* config/m32r/m32r.c: Include opts.h.
(m32r_handle_option): Update to new hook interface.
* config/m68k/m68k.c: Include opts.h.
(m68k_handle_option): Update to new hook interface.
* config/mep/mep.c: Include opts.h.
(mep_handle_option): Update to new hook interface.
* config/microblaze/microblaze.c: Include opts.h.
(microblaze_handle_option): Update to new hook interface.
* config/mips/mips.c: Include opts.h.
(mips_handle_option): Update to new hook interface.
* config/mn10300/mn10300.c: Include opts.h.
(mn10300_handle_option): Update to new hook interface.
* config/pa/pa.c: Include opts.h.
(pa_handle_option): Update to new hook interface.
* config/pdp11/pdp11.c: Include opts.h.
(pdp11_handle_option): Update to new hook interface.
* config/rs6000/rs6000.c: Include opts.h.
(rs6000_handle_option): Update to new hook interface.
* config/rs6000/t-rs6000 (rs6000.o): Update dependencies.
* config/rx/rx.c: Include opts.h.
(rx_handle_option): Update to new hook interface.
* config/s390/s390.c: Include opts.h.
(s390_handle_option): Update to new hook interface.
* config/score/score.c: Include opts.h.
(score_handle_option): Update to new hook interface.
* config/sh/sh.c: Include opts.h.
(sh_handle_option): Update to new hook interface.
* config/sparc/sparc.c: Include opts.h.
(sparc_handle_option): Update to new hook interface.
* config/v850/v850.c: Include opts.h.
(v850_handle_option): Update to new hook interface.

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

9 years ago * gcc.c (driver_unknown_option_callback): Only permit and save
jsm28 [Tue, 22 Mar 2011 22:19:01 +0000 (22:19 +0000)]
* gcc.c (driver_unknown_option_callback): Only permit and save
unknown -Wno- options.
(driver_wrong_lang_callback): Save options directly instead of via

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

9 years ago * combine.c (simplify_set): Try harder to find the best CC mode when
ebotcazou [Tue, 22 Mar 2011 20:04:58 +0000 (20:04 +0000)]
* combine.c (simplify_set): Try harder to find the best CC mode when
simplifying a nested COMPARE on the RHS.

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

9 years ago * configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
jsm28 [Tue, 22 Mar 2011 20:03:41 +0000 (20:03 +0000)]
* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss*
| i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
* configure: Regenerate.

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

9 years ago * MAINTAINERS (crx port, m68hc11 port): Remove. Move maintainers
jsm28 [Tue, 22 Mar 2011 19:58:18 +0000 (19:58 +0000)]
* MAINTAINERS (crx port, m68hc11 port): Remove.  Move maintainers
to Write After Approval.
* config-ml.in: Don't handle arc-*-elf*.
* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
handle GCC libraries.
* configure: Regenerate.

* compare-all-tests (all_targets): Remove crx and m68hc11.

* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.

* config/alpha/gnu.h: Remove.
* config/arc: Remove directory.
* config/arm/netbsd.h: Remove.
* config/arm/t-pe: Remove.
* config/crx: Remove directory.
* config/i386/netbsd.h: Remove.
* config/m68hc11: Remove directory.
* config/m68k/uclinux-oldabi.h: Remove.
* config/mcore/mcore-pe.h: Remove.
* config/mcore/t-mcore-pe: Remove.
* config/netbsd-aout.h: Remove.
* config/rs6000/gnu.h: Remove.
* config/sh/sh-symbian.h: Remove.
* config/sh/symbian-base.c: Remove.
* config/sh/symbian-c.c: Remove.
* config/sh/symbian-cxx.c: Remove.
* config/sh/symbian-post.h: Remove.
* config/sh/symbian-pre.h: Remove.
* config/sh/t-symbian: Remove.
* config/svr3.h: Remove.
* config/vax/netbsd.h: Remove.
* config.build: Don't handle i[34567]86-*-pe.
* config.gcc: Remove handling of deprecations for most deprecated
(m68k-*-uclinuxoldabi*): Add to second deprecated list.
(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
* config.host: Don't handle i[34567]86-*-pe.
* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
(ASM_SPEC32): Don't handle -mcall-gnu.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
conditional on SYMBIAN.
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
* doc/extend.texi (interrupt attribute): Don't mention CRX.
* doc/install-old.texi (m6811, m6812): Don't mention.
* doc/install.texi (arc-*-elf*): Don't document multilib option.
(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
(m68k-uclinuxoldabi): Don't mention.
* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
(-mcall-gnu): Remove.
* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
families): Remove constraint documentation.

* gcc.c-torture/execute/920501-8.x: Remove.
* gcc.c-torture/execute/930513-1.x: Remove.
* gcc.c-torture/execute/960312-1.x: Remove.
* gcc.c-torture/compile/20000804-1.c,
gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
options for m68hc11.
* gcc.dg/cpp/assert4.c: Don't handle ARC.
* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or

* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.

* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.

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

9 years ago * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...
gerald [Tue, 22 Mar 2011 19:47:37 +0000 (19:47 +0000)]
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...

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

9 years ago * config/avr/avr-protos.h (expand_epilogue): Change prototype
denisc [Tue, 22 Mar 2011 19:37:35 +0000 (19:37 +0000)]
* config/avr/avr-protos.h (expand_epilogue): Change prototype
* config/avr/avr.h (struct machine_function): Add field sibcall_fails.
* config/avr/avr.c (init_cumulative_args)
(avr_function_arg_advance): Use it.
* config/avr/avr.c (expand_epilogue): Add bool parameter. Handle
sibcall epilogues.
(avr_function_ok_for_sibcall): ...this new function.
(avr_lookup_function_attribute1): New static Function.
(avr_naked_function_p, interrupt_function_p)
(signal_function_p, avr_OS_task_function_p)
(avr_OS_main_function_p): Use it.
* config/avr/avr.md ("sibcall", "sibcall_value")
("sibcall_epilogue"): New expander.
("*call_insn", "*call_value_insn"): New insn.
("call_insn", "call_value_insn"): Remove
("call", "call_value", "epilogue"): Change expander to handle
sibling calls.

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

9 years ago * lib/target-supports.exp (check_profiling_available): Add MN10300
nickc [Tue, 22 Mar 2011 16:18:34 +0000 (16:18 +0000)]
* lib/target-supports.exp (check_profiling_available): Add MN10300
to the list of targets that do not support profiling.  Restore
alpha sorting to this list.

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

9 years ago * doc/invoke.texi (Overall Options): Move closing brace to end of
nickc [Tue, 22 Mar 2011 16:14:50 +0000 (16:14 +0000)]
* doc/invoke.texi (Overall Options): Move closing brace to end of
options list.
(Optimization Options): Add missing @gol.
(Directory Options): Likewise.
(i386 and x86-64 Options): Likewise.
(RS6000 and PowerPC Options): Likewise.
(i386 and x86-64 Windows Options): Likewise.
(V850 Options): Add text missing from descriptions.

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

9 years ago * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec.
rth [Tue, 22 Mar 2011 16:02:59 +0000 (16:02 +0000)]
* dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec.

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

9 years ago * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
rth [Tue, 22 Mar 2011 16:02:51 +0000 (16:02 +0000)]
* config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
(avr_incoming_return_addr_rtx): New.
(emit_push_byte): New.
(expand_prologue): Use it.  Remove incorrect dwarf annotation for
SREG, RAMPZ, zero register.  Push frame pointer by bytes.  Add dwarf
annotation for __prologue_saves__.  Fixup dwarf annotation for CFA.
(emit_pop_byte): New.
(expand_epilogue): Use it.  Pop frame pointer by bytes.
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove.
* config/avr/avr.md (*pushqi): Fix mode of auto-inc.
(*pushhi, *pushsi, *pushsf, popqi): Likewise.
(pophi): Remove.

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

9 years ago2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 22 Mar 2011 15:25:01 +0000 (15:25 +0000)]
2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
Copyright years.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:

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

9 years ago2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Tue, 22 Mar 2011 15:15:03 +0000 (15:15 +0000)]
2011-03-22  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
per DR 1401.
(operator==, operator!=, operator<): Fix per the letter of DR 1401.
* include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
* include/bits/unique_ptr.h (operator==, operator!=, operator<,
operator<=, operator>, operator>=): Fix per the letter of DR 1401.
* testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
* testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.

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

9 years ago * config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
jakub [Tue, 22 Mar 2011 15:05:23 +0000 (15:05 +0000)]
* config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New

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