platform/upstream/linaro-gcc.git
15 years agoPR libfortran/39667 Fix testcases to not need fd_truncate.
jb [Thu, 27 Aug 2009 17:40:55 +0000 (17:40 +0000)]
PR libfortran/39667 Fix testcases to not need fd_truncate.

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

15 years ago * expr.c (expand_expr_real_2): New function taking exploded
matz [Thu, 27 Aug 2009 12:42:18 +0000 (12:42 +0000)]
    * expr.c (expand_expr_real_2): New function taking exploded
        unary or binary expression, split out from ...
        (expand_expr_real_1): ... here.  Move over all unary/binary
        switch parts to above function, in particular these codes:
        PAREN_EXPR, NOP_EXPR, CONVERT_EXPR, POINTER_PLUS_EXPR, PLUS_EXPR,
        MINUS_EXPR, MULT_EXPR, TRUNC_DIV_EXPR, FLOOR_DIV_EXPR, CEIL_DIV_EXPR,
        ROUND_DIV_EXPR, EXACT_DIV_EXPR, RDIV_EXPR, TRUNC_MOD_EXPR,
        FLOOR_MOD_EXPR, CEIL_MOD_EXPR, ROUND_MOD_EXPR, FIXED_CONVERT_EXPR,
        FIX_TRUNC_EXPR, FLOAT_EXPR, NEGATE_EXPR, ABS_EXPR, MAX_EXPR, MIN_EXPR,
        BIT_NOT_EXPR, TRUTH_AND_EXPR, BIT_AND_EXPR, TRUTH_OR_EXPR,
        BIT_IOR_EXPR, TRUTH_XOR_EXPR, BIT_XOR_EXPR, LROTATE_EXPR, RROTATE_EXPR,
        LSHIFT_EXPR, RSHIFT_EXPR, LT_EXPR, LE_EXPR, GT_EXPR, GE_EXPR, EQ_EXPR,
        NE_EXPR, UNORDERED_EXPR, ORDERED_EXPR, UNLT_EXPR, UNLE_EXPR, UNGT_EXPR,
        UNGE_EXPR, UNEQ_EXPR, LTGT_EXPR, TRUTH_NOT_EXPR, COMPLEX_EXPR,
        WIDEN_SUM_EXPR, REDUC_MAX_EXPR, REDUC_MIN_EXPR, REDUC_PLUS_EXPR,
        VEC_EXTRACT_EVEN_EXPR, VEC_EXTRACT_ODD_EXPR, VEC_INTERLEAVE_HIGH_EXPR,
        VEC_INTERLEAVE_LOW_EXPR, VEC_LSHIFT_EXPR, VEC_RSHIFT_EXPR,
        VEC_UNPACK_HI_EXPR, VEC_UNPACK_LO_EXPR, VEC_UNPACK_FLOAT_HI_EXPR,
        VEC_UNPACK_FLOAT_LO_EXPR, VEC_WIDEN_MULT_HI_EXPR,
        VEC_WIDEN_MULT_LO_EXPR, VEC_PACK_TRUNC_EXPR, VEC_PACK_SAT_EXPR,
        VEC_PACK_FIX_TRUNC_EXPR.
        (<case PAREN_EXPR>): Call set_mem_attributes() with type, not the
        full expression.

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

15 years ago2009-08-27 Tobias Burnus <burnus@net-b.de>
burnus [Thu, 27 Aug 2009 11:59:51 +0000 (11:59 +0000)]
2009-08-27  Tobias Burnus  <burnus@net-b.de>

        PR fortran/28039
        * gfortran.dg/fmt_with_extra.f: xfail testcase as patch was
        * reverted.

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

15 years ago2009-08-27 Daniel Kraft <d@domob.eu>
domob [Thu, 27 Aug 2009 11:42:56 +0000 (11:42 +0000)]
2009-08-27  Daniel Kraft  <d@domob.eu>

PR fortran/37425
* gfortran.h (gfc_expr): Optionally store base-object in compcall value
and add a new flag to distinguish assign-calls generated.
(gfc_find_typebound_proc): Add locus argument.
(gfc_find_typebound_user_op), (gfc_find_typebound_intrinsic_op): Ditto.
(gfc_extend_expr): Return if failure was by a real error.
* interface.c (matching_typebound_op): New routine.
(build_compcall_for_operator): New routine.
(gfc_extend_expr): Handle type-bound operators, some clean-up and
return if failure was by a real error or just by not finding an
appropriate operator definition.
(gfc_extend_assign): Handle type-bound assignments.
* module.c (MOD_VERSION): Incremented.
(mio_intrinsic_op): New routine.
(mio_full_typebound_tree): New routine to make typebound-procedures IO
code reusable for type-bound user operators.
(mio_f2k_derived): IO of type-bound operators.
* primary.c (gfc_match_varspec): Initialize new fields in gfc_expr and
pass locus to gfc_find_typebound_proc.
* resolve.c (resolve_operator): Only output error about no matching
interface if gfc_extend_expr did not already fail with an error.
(extract_compcall_passed_object): Use specified base-object if present.
(update_compcall_arglist): Handle ignore_pass field.
(resolve_ordinary_assign): Update to handle extended code for
type-bound assignments, too.
(resolve_code): Handle EXEC_ASSIGN_CALL statement code.
(resolve_tb_generic_targets): Pass locus to gfc_find_typebound_proc.
(resolve_typebound_generic), (resolve_typebound_procedure): Ditto.
(resolve_typebound_intrinsic_op), (resolve_typebound_user_op): Ditto.
(ensure_not_abstract_walker), (resolve_fl_derived): Ditto.
(resolve_typebound_procedures): Remove not-implemented error.
(resolve_typebound_call): Handle assign-call flag.
* symbol.c (find_typebound_proc_uop): New argument to pass locus for
error message about PRIVATE, verify that a found procedure is not marked
as erraneous.
(gfc_find_typebound_intrinsic_op): Ditto.
(gfc_find_typebound_proc), (gfc_find_typebound_user_op): New locus arg.

2009-08-27  Daniel Kraft  <d@domob.eu>

PR fortran/37425
* gfortran.dg/impure_assignment_1.f90: Change expected error message.
* gfortran.dg/typebound_operator_1.f03: Remove check for not-implemented
error and fix problem with recursive assignment.
* gfortran.dg/typebound_operator_2.f03: No not-implemented check.
* gfortran.dg/typebound_operator_3.f03: New test.
* gfortran.dg/typebound_operator_4.f03: New test.

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

15 years ago2009-08-27 Richard Guenther <rguenther@suse.de>
rguenth [Thu, 27 Aug 2009 08:56:10 +0000 (08:56 +0000)]
2009-08-27  Richard Guenther  <rguenther@suse.de>

* gengtype.c (main): Handle uint64_t.
* ipa-utils.c (get_base_var): Indent properly.
* tree-ssa-live.c (debug_scope_block): New function.
* tree-flow.h (debug_scope_block): Declare.
* tree-ssa-copy.c (replace_exp_1): Add vertical space.
* basic-block.h (enum profile_status): Rename to
enum profile_status_d.
(x_profile_status): Adjust type.

cp/
* class.c (build_vtbl_ref_1): Remove excess vertical space.
* Make-lang.in (CXX_TREE_H): Remove c-common.def dependency
tracked by $(TREE_H).
* semantics.c (expand_or_defer_fn): Zero DECL_SAVED_TREE.

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

15 years agoFix for PR debug/41170
dodji [Thu, 27 Aug 2009 07:05:24 +0000 (07:05 +0000)]
Fix for PR debug/41170

gcc/ChangeLog:
PR debug/41770
* dwarf2out.c (get_context_die): Declare this static function.
(gen_type_die_with_usage): Make sure a DIE is a generated for
the context of a typedef.

gcc/testsuite/ChangeLog:
PR debug/41770
* debug/dwarf2/namespace-1.C: New test.

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

15 years ago2009-08-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 27 Aug 2009 05:54:56 +0000 (05:54 +0000)]
2009-08-26  Benjamin Kosnik  <bkoz@redhat.com>

* config/abi/pre/gnu.ver: Fixups for string member functions.

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

15 years agoDaily bump.
gccadmin [Thu, 27 Aug 2009 00:16:37 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * doc/invoke.texi (AVR Options): Remove documentation of -minit-stack
aesok [Wed, 26 Aug 2009 21:21:34 +0000 (21:21 +0000)]
* doc/invoke.texi (AVR Options): Remove documentation of -minit-stack
switch.

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

15 years ago2009-08-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 26 Aug 2009 20:55:42 +0000 (20:55 +0000)]
2009-08-26  H.J. Lu  <hongjiu.lu@intel.com>

PR fortran/41162
* gfortran.dg/pr41162.f: New.

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

15 years agogcc/testsuite/
rsandifo [Wed, 26 Aug 2009 20:49:34 +0000 (20:49 +0000)]
gcc/testsuite/
2009-08-18  Adam Nemet  <anemet@caviumnetworks.com>
    Richard Sandiford  <rdsandiford@googlemail.com>

* gcc.target/mips/mips.exp: Replace isa(_rev)=...!... mechanism
with "forbid_cpu".
* gcc.target/mips/branch-1.c: Update accordingly.
* gcc.target/mips/extend-1.c: Likewise.
* gcc.target/mips/dmult-1.c: Likewise.  Remove redundant isa=64.

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

15 years agogcc/
rsandifo [Wed, 26 Aug 2009 20:39:27 +0000 (20:39 +0000)]
gcc/
* config/mips/mips-protos.h (mips_output_sync): Declare.
(mips_sync_loop_insns): Likewise.
(mips_output_sync_loop): Replace first two parameters with an rtx.
* config/mips/mips.c (mips_multi_member): New structure.
(mips_multi_members): New variable.
(mips_multi_start): New function.
(mips_multi_add): Likewise.
(mips_multi_add_insn): Likewise.
(mips_multi_add_label): Likewise.
(mips_multi_last_index): Likewise.
(mips_multi_copy_insn): Likewise.
(mips_multi_set_operand): Likewise.
(mips_multi_write): Likewise.
(mips_print_operand_punctuation): Remove '%|' and '%-'.
(mips_init_print_operand_punct): Update accordingly.
(mips_start_ll_sc_sync_block): New function.
(mips_end_ll_sc_sync_block): Likewise.
(mips_output_sync): Likewise.
(mips_sync_insn1_template): Likewise.
(mips_sync_insn2_template): Likewise.
(mips_get_sync_operand): Likewise.
(mips_process_sync_loop): Likewise.
(mips_output_sync_loop): Use mips_process_sync_loop.
(mips_sync_loop_insns): New function.
* config/mips/mips.h (MIPS_COMPARE_AND_SWAP): Delete.
(MIPS_COMPARE_AND_SWAP_12): Likewise.
(MIPS_COMPARE_AND_SWAP_12_ZERO_OP): Likewise.
(MIPS_COMPARE_AND_SWAP_12_NONZERO_OP): Likewise.
(MIPS_SYNC_OP, MIPS_SYNC_OP_12): Likewise.
(MIPS_SYNC_OP_12_AND, MIPS_SYNC_OP_12_XOR): Likewise.
(MIPS_SYNC_OLD_OP_12): Likewise.
(MIPS_SYNC_OLD_OP_12_AND, MIPS_SYNC_OLD_OP_12_XOR): Likewise.
(MIPS_SYNC_NEW_OP_12): Likewise.
(MIPS_SYNC_NEW_OP_12_AND, MIPS_SYNC_NEW_OP_12_XOR): Likewise.
(MIPS_SYNC_OLD_OP, MIPS_SYNC_NEW_OP): Likewise.
(MIPS_SYNC_NAND, MIPS_SYNC_OLD_NAND, MIPS_SYNC_NEW_NAND): Likewise.
(MIPS_SYNC_EXCHANGE, MIPS_SYNC_EXCHANGE_12): Likewise.
(MIPS_SYNC_EXCHANGE_12_ZERO_OP): Likewise.
(MIPS_SYNC_EXCHANGE_12_NONZER_OP): Likewise.
* config/mips/mips.md (sync_mem): New attribute.
(sync_oldval, sync_newval, sync_inclusive_mask): Likewise.
(sync_exclusive_mask, sync_required_oldval): Likewise.
(sync_insn1_op2, sync_insn1, sync_insn2): Likewise.
(sync_release_barrier): Likewise.
(length): Handle sync loops.
(sync): Use mips_output_sync.
* config/mips/sync.md (*memory_barrier): Use mips_output_sync.
(sync_compare_and_swap<mode>): Set the new sync_* attributes
and use mips_output_sync_loop.
(compare_and_swap_12, sync_add<mode>, sync_<optab>_12): Likewise.
(sync_old_<optab>_12, sync_new_<optab>_12, sync_nand_12): Likewise.
(sync_old_nand_12, sync_new_nand_12, sync_sub<mode>): Likewise.
(sync_old_add<mode>, sync_old_sub<mode>): Likewise.
(sync_new_add<mode>, sync_new_sub<mode>): Likewise.
(sync_<optab><mode>, sync_old_<optab><mode>): Likewise.
(sync_new_<optab><mode>, sync_nand<mode>): Likewise.
(sync_old_nand<mode>, sync_new_nand<mode>): Likewise.
(sync_lock_test_and_set<mode>, test_and_set_12): Likewise.

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

15 years ago2009-08-26 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Wed, 26 Aug 2009 19:03:24 +0000 (19:03 +0000)]
2009-08-26  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/41005
* configure.ac: Bump libtool_VERSION to 6:14:0.
* configure: Regenerate.
* src/Makefile.am: Compile fstream-inst.cc as C++0x.
* src/Makefile.in: Regenerate.
* config/abi/pre/gnu.ver: Add new symbols and disambiguate old ones,
move <future> symbols to 3.4.14 version.
* testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.14 version.

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

15 years agoChangeLog:
davek [Wed, 26 Aug 2009 14:52:45 +0000 (14:52 +0000)]
ChangeLog:

* ltmain.sh (removedotparts): Don't use comma as 's' separator.
(collapseslashes): Likewise.

libjava/classpath/ChangeLog:

* ltmain.sh (removedotparts): Don't use comma as 's' separator.
(collapseslashes): Likewise.

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

15 years ago2009-08-26 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 26 Aug 2009 13:23:04 +0000 (13:23 +0000)]
2009-08-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/41163
* gimplify.c (gimplify_addr_expr): Canonicalize ADDR_EXPRs if
the types to not match.
* tree-cfg.c (verify_gimple_assign_single): Adjust ADDR_EXPR
verification.
* tree-ssa.c (useless_type_conversion_p): Conversions to
pointers to unprototyped functions are useless.

* gcc.c-torture/compile/pr41163.c: New testcase.
* gcc.dg/pr35899.c: Adjust.

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

15 years agoRevert accidental commit of tree-cfg.c in r151099.
matz [Wed, 26 Aug 2009 10:47:12 +0000 (10:47 +0000)]
Revert accidental commit of tree-cfg.c in r151099.

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

15 years ago2009-08-26 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 26 Aug 2009 09:02:01 +0000 (09:02 +0000)]
2009-08-26  Richard Guenther  <rguenther@suse.de>

* tree-ssa-structalias.c (create_variable_info_for): Remove
strange whole-program condition, prepare to be called for non-globals.
(intra_create_variable_infos): For restrict qualified DECL_BY_REFERENCE
params build a representative with known type and track its fields.

* gcc.dg/tree-ssa/restrict-4.c: New testcase.

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

15 years ago * config/alpha/sync.md: Update comment about unpredictable LL/SC lock
uros [Wed, 26 Aug 2009 06:19:37 +0000 (06:19 +0000)]
* config/alpha/sync.md: Update comment about unpredictable LL/SC lock
clearing by a taken branch.
(sync_<fetchop_name><mode>): Split when epilogue_completed is set,
effectively after bbro pass.
(sync_nand<mode>): Ditto.
(sync_old_<fetchop_name><mode>): Ditto.
(sync_old_nand<mode>): Ditto.
(sync_new_<fetchop_name><mode>): Dito.
(sync_new_nand<mode>): Ditto.
(sync_compare_and_swap<mode>_1): Ditto.
(*sync_compare_and_swap<mode>): Ditto.
(sync_lock_test_and_set<mode>_1): Ditto.
("sync_lock_test_and_set<mode>): Ditto.

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

15 years ago * call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING
jason [Wed, 26 Aug 2009 04:35:26 +0000 (04:35 +0000)]
* call.c (build_builtin_candidate): Don't set LOOKUP_ONLYCONVERTING
if we're contextually converting to bool.
(build_conditional_expr): Likewise.
* typeck.c (condition_conversion): Likewise.

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

15 years ago * call.c (build_conditional_expr): Fix logic errors.
jason [Wed, 26 Aug 2009 04:35:17 +0000 (04:35 +0000)]
* call.c (build_conditional_expr): Fix logic errors.
(build_new_op): Remove dead COND_EXPR handling.

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

15 years ago2009-08-22 Bud Davis <bdavis9659@sbcglobal.net>
bdavis [Wed, 26 Aug 2009 02:18:14 +0000 (02:18 +0000)]
2009-08-22      Bud Davis <bdavis9659@sbcglobal.net>

         PR fortran/28093
         * io.c: reverted previous patch

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

15 years agoDaily bump.
gccadmin [Wed, 26 Aug 2009 00:16:32 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * hwint.h (HOST_LONG_FORMAT): New macro
rupp [Tue, 25 Aug 2009 23:19:16 +0000 (23:19 +0000)]
* hwint.h (HOST_LONG_FORMAT): New macro
* bitmap.c, c-decl.c, mips-tfile.c, print-rtl.c, print-tree.c:
Use HOST_PTR_PRINTF.
* system.h (HOST_PTR_PRINTF): Resurrect old macro
* doc/hostconfig.texi (HOST_LONG_FORMAT): Document.
(HOST_PTR_PRINTF): Document.

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

15 years ago * gcc.dg/torture/builtin-math-7.c: Add -mieee for sh*-*-* targets.
kkojima [Tue, 25 Aug 2009 22:59:23 +0000 (22:59 +0000)]
* gcc.dg/torture/builtin-math-7.c: Add -mieee for sh*-*-* targets.

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

15 years ago2009-08-25 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 25 Aug 2009 22:29:08 +0000 (22:29 +0000)]
2009-08-25  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/basic_string.h (basic_string): Add cbegin(),
cend(), crbegin(), crend() in C++0x mode.
* config/abi/pre/gnu.ver: Add exports.

* testsuite/util/testsuite_containers.h: New.
* testsuite/util/testsuite_container_traits.h: New.
* testsuite/21_strings/basic_string/requirements/citerators.cc: New.
* testsuite/21_strings/basic_string/requirements/typedefs.cc: New.
* testsuite/ext/vstring/requirements/citerators.cc: Edit.
* testsuite/ext/vstring/requirements/typedefs.cc: New.
* testsuite/23_containers/unordered_map/requirements/
cliterators.cc: Edit.
* testsuite/23_containers/unordered_map/requirements/
citerators.cc: Edit.
* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation/1.cc: New.
* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation/2.cc: New.
* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation/3.cc: New.
* testsuite/23_containers/unordered_map/requirements/typedefs.cc: Edit.
* testsuite/23_containers/unordered_map/requirements/
explicit_instantiation.cc: Move to nested directory.
* testsuite/23_containers/queue/requirements/typedefs.cc: New.
* testsuite/23_containers/priority_queue/requirements/typedefs.cc: New.
* testsuite/23_containers/multimap/requirements/citerators.cc: Edit.
* testsuite/23_containers/multimap/requirements/typedefs.cc: New.
* testsuite/23_containers/set/requirements/citerators.cc: Edit.
* testsuite/23_containers/set/requirements/typedefs.cc: New.
* testsuite/23_containers/unordered_multimap/requirements/
cliterators.cc: Edit.
* testsuite/23_containers/unordered_multimap/requirements/
citerators.cc: Edit.
* testsuite/23_containers/unordered_multimap/requirements/
explicit_instantiation/1.cc: New.
* testsuite/23_containers/unordered_multimap/requirements/
explicit_instantiation/2.cc: Edit.: New.
* testsuite/23_containers/unordered_multimap/requirements/
explicit_instantiation/3.cc: New.
* testsuite/23_containers/unordered_multimap/requirements/
typedefs.cc: Edit.
* testsuite/23_containers/unordered_multimap/requirements/
explicit_instantiation.cc: Move to nested.
* testsuite/23_containers/forward_list/requirements/citerators.cc: New.
* testsuite/23_containers/forward_list/requirements/1.cc: Remove.
* testsuite/23_containers/forward_list/requirements/dr438/
insert_neg.cc: New.
* testsuite/23_containers/forward_list/requirements/dr438/
assign_neg.cc: New.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_1_neg.cc: New.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor_2_neg.cc: New.
* testsuite/23_containers/forward_list/requirements/dr438/
constructor.cc: New.
* testsuite/23_containers/forward_list/requirements/typedefs.cc: New.
* testsuite/23_containers/unordered_set/requirements/
cliterators.cc: Edit.
* testsuite/23_containers/unordered_set/requirements/
citerators.cc: Edit.
* testsuite/23_containers/unordered_set/requirements/
explicit_instantiation/1.cc: New.
* testsuite/23_containers/unordered_set/requirements/
explicit_instantiation/2.cc: New.
* testsuite/23_containers/unordered_set/requirements/
explicit_instantiation/3.cc: New.
* testsuite/23_containers/unordered_set/requirements/typedefs.cc: Edit.
* testsuite/23_containers/unordered_set/requirements/
explicit_instantiation.cc: Move to nested.
* testsuite/23_containers/vector/requirements/citerators.cc: Edit.
* testsuite/23_containers/vector/requirements/dr438/bool/
constructor.cc: Move.
* testsuite/23_containers/vector/requirements/typedefs.cc: New.
* testsuite/23_containers/vector/bool/requirements/citerators.cc: Edit.
* testsuite/23_containers/vector/bool/requirements/dr438/
constructor.cc: New.
* testsuite/23_containers/deque/requirements/citerators.cc: Edit.
* testsuite/23_containers/deque/requirements/typedefs.cc
* testsuite/23_containers/stack/requirements/typedefs.cc
* testsuite/23_containers/multiset/requirements/citerators.cc: Edit.
* testsuite/23_containers/multiset/requirements/typedefs.cc: New.
* testsuite/23_containers/list/requirements/citerators.cc: Edit.
* testsuite/23_containers/list/requirements/typedefs.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/
cliterators.cc: Edit.
* testsuite/23_containers/unordered_multiset/requirements/
citerators.cc: Edit.
* testsuite/23_containers/unordered_multiset/requirements/
explicit_instantiation.cc: Move.
* testsuite/23_containers/unordered_multiset/requirements/
explicit_instantiation/1.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/
explicit_instantiation/2.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/
explicit_instantiation/3.cc: New.
* testsuite/23_containers/unordered_multiset/requirements/typedefs.cc
* testsuite/23_containers/map/requirements/citerators.cc: Edit.
* testsuite/23_containers/map/requirements/typedefs.cc: New.
* testsuite/23_containers/array/requirements/citerators.cc: Edit.
* testsuite/23_containers/array/requirements/explicit_instantiation.cc:
Move.
* testsuite/23_containers/array/requirements/
explicit_instantiation/1.cc: New.
* testsuite/23_containers/array/requirements/
explicit_instantiation/2.cc: New.
* testsuite/23_containers/array/requirements/typedefs.cc: New.

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

15 years ago * config/i386/bmmintrin.h: Replace by #error.
hubicka [Tue, 25 Aug 2009 21:44:20 +0000 (21:44 +0000)]
* config/i386/bmmintrin.h: Replace by #error.

Revert:
Michael Meissner  <michael.meissner@amd.com>
Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
Tony Linthicum  <tony.linthicum@amd.com>

* config/i386/i386.h (TARGET_SSE5): New macro for SSE5.
(TARGET_ROUND): New macro for the round/ptest instructions which
are shared between SSE4.1 and SSE5.
(OPTION_MASK_ISA_ROUND): Ditto.
(OPTION_ISA_ROUND): Ditto.
(TARGET_FUSED_MADD): New macro for -mfused-madd swtich.
(TARGET_CPU_CPP_BUILTINS): Add SSE5 support.

* config/i386/i386.opt (-msse5): New switch for SSE5 support.
(-mfused-madd): New switch to give users control over whether the
compiler optimizes to use the multiply/add SSE5 instructions.

* config/i386/i386.c (enum pta_flags): Add PTA_SSE5.
(ix86_handle_option): Turn off 3dnow if -msse5.
(override_options): Add SSE5 support.
(print_operand): %Y prints comparison codes for SSE5 com/pcom
instructions.
(ix86_expand_sse_movcc): Add SSE5 support.
(ix86_expand_sse5_unpack): New function to use pperm to unpack a
vector type to the next largest size.
(ix86_expand_sse5_pack): New function to use pperm to pack a
vector type to the next smallest size.
(IX86_BUILTIN_FMADDSS): New for SSE5 intrinsic.
(IX86_BUILTIN_FMADDSD): Ditto.
(IX86_BUILTIN_FMADDPS): Ditto.
(IX86_BUILTIN_FMADDPD): Ditto.
(IX86_BUILTIN_FMSUBSS): Ditto.
(IX86_BUILTIN_FMSUBSD): Ditto.
(IX86_BUILTIN_FMSUBPS): Ditto.
(IX86_BUILTIN_FMSUBPD): Ditto.
(IX86_BUILTIN_FNMADDSS): Ditto.
(IX86_BUILTIN_FNMADDSD): Ditto.
(IX86_BUILTIN_FNMADDPS): Ditto.
(IX86_BUILTIN_FNMADDPD): Ditto.
(IX86_BUILTIN_FNMSUBSS): Ditto.
(IX86_BUILTIN_FNMSUBSD): Ditto.
(IX86_BUILTIN_FNMSUBPS): Ditto.
(IX86_BUILTIN_FNMSUBPD): Ditto.
(IX86_BUILTIN_PCMOV_V2DI): Ditto.
(IX86_BUILTIN_PCMOV_V4SI): Ditto.
(IX86_BUILTIN_PCMOV_V8HI): Ditto.
(IX86_BUILTIN_PCMOV_V16QI): Ditto.
(IX86_BUILTIN_PCMOV_V4SF): Ditto.
(IX86_BUILTIN_PCMOV_V2DF): Ditto.
(IX86_BUILTIN_PPERM): Ditto.
(IX86_BUILTIN_PERMPS): Ditto.
(IX86_BUILTIN_PERMPD): Ditto.
(IX86_BUILTIN_PMACSSWW): Ditto.
(IX86_BUILTIN_PMACSWW): Ditto.
(IX86_BUILTIN_PMACSSWD): Ditto.
(IX86_BUILTIN_PMACSWD): Ditto.
(IX86_BUILTIN_PMACSSDD): Ditto.
(IX86_BUILTIN_PMACSDD): Ditto.
(IX86_BUILTIN_PMACSSDQL): Ditto.
(IX86_BUILTIN_PMACSSDQH): Ditto.
(IX86_BUILTIN_PMACSDQL): Ditto.
(IX86_BUILTIN_PMACSDQH): Ditto.
(IX86_BUILTIN_PMADCSSWD): Ditto.
(IX86_BUILTIN_PMADCSWD): Ditto.
(IX86_BUILTIN_PHADDBW): Ditto.
(IX86_BUILTIN_PHADDBD): Ditto.
(IX86_BUILTIN_PHADDBQ): Ditto.
(IX86_BUILTIN_PHADDWD): Ditto.
(IX86_BUILTIN_PHADDWQ): Ditto.
(IX86_BUILTIN_PHADDDQ): Ditto.
(IX86_BUILTIN_PHADDUBW): Ditto.
(IX86_BUILTIN_PHADDUBD): Ditto.
(IX86_BUILTIN_PHADDUBQ): Ditto.
(IX86_BUILTIN_PHADDUWD): Ditto.
(IX86_BUILTIN_PHADDUWQ): Ditto.
(IX86_BUILTIN_PHADDUDQ): Ditto.
(IX86_BUILTIN_PHSUBBW): Ditto.
(IX86_BUILTIN_PHSUBWD): Ditto.
(IX86_BUILTIN_PHSUBDQ): Ditto.
(IX86_BUILTIN_PROTB): Ditto.
(IX86_BUILTIN_PROTW): Ditto.
(IX86_BUILTIN_PROTD): Ditto.
(IX86_BUILTIN_PROTQ): Ditto.
(IX86_BUILTIN_PROTB_IMM): Ditto.
(IX86_BUILTIN_PROTW_IMM): Ditto.
(IX86_BUILTIN_PROTD_IMM): Ditto.
(IX86_BUILTIN_PROTQ_IMM): Ditto.
(IX86_BUILTIN_PSHLB): Ditto.
(IX86_BUILTIN_PSHLW): Ditto.
(IX86_BUILTIN_PSHLD): Ditto.
(IX86_BUILTIN_PSHLQ): Ditto.
(IX86_BUILTIN_PSHAB): Ditto.
(IX86_BUILTIN_PSHAW): Ditto.
(IX86_BUILTIN_PSHAD): Ditto.
(IX86_BUILTIN_PSHAQ): Ditto.
(IX86_BUILTIN_FRCZSS): Ditto.
(IX86_BUILTIN_FRCZSD): Ditto.
(IX86_BUILTIN_FRCZPS): Ditto.
(IX86_BUILTIN_FRCZPD): Ditto.
(IX86_BUILTIN_CVTPH2PS): Ditto.
(IX86_BUILTIN_CVTPS2PH): Ditto.
(IX86_BUILTIN_COMEQSS): Ditto.
(IX86_BUILTIN_COMNESS): Ditto.
(IX86_BUILTIN_COMLTSS): Ditto.
(IX86_BUILTIN_COMLESS): Ditto.
(IX86_BUILTIN_COMGTSS): Ditto.
(IX86_BUILTIN_COMGESS): Ditto.
(IX86_BUILTIN_COMUEQSS): Ditto.
(IX86_BUILTIN_COMUNESS): Ditto.
(IX86_BUILTIN_COMULTSS): Ditto.
(IX86_BUILTIN_COMULESS): Ditto.
(IX86_BUILTIN_COMUGTSS): Ditto.
(IX86_BUILTIN_COMUGESS): Ditto.
(IX86_BUILTIN_COMORDSS): Ditto.
(IX86_BUILTIN_COMUNORDSS): Ditto.
(IX86_BUILTIN_COMFALSESS): Ditto.
(IX86_BUILTIN_COMTRUESS): Ditto.
(IX86_BUILTIN_COMEQSD): Ditto.
(IX86_BUILTIN_COMNESD): Ditto.
(IX86_BUILTIN_COMLTSD): Ditto.
(IX86_BUILTIN_COMLESD): Ditto.
(IX86_BUILTIN_COMGTSD): Ditto.
(IX86_BUILTIN_COMGESD): Ditto.
(IX86_BUILTIN_COMUEQSD): Ditto.
(IX86_BUILTIN_COMUNESD): Ditto.
(IX86_BUILTIN_COMULTSD): Ditto.
(IX86_BUILTIN_COMULESD): Ditto.
(IX86_BUILTIN_COMUGTSD): Ditto.
(IX86_BUILTIN_COMUGESD): Ditto.
(IX86_BUILTIN_COMORDSD): Ditto.
(IX86_BUILTIN_COMUNORDSD): Ditto.
(IX86_BUILTIN_COMFALSESD): Ditto.
(IX86_BUILTIN_COMTRUESD): Ditto.
(IX86_BUILTIN_COMEQPS): Ditto.
(IX86_BUILTIN_COMNEPS): Ditto.
(IX86_BUILTIN_COMLTPS): Ditto.
(IX86_BUILTIN_COMLEPS): Ditto.
(IX86_BUILTIN_COMGTPS): Ditto.
(IX86_BUILTIN_COMGEPS): Ditto.
(IX86_BUILTIN_COMUEQPS): Ditto.
(IX86_BUILTIN_COMUNEPS): Ditto.
(IX86_BUILTIN_COMULTPS): Ditto.
(IX86_BUILTIN_COMULEPS): Ditto.
(IX86_BUILTIN_COMUGTPS): Ditto.
(IX86_BUILTIN_COMUGEPS): Ditto.
(IX86_BUILTIN_COMORDPS): Ditto.
(IX86_BUILTIN_COMUNORDPS): Ditto.
(IX86_BUILTIN_COMFALSEPS): Ditto.
(IX86_BUILTIN_COMTRUEPS): Ditto.
(IX86_BUILTIN_COMEQPD): Ditto.
(IX86_BUILTIN_COMNEPD): Ditto.
(IX86_BUILTIN_COMLTPD): Ditto.
(IX86_BUILTIN_COMLEPD): Ditto.
(IX86_BUILTIN_COMGTPD): Ditto.
(IX86_BUILTIN_COMGEPD): Ditto.
(IX86_BUILTIN_COMUEQPD): Ditto.
(IX86_BUILTIN_COMUNEPD): Ditto.
(IX86_BUILTIN_COMULTPD): Ditto.
(IX86_BUILTIN_COMULEPD): Ditto.
(IX86_BUILTIN_COMUGTPD): Ditto.
(IX86_BUILTIN_COMUGEPD): Ditto.
(IX86_BUILTIN_COMORDPD): Ditto.
(IX86_BUILTIN_COMUNORDPD): Ditto.
(IX86_BUILTIN_COMFALSEPD): Ditto.
(IX86_BUILTIN_COMTRUEPD): Ditto.
(IX86_BUILTIN_PCOMEQUB): Ditto.
(IX86_BUILTIN_PCOMNEUB): Ditto.
(IX86_BUILTIN_PCOMLTUB): Ditto.
(IX86_BUILTIN_PCOMLEUB): Ditto.
(IX86_BUILTIN_PCOMGTUB): Ditto.
(IX86_BUILTIN_PCOMGEUB): Ditto.
(IX86_BUILTIN_PCOMFALSEUB): Ditto.
(IX86_BUILTIN_PCOMTRUEUB): Ditto.
(IX86_BUILTIN_PCOMEQUW): Ditto.
(IX86_BUILTIN_PCOMNEUW): Ditto.
(IX86_BUILTIN_PCOMLTUW): Ditto.
(IX86_BUILTIN_PCOMLEUW): Ditto.
(IX86_BUILTIN_PCOMGTUW): Ditto.
(IX86_BUILTIN_PCOMGEUW): Ditto.
(IX86_BUILTIN_PCOMFALSEUW): Ditto.
(IX86_BUILTIN_PCOMTRUEUW): Ditto.
(IX86_BUILTIN_PCOMEQUD): Ditto.
(IX86_BUILTIN_PCOMNEUD): Ditto.
(IX86_BUILTIN_PCOMLTUD): Ditto.
(IX86_BUILTIN_PCOMLEUD): Ditto.
(IX86_BUILTIN_PCOMGTUD): Ditto.
(IX86_BUILTIN_PCOMGEUD): Ditto.
(IX86_BUILTIN_PCOMFALSEUD): Ditto.
(IX86_BUILTIN_PCOMTRUEUD): Ditto.
(IX86_BUILTIN_PCOMEQUQ): Ditto.
(IX86_BUILTIN_PCOMNEUQ): Ditto.
(IX86_BUILTIN_PCOMLTUQ): Ditto.
(IX86_BUILTIN_PCOMLEUQ): Ditto.
(IX86_BUILTIN_PCOMGTUQ): Ditto.
(IX86_BUILTIN_PCOMGEUQ): Ditto.
(IX86_BUILTIN_PCOMFALSEUQ): Ditto.
(IX86_BUILTIN_PCOMTRUEUQ): Ditto.
(IX86_BUILTIN_PCOMEQB): Ditto.
(IX86_BUILTIN_PCOMNEB): Ditto.
(IX86_BUILTIN_PCOMLTB): Ditto.
(IX86_BUILTIN_PCOMLEB): Ditto.
(IX86_BUILTIN_PCOMGTB): Ditto.
(IX86_BUILTIN_PCOMGEB): Ditto.
(IX86_BUILTIN_PCOMFALSEB): Ditto.
(IX86_BUILTIN_PCOMTRUEB): Ditto.
(IX86_BUILTIN_PCOMEQW): Ditto.
(IX86_BUILTIN_PCOMNEW): Ditto.
(IX86_BUILTIN_PCOMLTW): Ditto.
(IX86_BUILTIN_PCOMLEW): Ditto.
(IX86_BUILTIN_PCOMGTW): Ditto.
(IX86_BUILTIN_PCOMGEW): Ditto.
(IX86_BUILTIN_PCOMFALSEW): Ditto.
(IX86_BUILTIN_PCOMTRUEW): Ditto.
(IX86_BUILTIN_PCOMEQD): Ditto.
(IX86_BUILTIN_PCOMNED): Ditto.
(IX86_BUILTIN_PCOMLTD): Ditto.
(IX86_BUILTIN_PCOMLED): Ditto.
(IX86_BUILTIN_PCOMGTD): Ditto.
(IX86_BUILTIN_PCOMGED): Ditto.
(IX86_BUILTIN_PCOMFALSED): Ditto.
(IX86_BUILTIN_PCOMTRUED): Ditto.
(IX86_BUILTIN_PCOMEQQ): Ditto.
(IX86_BUILTIN_PCOMNEQ): Ditto.
(IX86_BUILTIN_PCOMLTQ): Ditto.
(IX86_BUILTIN_PCOMLEQ): Ditto.
(IX86_BUILTIN_PCOMGTQ): Ditto.
(IX86_BUILTIN_PCOMGEQ): Ditto.
(IX86_BUILTIN_PCOMFALSEQ): Ditto.
(IX86_BUILTIN_PCOMTRUEQ): Ditto.
(enum multi_arg_type): New enum for describing the various SSE5
intrinsic argument types.
(bdesc_multi_arg): New table for SSE5 intrinsics.
(ix86_init_mmx_sse_builtins): Add SSE5 intrinsic support.
(ix86_expand_multi_arg_builtin): New function for creating SSE5
intrinsics.
(ix86_expand_builtin): Add SSE5 intrinsic support.
(ix86_sse5_valid_op_p): New function to validate SSE5 3 and 4
operand instructions.
(ix86_expand_sse5_multiple_memory): New function to split the
second memory reference from SSE5 instructions.
(type_has_variadic_args_p): Delete in favor of stdarg_p.
(ix86_return_pops_args): Use stdarg_p to determine if the function
has variable arguments.
(ix86_setup_incoming_varargs): Ditto.
(x86_this_parameter): Ditto.

* config/i386/i386-protos.h (ix86_expand_sse5_unpack): Add
declaration.
(ix86_expand_sse5_pack): Ditto.
(ix86_sse5_valid_op_p): Ditto.
(ix86_expand_sse5_multiple_memory): Ditto.

* config/i386/i386.md (UNSPEC_SSE5_INTRINSIC): Add new UNSPEC
constant for SSE5 support.
(UNSPEC_SSE5_UNSIGNED_CMP): Ditto.
(UNSPEC_SSE5_TRUEFALSE): Ditto.
(UNSPEC_SSE5_PERMUTE): Ditto.
(UNSPEC_SSE5_ASHIFT): Ditto.
(UNSPEC_SSE5_LSHIFT): Ditto.
(UNSPEC_FRCZ): Ditto.
(UNSPEC_CVTPH2PS): Ditto.
(UNSPEC_CVTPS2PH): Ditto.
(PCOM_FALSE): Add new constant for true/false SSE5 comparisons.
(PCOM_TRUE): Ditto.
(COM_FALSE_S): Ditto.
(COM_FALSE_P): Ditto.
(COM_TRUE_S): Ditto.
(COM_TRUE_P): Ditto.
(type attribute): Add ssemuladd, sseiadd1, ssecvt1, sse4arg types.
(unit attribute): Add support for ssemuladd, ssecvt1, sseiadd1 sse4arg
types.
(memory attribute): Ditto.
(sse4_1_round<mode>2): Use TARGET_ROUND instead of TARGET_SSE4_1.
Use SSE4_1_ROUND_* constants instead of hard coded numbers.
(rint<mode>2): Use TARGET_ROUND instead of TARGET_SSE4_1.
(floor<mode>2): Ditto.
(ceil<mode>2): Ditto.
(btrunc<mode>2): Ditto.
(nearbyintdf2): Ditto.
(nearbyintsf2): Ditto.
(sse_setccsf): Disable if SSE5.
(sse_setccdf): Ditto.
(sse5_setcc<mode>): New support for SSE5 conditional move.
(sse5_pcmov_<mode>): Ditto.

* config/i386/sse.md (SSEMODE1248): New mode iterator for SSE5.
(SSEMODEF4): Ditto.
(SSEMODEF2P): Ditto.
(ssemodesuffixf4): New mode attribute for SSE5.
(ssemodesuffixf2s): Ditto.
(ssemodesuffixf2c): Ditto.
(sserotatemax): Ditto.
(ssescalarmode): Ditto.
(sse_maskcmpv4sf3): Disable if SSE5.
(sse_maskcmpv2df3): Ditto.
(sse_vmmaskcmpv4sf3): Ditto.
(sse5_fmadd<mode>4): Add SSE5 floating point multiply/add
instructions.
(sse5_vmfmadd<mode>4): Ditto.
(sse5_fmsub<mode>4): Ditto.
(sse5_vmfmsub<mode>4): Ditto.
(sse5_fnmadd<mode>4): Ditto.
(sse5_vmfnmadd<mode>4): Ditto.
(sse5_fnmsub<mode>4): Ditto.
(sse5_vmfnmsub<mode>4): Ditto.
(sse5i_fmadd<mode>4): Ditto.
(sse5i_fmsub<mode>4): Ditto.
(sse5i_fnmadd<mode>4): Ditto.
(sse5i_fnmsub<mode>4): Ditto.
(sse5i_vmfmadd<mode>4): Ditto.
(sse5i_vmfmsub<mode>4): Ditto.
(sse5i_vmfnmadd<mode>4): Ditto.
(sse5i_vmfnmsub<mode>4): Ditto.
(mulv16qi3): Add SSE5 support.
(mulv4si3): Ditto.
(sse5_mulv4si3): New insn for 32-bit multiply support on SSE5.
(sse2_mulv4si3): Disable if SSE5.
(sse4_1_roundpd): Use TARGET_ROUND instead of TARGET_SSE4_1.
(sse4_1_roundps): Ditto.
(sse4_1_roundsd): Ditto.
(sse4_1_roundss): Ditto.
(sse_maskcmpv4sf3): Disable if SSE5 so the SSE5 instruction will
be generated.
(sse_maskcmpsf3): Ditto.
(sse_vmmaskcmpv4sf3): Ditto.
(sse2_maskcmpv2df3): Ditto.
(sse2_maskcmpdf3): Ditto.
(sse2_vmmaskcmpv2df3): Ditto.
(sse2_eq<mode>3): Ditto.
(sse2_gt<mode>3): Ditto.
(sse5_pcmov_<mode>): Add SSE5 support.
(vec_unpacku_hi_v16qi): Ditto.
(vec_unpacks_hi_v16qi): Ditto.
(vec_unpacku_lo_v16qi): Ditto.
(vec_unpacks_lo_v16qi): Ditto.
(vec_unpacku_hi_v8hi): Ditto.
(vec_unpacks_hi_v8hi): Ditto.
(vec_unpacku_lo_v8hi): Ditto.
(vec_unpacks_lo_v8hi): Ditto.
(vec_unpacku_hi_v4si): Ditto.
(vec_unpacks_hi_v4si): Ditto.
(vec_unpacku_lo_v4si): Ditto.
(vec_unpacks_lo_v4si): Ditto.
(sse5_pmacsww): New SSE5 intrinsic insn.
(sse5_pmacssww): Ditto.
(sse5_pmacsdd): Ditto.
(sse5_pmacssdd): Ditto.
(sse5_pmacssdql): Ditto.
(sse5_pmacssdqh): Ditto.
(sse5_pmacsdqh): Ditto.
(sse5_pmacsswd): Ditto.
(sse5_pmacswd): Ditto.
(sse5_pmadcsswd): Ditto.
(sse5_pmadcswd): Ditto.
(sse5_pcmov_<move>): Conditional move support on SSE5.
(sse5_phaddbw): New SSE5 intrinsic insn.
(sse5_phaddbd): Ditto.
(sse5_phaddbq): Ditto.
(sse5_phaddwd): Ditto.
(sse5_phaddwq): Ditto.
(sse5_phadddq): Ditto.
(sse5_phaddubw): Ditto.
(sse5_phaddubd): Ditto.
(sse5_phaddubq): Ditto.
(sse5_phadduwd): Ditto.
(sse5_phadduwq): Ditto.
(sse5_phaddudq): Ditto.
(sse5_phsubbw): Ditto.
(sse5_phsubwd): Ditto.
(sse5_phsubdq): Ditto.
(sse5_pperm): Ditto.
(sse5_pperm_sign_v16qi_v8hi): New insns for pack/unpack with SSE5.
(sse5_pperm_zero_v16qi_v8hi): Ditto.
(sse5_pperm_sign_v8hi_v4si): Ditto.
(sse5_pperm_zero_v8hi_v4si): Ditto.
(sse5_pperm_sign_v4si_v2di): Ditto.
(sse5_pperm_sign_v4si_v2di): Ditto.
(sse5_pperm_pack_v2di_v4si): Ditto.
(sse5_pperm_pack_v4si_v8hi): Ditto.
(sse5_pperm_pack_v8hi_v16qi): Ditto.
(sse5_perm<mode>): New SSE5 intrinsic insn.
(rotl<mode>3): Ditto.
(sse5_rotl<mode>3): Ditto.
(sse5_ashl<mode>3): Ditto.
(sse5_lshl<mode>3): Ditto.
(sse5_frcz<mode>2): Ditto.
(sse5s_frcz<mode>2): Ditto.
(sse5_cvtph2ps): Ditto.
(sse5_cvtps2ph): Ditto.
(sse5_vmmaskcmp<mode>3): Ditto.
(sse5_com_tf<mode>3): Ditto.
(sse5_maskcmp<mode>3): Ditto.
(sse5_maskcmp_uns<mode>3): Ditto.
(sse5_maskcmp_uns2<mode>3): Ditto.
(sse5_pcom_tf<mode>3): Ditto.

* config/i386/predicates.md (sse5_comparison_float_operator): New predicate to match the
comparison operators supported by the SSE5 com instruction.
(ix86_comparison_int_operator): New predicate to match just the
signed int comparisons.
(ix86_comparison_uns_operator): New predicate to match just the
unsigned int comparisons.

* doc/invoke.texi (-msse5): Add documentation.
(-mfused-madd): Ditto.

* doc/extend.texi (x86 intrinsics): Document new SSE5 intrinsics.

* config.gcc (i[34567]86-*-*): Include bmmintrin.h and
mmintrin-common.h.
(x86_64-*-*): Ditto.

* config/i386/cpuid.h (bit_SSE5): Define SSE5 bit.

* config/i386/bmmintrin.h: New file, provide common x86 compiler
intrinisics for SSE5.

* config/i386/smmintrin.h: Move instructions shared with SSE5 to
mmintrin-common.h.

* config/i386/mmintrin-common.h: New file, to contain common
instructions between SSE4.1 and SSE5.

* config/i386/netware.c (gen_stdcall_or_fastcall_decoration): Use
FOREACH_FUNCTION_ARGS to iterate over the argument list.
(gen_regparm_prefix): Ditto.

* config/i386/winnt.c (gen_stdcall_or_fastcall_suffix): Use
FOREACH_FUNCTION_ARGS to iterate over the argument list.  Use
prototype_p to determine if a function is prototyped.

* gcc.target/i386/sse5-shift1-vector.c
* gcc.target/i386/isa-12.c
* gcc.target/i386/isa-12.cgcc.target/i386/isa-12.c
* gcc.target/i386/sse5-pcmov2.c
* gcc.target/i386/isa-3.c
* gcc.target/i386/sse5-shift2-vector.c
* gcc.target/i386/isa-7.c
* gcc.target/i386/funcspec-2.c
* gcc.target/i386/sse5-haddX.c
* gcc.target/i386/sse5-hadduX.c
* gcc.target/i386/isa-9.c
* gcc.target/i386/sse5-maccXX.c
* gcc.target/i386/sse5-shift3-vector.c
* gcc.target/i386/sse5-msubXX.c
* gcc.target/i386/sse5-permpX.c
* gcc.target/i386/sse5-check.h
* gcc.target/i386/sse-12.c
* gcc.target/i386/sse-11.c
* gcc.target/i386/sse-10.c
* gcc.target/i386/sse-13.c
* gcc.target/i386/sse-14.c
* gcc.target/i386/sse-22.c
* gcc.target/i386/sse-2.c
* gcc.target/i386/sse-13.c
* gcc.target/i386/avx-2.c
* gcc.target/i386/sse5-rotate1-vector.c
* gcc.target/i386/isa-4.c
* gcc.target/i386/sse5-hsubX.c
* gcc.target/i386/sse5-pcmov.c
* gcc.target/i386/sse5-fma.c
* gcc.target/i386/isa-8.c
* gcc.target/i386/sse5-rotate2-vector.c
* gcc.target/i386/sse5-nmaccXX.c
* gcc.target/i386/sse5-imul64-vector.c
* gcc.target/i386/sse5-nmsubXX.c
* gcc.target/i386/sse5-rotate3-vector.c
* gcc.target/i386/sse5-fma-vector.c
* gcc.target/i386/sse5-imul32widen-vector.c: Remove SSE5 related testcases
* gcc.target/i386/sse5-ima-vector.c

* gcc.target/i386/funcspec-8.c: Replace SSE5 by SSE4.
* gcc.target/i386/funcspec-5.c: Remove SSE5.
* gcc.target/i386/funcspec-6.c: Remove fused-add test.
* gcc.target/i386/avx-1.c: Remove SSE5.
* gcc.target/i386/avx-2.c: Remove SSE5.
* g++.dg/other/i386-2.C: Replace SSE5 by SSE4A.
* g++.dg/other/i386-3.C: Replace SSE5 by SSE4A.
* g++.dg/other/i386-6.C: Replace SSE5 by SSE4A.
* g++.dg/other/i386-5.C: Replace SSE5 by SSE4A.

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

15 years ago * gcc.c-torture/compile/limits-fndefn.c: Add dg-timeout-factor.
uros [Tue, 25 Aug 2009 21:38:33 +0000 (21:38 +0000)]
* gcc.c-torture/compile/limits-fndefn.c: Add dg-timeout-factor.

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

15 years ago * c-common.c (c_common_reswords) add the alignof keyword,
jason [Tue, 25 Aug 2009 21:21:25 +0000 (21:21 +0000)]
* c-common.c (c_common_reswords) add the alignof keyword,
with same RID as __alignof and __alignof__

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

15 years ago * hooks.h (hook_bool_const_int_const_int_true): Declare.
aesok [Tue, 25 Aug 2009 21:09:00 +0000 (21:09 +0000)]
* hooks.h (hook_bool_const_int_const_int_true): Declare.
* hooks.c (hook_bool_const_int_const_int_true): New function.
* target.h (struct gcc_target): Add can_eliminate field.
* target-def.h (TARGET_CAN_ELIMINATE): Define.
(TARGET_INITIALIZER): Use TARGET_CAN_ELIMINATE.
* ira.c (setup_eliminable_regset): Use can_eliminate target hook.
* reload1.c (update_eliminables, init_elim_table): (Ditto.).
(elim_table): Revise comment.
* system.h (CAN_ELIMINATE): Poison.
* defaults.h (CAN_ELIMINATE): Remove.
* doc/tm.texi (CAN_ELIMINATE): Revise documentation.

* config/alpha/vms.h (CAN_ELIMINATE): Remove macro.
* config/alpha/alpha.c (TARGET_CAN_ELIMINATE) [TARGET_ABI_OPEN_VMS]:
Define macro.
(alpha_vms_can_eliminate): Declare as static, change return type to
bool.
* config/alpha/alpha-protos.h (alpha_vms_can_eliminate): Remove.

* config/arm/arm.h (CAN_ELIMINATE): Remove macro.
* config/arm/arm.c (TARGET_CAN_ELIMINATE): Define macro.
(arm_can_eliminate): New function.

* config/avr/avr.h (CAN_ELIMINATE): Remove macro.
* config/avr/avr.c (TARGET_CAN_ELIMINATE): Define macro.
(avr_can_eliminate): Declare as static.
* config/avr/avr-protos.h (avr_can_eliminate): Remove.

* config/bfin/bfin.h (CAN_ELIMINATE): Remove macro.
* config/bfin/bfin.c (TARGET_CAN_ELIMINATE): Define macro.
(bfin_can_eliminate): New function.

* config/crx/crx.h (CAN_ELIMINATE): Remove macro.
* config/crx/crx.c (TARGET_CAN_ELIMINATE): Define macro.
(crx_can_eliminate): New function.

* config/fr30/fr30.h (CAN_ELIMINATE): Remove macro.
* config/fr30/fr30.c (TARGET_CAN_ELIMINATE): Define macro.
(fr30_can_eliminate): New function.

* config/frv/frv.h (CAN_ELIMINATE): Remove macro.
* config/frv/frv.c (TARGET_CAN_ELIMINATE): Define macro.
(frv_can_eliminate): New function.

* config/h8300/h8300.h (CAN_ELIMINATE): Remove macro.
* config/h8300/h8300.c (TARGET_CAN_ELIMINATE): Define macro.
(h8300_can_eliminate): New function.

* config/i386/i386.h (CAN_ELIMINATE): Remove macro.
* config/i386/i386.c (TARGET_CAN_ELIMINATE): Define macro.
(i386_can_eliminate): Declare as static, change return type to bool.
* config/i386/i386-protos.h (i386_can_eliminate): Remove.

* config/ia64/ia64.h (CAN_ELIMINATE): Remove macro.
* config/ia64/ia64.c (TARGET_CAN_ELIMINATE): Define macro.
(ia64_can_eliminate): New function.

* config/iq2000/iq2000.h (CAN_ELIMINATE): Remove macro.
* config/iq2000/iq2000.c (TARGET_CAN_ELIMINATE): Define macro.
(iq2000_can_eliminate): New function.

* config/m32r/m32r.h (CAN_ELIMINATE): Remove macro.
* config/m32r/m32r.c (TARGET_CAN_ELIMINATE): Define macro.
(m32r_can_eliminate): New function.

* config/m68hc11/m68hc11.h (CAN_ELIMINATE): Remove macro.
* config/m68hc11/m68hc11.c (TARGET_CAN_ELIMINATE): Define macro.
(m68hc11_can_eliminate): New function.

* config/m68k/m68k.h (CAN_ELIMINATE): Remove macro.
* config/m68k/m68k.c (TARGET_CAN_ELIMINATE): Define macro.
(m68k_can_eliminate): New function.

* config/mep/mep.h (CAN_ELIMINATE): Remove macro.
* config/mep/mep.c (TARGET_CAN_ELIMINATE): Define macro.
(mep_can_eliminate): New function.

* config/mips/mips.h (CAN_ELIMINATE): Remove macro.
* config/mips/mips.c (TARGET_CAN_ELIMINATE): Define macro.
(mips_can_eliminate): New function.

* config/rs6000/rs6000.h (CAN_ELIMINATE): Remove macro.
* config/rs6000/rs6000.c (TARGET_CAN_ELIMINATE): Define macro.
(rs6000_can_eliminate): New function.

* config/s390/s390.h (CAN_ELIMINATE): Remove macro.
* config/s390/s390.c (TARGET_CAN_ELIMINATE): Define macro.
(s390_can_eliminate): Declare as static.
* config/s390/s390-protos.h (sparc_can_eliminate): Remove.

* config/score/score.h (CAN_ELIMINATE): Remove macro.
* config/score/score.c (TARGET_CAN_ELIMINATE): Define macro.
(score_can_eliminate): New function.

* config/sparc/sparc.h (CAN_ELIMINATE): Remove macro.
* config/sparc/sparc.c (TARGET_CAN_ELIMINATE): Define macro.
(sparc_can_eliminate): Declare as static.
* config/sparc/sparc-protos.h (sparc_can_eliminate): Remove.

* config/stormy16/stormy16.h (CAN_ELIMINATE): Remove macro.
* config/stormy16/stormy16.c (TARGET_CAN_ELIMINATE): Define macro.
(xstormy16_can_eliminate): New function.

* config/v850/v850.h (CAN_ELIMINATE): Remove macro.
* config/v850/v850.c (TARGET_CAN_ELIMINATE): Define macro.
(v850_can_eliminate): New function.

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

15 years agoRemove svn merge marker
meissner [Tue, 25 Aug 2009 20:42:47 +0000 (20:42 +0000)]
Remove svn merge marker

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

15 years ago * config/alpha/alpha.md (*cmpdf_ieee_ext[123]): Remove.
uros [Tue, 25 Aug 2009 18:58:11 +0000 (18:58 +0000)]
* config/alpha/alpha.md (*cmpdf_ieee_ext[123]): Remove.
(*cmpdf_internal): Enable for all ALPHA_FPTM levels.
(*movdfcc_ext[1234]): Disable for IEEE mode.

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

15 years agoFix ENCODE example in gfortran manual
jb [Tue, 25 Aug 2009 18:24:25 +0000 (18:24 +0000)]
Fix ENCODE example in gfortran manual

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

15 years ago2009-08-25 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Tue, 25 Aug 2009 17:05:10 +0000 (17:05 +0000)]
2009-08-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34670
* runtime/bounds.c (count_0):  New function.
* intrinsics/unpack_generic (unpack_bounds):  New function.
(unpack_internal):  Remove zero stride checks.
(unpack1):  Use unpack_bounds.
(unpack1_char):  Likeweise.
(unpack1_char4):  Likewise
(unpack0):  Likewise.
(unpack0_char):  Likewise.
(unpack0_char4):  Likewise.

2009-08-25  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34670
* gfortran.dg/unpack_bounds_1.f90:  New test.
* gfortran.dg/unpack_bounds_2.f90:  New test.
* gfortran.dg/unpack_bounds_3.f90:  New test.

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

15 years ago * gimplify.c (prepare_gimple_addressable): New static function.
ebotcazou [Tue, 25 Aug 2009 15:02:19 +0000 (15:02 +0000)]
* gimplify.c (prepare_gimple_addressable): New static function.
(gimplify_modify_expr_to_memcpy): Invoke it on the RHS before marking
it addressable.
(gimplify_addr_expr): Invoke it similarly on the operand instead of
manually fiddling with it.
ada/
* gcc-interface/trans.c (call_to_gnu): Tidy.
(gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has
non-constant size but the array itself has constant size.
* gcc-interface/utils.c (convert_vms_descriptor64): Fix type
consistency error.
(convert_vms_descriptor32): Likewise.

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

15 years ago2009-08-25 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 25 Aug 2009 14:26:44 +0000 (14:26 +0000)]
2009-08-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41139
* primary.c (gfc_match_varspec): Make sure EXPR_PPC is only used for
calls to procedure pointer components, other references to procedure
pointer components are EXPR_VARIABLE.
* resolve.c (resolve_actual_arglist): Bugfix (there can be calls without
actual arglist).
* trans-expr.c (gfc_get_proc_ptr_comp): Renamed to 'get_proc_ptr_comp',
removed argument 'se' and made static. Avoid inserting a temporary
variable for calling the PPC.
(conv_function_val): Renamed gfc_get_proc_ptr_comp.
(gfc_conv_procedure_call): Distinguish functions returning a procedure
pointer from calls to a procedure pointer. Distinguish calls to
procedure pointer components from procedure pointer components as
actual arguments.
* trans-stmt.h (gfc_get_proc_ptr_comp): Make it static.

2009-08-25  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41139
* gfortran.dg/proc_ptr_25.f90: New.
* gfortran.dg/proc_ptr_comp_18.f90: New.
* gfortran.dg/proc_ptr_comp_19.f90: New.

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

15 years ago * expr.h (jumpifnot_1, jumpif_1, do_jump_1): Declare.
matz [Tue, 25 Aug 2009 13:35:39 +0000 (13:35 +0000)]
    * expr.h (jumpifnot_1, jumpif_1, do_jump_1): Declare.
        * dojump.c (do_jump_by_parts_greater): Take two operands instead of
        full expression.
        (do_jump_by_parts_equality, do_compare_and_jump): Ditto.
        (jumpifnot_1, jumpif_1): New wrappers for do_jump_1.
        (do_jump): Split out code for simple binary comparisons into ...
        (do_jump_1): ... this, taking the individual operands and code.
        Change callers to helper function above accordingly.
        * expr.c (expand_expr_real_1): Use jumpifnot_1 for simple binary
        comparisons.

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

15 years ago * expr.h (struct separate_ops, sepops): New type for passing
matz [Tue, 25 Aug 2009 13:33:54 +0000 (13:33 +0000)]
    * expr.h (struct separate_ops, sepops): New type for passing
        around an exploded simple expression.
        * optabs.c (expand_widen_pattern_expr, expand_vec_shift_expr):
        Use this structure instead of expression tree.
        (get_vcond_icode, expand_vec_cond_expr_p): Don't take whole
        expression, only its type.
        (expand_vec_cond_expr): Take type and individual operands instead
        of full expression.
        * optabs.h (expand_widen_pattern_expr, expand_vec_cond_expr,
        expand_vec_shift_expr): Change prototype accordingly.
        * tree-vect-stmts.c (vectorizable_condition): Change call of
        expand_vec_cond_expr_p to pass only type.
        * expr.c (do_store_flags): Change prototype and implementation
        to take an exploded expression.
        (expand_expr_real_1): New local ops initialized with details
        of the full expression.  Use it instead of full
        expression in calls to do_store_flags, expand_vec_cond_expr,
        expand_widen_pattern_expr and expand_vec_shift_expr.

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

15 years ago * expr.c (expand_expr_real_1): New local treeop0, treeop1,
matz [Tue, 25 Aug 2009 13:31:56 +0000 (13:31 +0000)]
    * expr.c (expand_expr_real_1): New local treeop0, treeop1,
        treeop2 initialized with first three operands of the full expression.
        Substitute all TREE_OPERAND (exp, [012]) calls with them.

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

15 years ago2009-08-25 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 25 Aug 2009 10:32:38 +0000 (10:32 +0000)]
2009-08-25  Kai Tietz  <kai.tietz@onevision.com>

        * gcc/gthr-win32.h (__UNUSED_PARAM): Define, if not already present.
        (__gthread_objc_condition_allocate): Mark arguments as unused.
        (__gthread_objc_condition_deallocate): Likewise.
        (__gthread_objc_condition_wait): Likewise.
        (__gthread_objc_condition_broadcast): Likewise.
        (__gthread_objc_condition_signal): Likewise.
        (__gthread_objc_thread_detach): Cast via INT_PTR to pointer.
        (__gthread_objc_thread_id): Likewise.

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

15 years ago2009-08-25 Janus Weil <janus@gcc.gnu.org>
janus [Tue, 25 Aug 2009 09:35:41 +0000 (09:35 +0000)]
2009-08-25  Janus Weil  <janus@gcc.gnu.org>

PR middle-end/41149
* tree-pretty-print.c (print_call_name): Print the correct call name
for procedure pointer components.

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

15 years ago2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 25 Aug 2009 05:22:14 +0000 (05:22 +0000)]
2009-08-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41162
* io.c (check_format): Fix to not error on slash after P. Fix some
error loci.

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

15 years ago2009-08-24 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Tue, 25 Aug 2009 01:47:23 +0000 (01:47 +0000)]
2009-08-24  Steven G. Kargl  <kargl@gcc.gnu.org>

    PR fortran/41157
    * dtime.c (dtime_sub): Fix computing time increment.
    * time_1.h: Add <sys/types.h> header.  Use RUSAGE_SELF macro instead
    of a hardcoded 0.

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

15 years ago2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 25 Aug 2009 01:14:13 +0000 (01:14 +0000)]
2009-08-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41154
* gfortran.dg/fmt_error_8.f: New test.

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

15 years ago2009-08-24 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Tue, 25 Aug 2009 01:05:11 +0000 (01:05 +0000)]
2009-08-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/41154
* io.c (check_format): Fix to not error on right paren after P.

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

15 years agofortran/
aldyh [Tue, 25 Aug 2009 00:27:52 +0000 (00:27 +0000)]
fortran/
        PR fortran/40660
        * trans-io.c (build_dt): Pass UNKNOWN_LOCATION to build_call_expr_loc.
        (transfer_array_desc): Same.

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

15 years agoDaily bump.
gccadmin [Tue, 25 Aug 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * gcc.dg/torture/builtin-math-6.c (link_error): Accept a value
ghazi [Mon, 24 Aug 2009 22:54:25 +0000 (22:54 +0000)]
* gcc.dg/torture/builtin-math-6.c (link_error): Accept a value
number, update all callers and synchronize results for latest MPC.

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

15 years ago2009-08-24 Steve Ellcey <sje@cup.hp.com>
sje [Mon, 24 Aug 2009 21:35:16 +0000 (21:35 +0000)]
2009-08-24  Steve Ellcey  <sje@cup.hp.com>

* config/ia64/ia64.c (ia64_promote_function_mode): Call
default_promote_function_mode when not VMS.

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

15 years ago * cp-tree.h (DECL_DEFERRED_FN): Remove.
jason [Mon, 24 Aug 2009 21:32:24 +0000 (21:32 +0000)]
* cp-tree.h (DECL_DEFERRED_FN): Remove.
(struct lang_decl_fn): Remove deferred flag.
* class.c (build_clone): Don't set it.
* decl2.c (note_vague_linkage_fn): Don't check or set it.
(mark_used): Don't check it.
* method.c (make_thunk, make_alias_for): Don't set it.

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

15 years ago * decl2.c (mark_used): Streamline logic.
jason [Mon, 24 Aug 2009 21:32:12 +0000 (21:32 +0000)]
* decl2.c (mark_used): Streamline logic.

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

15 years ago PR c++/41109
jason [Mon, 24 Aug 2009 21:31:54 +0000 (21:31 +0000)]
PR c++/41109
PR c++/41110
PR c++/41134
* cp-tree.h (DECL_ODR_USED): New macro.
(struct lang_decl_base): Add odr_used flag.
* decl.c (duplicate_decls): Propagate it.  Use it for error.
* pt.c (register_specialization): Use it for error.
* decl2.c (mark_used): Use it as gating flag rather than TREE_USED.
(cp_write_global_declarations): Use it for error.
(tree_used_ok): Remove.
* cp-tree.h: Remove tree_used_ok.
* call.c (build_call_a): Don't call it.
* init.c (build_offset_ref): Likewise.

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

15 years ago * convert.c (convert_to_integer): Don't assume an input pointer is
hainque [Mon, 24 Aug 2009 21:23:22 +0000 (21:23 +0000)]
    * convert.c (convert_to_integer): Don't assume an input pointer is
        POINTER_SIZE wide.  Fetch from the type instead.

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

15 years agoUpdate AC_PREREQ entries to 2.64
rwild [Mon, 24 Aug 2009 19:08:51 +0000 (19:08 +0000)]
Update AC_PREREQ entries to 2.64

/:
* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libjava/classpath/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libjava/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libjava/libltdl/:
* configure.ac (AC_PREREQ): Bump to 2.64.  Remove FIXME.

libssp/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libobjc/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libstdc++-v3/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libada/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libgcc/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libgfortran/:
* configure.ac (AC_PREREQ): Bump to 2.64.

boehm-gc/:
* configure.ac (AC_PREREQ): Bump to 2.64.

gnattools/:
* configure.ac (AC_PREREQ): Bump to 2.64.

gcc/:
* configure.ac (AC_PREREQ): Bump to 2.64.

fixincludes/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libmudflap/:
* configure.ac (AC_PREREQ): Bump to 2.64.

zlib/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libffi/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libcpp/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libgomp/:
* configure.ac (AC_PREREQ): Bump to 2.64.

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

15 years ago2009-08-24 Chris Jefferson <chris@bubblescope.net>
paolo [Mon, 24 Aug 2009 14:07:34 +0000 (14:07 +0000)]
2009-08-24  Chris Jefferson  <chris@bubblescope.net>

* include/stl_algo.h (__unguarded_partition_pivot,
__move_median_first): New.
(__insertion_sort, __unguarded_insertion_sort): Adjust for move-only
types.
(__unguarded_linear_insert): Assume always inserting value at __last.
(__unguarded_partition): Take pivot by reference.
(__introsort_loop, __introselect) : Use __unguarded_partition_pivot.
* testsuite/25_algorithms/nth_element/moveable.cc : Enable.

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

15 years ago2009-08-24 Rafael Avila de Espindola <espindola@google.com>
espindola [Mon, 24 Aug 2009 14:02:21 +0000 (14:02 +0000)]
2009-08-24  Rafael Avila de Espindola  <espindola@google.com>

* gcc.c (standard_exec_prefix_1,standard_exec_prefix_2): Remove.
(process_command): Don't search standard_exec_prefix_1 and
standard_exec_prefix_2.

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

15 years agoUnified syntax fixes.
ramana [Mon, 24 Aug 2009 10:00:09 +0000 (10:00 +0000)]
Unified syntax fixes.

2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * config/arm/arm.c (output_return_instruction): Handle for
       unified syntax.

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

15 years agocombine cmps with shifts
ramana [Mon, 24 Aug 2009 09:03:35 +0000 (09:03 +0000)]
combine cmps with shifts

2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * gcc.target/arm/combine-cmp-shift.c: New test.

2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * config/arm/arm.c (arm_select_cc_mode): Handle subreg.

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

15 years agoset predicable attributes.
ramana [Mon, 24 Aug 2009 08:59:38 +0000 (08:59 +0000)]
set predicable attributes.

2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/arm/vfp.md (*arm_movdi_vfp): Mark as predicable.
        (*arm_movdf_vfp): Likewise.

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

15 years agoFix Neon ICE.
ramana [Mon, 24 Aug 2009 08:52:50 +0000 (08:52 +0000)]
Fix Neon ICE.

2009-08-24  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/arm/neon.md (vashl<mode>3): Rename from ashl<mode>3.
        (vashr<mode>3): Rename from ashr<mode>3.
        (vlshr<mode>3): Rename from lshr<mode>3.

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

15 years agoChangelog gcc/
ktietz [Mon, 24 Aug 2009 06:17:33 +0000 (06:17 +0000)]
Changelog gcc/

2009-08-24  Kai Tietz  <kai.tietz@onevision.com>

PR/40786
* c-format.c (format_wanted_type):  Add new member scalar_identity_flag.
(check_format_info_main): Use scalar_identify_flag.
(check_format_types): Check for scalar size identity if
scalar_identify_flag is set.
(printf_length_specs): Extend by new field.
(asm_fprintf_length_specs): Likewise.
(gcc_diag_length_specs): Likewise.
(scanf_length_specs): Likewise.
(strfmon_length_specs): Likewise.
(gcc_gfc_length_specs): Likewise.
* config/i386/msformat-c.c (ms_printf_length_specs): Likewise.
(ms_printf_flag_specs): Likewise.
* c-format.h (format_length_info): Add new member scalar_identity_flag.

Changelog gcc/testsuite

2009-08-24  Kai Tietz  <kai.tietz@onevision.com>

*gcc.dg/format/ms-format1.c: Add new cases for I32
width specifier.
*gcc.dg/format/ms-format2.c: New test about illegal
use of I32/I64 width specifier.

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

15 years ago2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 24 Aug 2009 04:41:51 +0000 (04:41 +0000)]
2009-08-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/35754
* io.c (check_format): Add checks for comma and the allowed
format specifiers after the 'P' specifier. Fix typo in error message
and adjust locus.

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

15 years ago2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 24 Aug 2009 03:46:18 +0000 (03:46 +0000)]
2009-08-23  Jerry DeLisle   <jvdelisle@gcc.gnu.org>

* gfortran.dg/fmt_error_7.f: New test.

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

15 years ago2009-08-23 Jerry DeLisle <jvdelisle@gcc.gnu.org>
jvdelisle [Mon, 24 Aug 2009 03:41:56 +0000 (03:41 +0000)]
2009-08-23  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/37446
* io.c (enum format_token): Change FMT_EXT to FMT_EN and FMT_ES.
(format_lex): Likewise.
(token_to_string): New function.
(check_format): Use the new tokens and the new function. Add
check for positive width.

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

15 years agoDaily bump.
gccadmin [Mon, 24 Aug 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago2009-08-23 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Sun, 23 Aug 2009 19:10:25 +0000 (19:10 +0000)]
2009-08-23  Steven G. Kargl  <kargl@gcc.gnu.org>

* intrinsics/cshift0.c: Update license to GPL3+exception.
* runtime/fpu.c: Add a GPL3+exception statement.

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

15 years ago2009-08-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 23 Aug 2009 19:05:09 +0000 (19:05 +0000)]
2009-08-23  H.J. Lu  <hongjiu.lu@intel.com>

 PR ld/10536
 * Makefile.in (install-html-recursive): Removed.

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

15 years agoCorrect the ChangeLog entry where Paul Thomas was not included.
kargl [Sun, 23 Aug 2009 18:13:56 +0000 (18:13 +0000)]
Correct the ChangeLog entry where Paul Thomas was not included.

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

15 years ago2009-08-23 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Sun, 23 Aug 2009 17:54:26 +0000 (17:54 +0000)]
2009-08-23  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.texi: Document the ERRMSG, SOURCE, and type-spec
F2003 features are implemented.

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

15 years ago * config/i386/i386.md (*sibcall_value_pop_1): Fix typo.
uros [Sun, 23 Aug 2009 12:45:45 +0000 (12:45 +0000)]
* config/i386/i386.md (*sibcall_value_pop_1): Fix typo.

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

15 years ago PR target/40718
uros [Sun, 23 Aug 2009 12:14:26 +0000 (12:14 +0000)]
PR target/40718
* config/i386/i386.c (*call_pop_1): Disable for sibling calls.
(*call_value_pop_1): Ditto.
(*sibcall_pop_1): New insn pattern.
(*sibcall_value_pop_1): Ditto.

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

15 years ago PR target/40718
uros [Sun, 23 Aug 2009 09:46:00 +0000 (09:46 +0000)]
PR target/40718
* config/i386/i386.c (*call_pop_1): Disable for sibling calls.
(*sibcall_pop_1): New insn pattern.

testsuite/ChangeLog:

PR target/40718
* gcc.target/i386/pr40718.c: New test.

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

15 years agoFix placement of LIBTOOLFLAGS variable in v3 makefile.am.
rwild [Sun, 23 Aug 2009 07:28:35 +0000 (07:28 +0000)]
Fix placement of LIBTOOLFLAGS variable in v3 makefile.am.

libstdc++-v3/:
* libsupc++/Makefile.am (LTCOMPILE): Expand $(LIBTOOLFLAGS)
before --mode argument.
* libsupc++/Makefile.in: Regenerate.

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

15 years ago2009-08-22 Steven G. Kargl <kargl@gcc.gnu.org>
kargl [Sun, 23 Aug 2009 04:58:31 +0000 (04:58 +0000)]
2009-08-22  Steven G. Kargl  <kargl@gcc.gnu.org>

* gfortran.dg/proc_ptr_24.f90: New test.

2009-08-22  Steven G. Kargl  <kargl@gcc.gnu.org>

* fortran/decl.c: Disallow procedure pointers with -std=f95.

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

15 years ago PR target/41081
amodra [Sun, 23 Aug 2009 03:53:02 +0000 (03:53 +0000)]
PR target/41081
* config/rs6000/rs6000.md (rotlsi3_64, ashlsi3_64, lshrsi3_64,
ashrsi3_64): New.

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

15 years ago2009-08-22 Steven K. kargl <kargl@gcc.gnu.org>
kargl [Sun, 23 Aug 2009 03:19:55 +0000 (03:19 +0000)]
2009-08-22 Steven K. kargl  <kargl@gcc.gnu.org>

* gfortran.dg/allocate_alloc_opt_4.f90: New test.
* gfortran.dg/allocate_alloc_opt_5.f90: New test.
* gfortran.dg/allocate_alloc_opt_6.f90: New test.

2009-08-22 Steven K. kargl  <kargl@gcc.gnu.org>

* fortran/decl.c (match_char_spec): Rename to gfc_match_char_spec,
and remove static.
* fortran/gfortran.h: Add *expr3 entity to gfc_code.  Add prototype
for gfc_match_char_spec.
* fortran/trans-stmt.c (gfc_trans_allocate): Translate the SOURCE=
tag.
* fortran/match.c (match_intrinsic_typespec): New function to match
F2003 intrinsic-type-spec.
(conformable_arrays): New function. Check SOURCE= and
allocation-object are conformable.
(gfc_match_allocate): Use new functions.  Match SOURCE= tag.

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

15 years ago PR target/41081
amodra [Sun, 23 Aug 2009 02:57:26 +0000 (02:57 +0000)]
PR target/41081
* fwprop.c (try_fwprop_subst): Allow multiple sets.
(get_reg_use_in): New function.
(forward_propagate_subreg): Propagate through subreg of zero_extend
or sign_extend.

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

15 years ago2009-08-22 Bud Davis <bdavis9659@sbcglobal.net>
bdavis [Sun, 23 Aug 2009 02:19:59 +0000 (02:19 +0000)]
2009-08-22 Bud Davis <bdavis9659@sbcglobal.net>

PR fortran/28093
* io.c : added variable to store original len of fmt
* io.c (check_format): Consume H items using next_char
in both modes to handle consecutive single quotes.
Test for extra characters in fmt, issue warning.

2009-08-22  Bud Davis  <bdavis9659@sbcglobal.net>

PR fortran/28039
* gfortran.dg/fmt_with_extra.f: new file.

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

15 years agoDaily bump.
gccadmin [Sun, 23 Aug 2009 00:16:59 +0000 (00:16 +0000)]
Daily bump.

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

15 years ago * config/sh/t-sh (TARGET_LIBGCC2_CFLAGS): Define.
kkojima [Sat, 22 Aug 2009 21:43:07 +0000 (21:43 +0000)]
* config/sh/t-sh (TARGET_LIBGCC2_CFLAGS): Define.
* config/sh/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -mieee.
* config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee.

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

15 years agoCleanups after the update to Autoconf 2.64, Automake 1.11.
rwild [Sat, 22 Aug 2009 13:41:50 +0000 (13:41 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-pdfdir, --with-htmldir switches.
* configure: Regenerate.

gcc/:
* configure.ac: Remove --with-datarootdir, --with-docdir,
--with-htmldir switches.  No need to call AC_SUBST for
datarootdir, docdir, htmldir any more.
* configure: Regenerate.
* doc/install.texi (Configuration): Document --datarootdir,
--docdir, --htmldir, --pdfdir; update documentation for
--infodir, --mandir.
(Prerequisites): Bump Autoconf version to 2.64, Automake to
1.11, M4 to 1.4.6.

libgfortran/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libjava/classpath/:
* doc/cp-hacking.texinfo (Needed Tools and Libraries): Bump
Autoconf version to 2.64, Automake to 1.11, M4 to 1.4.6.

libjava/:
* HACKING: Use aclocal-1.11 and autoconf-2.64 in example.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libstdc++-v3/:
* doc/xml/manual/build_hacking.xml: Use tools from Autoconf
2.64 and Automake 1.11 in examples; update link to Autoconf
manual page about quadrigraphs.
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libssp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

boehm-gc/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libmudflap/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

zlib/:
* Makefile.am (install-html, install-pdf, html): Remove.
* Makefile.in: Regenerate.

libffi/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

libgomp/:
* Makefile.am (install-html, install-pdf): Remove.
* Makefile.in: Regenerate.

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

15 years agoRegenerate tree using Autoconf 2.64 and Automake 1.11.
rwild [Sat, 22 Aug 2009 13:22:20 +0000 (13:22 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.

config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

:
* configure: Regenerate.

intl/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

libiberty/:
* config.in: Regenerate.
* configure: Regenerate.

boehm-gc/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/Makefile.in: Regenerate.
* include/gc_config.h.in: Regenerate.

fixincludes/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

gcc/:
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

libgcc/:
* configure: Regenerate.

gnattools/:
* configure: Regenerate.

libada/:
* configure: Regenerate.

libcpp/:
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.

libdecnumber/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.

libffi/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* fficonfig.h.in: Regenerate.
* include/Makefile.in: Regenerate.
* man/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libgfortran/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.

libgomp/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

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

libjava/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* gcj/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* include/config.h.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

libjava/libltdl/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config-h.in: Regenerate.
* configure: Regenerate.

libmudflap/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.in: Regenerate.

libobjc/:
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.

libssp/:
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.

libstdc++-v3/:
* Makefile.in: Regenerate.
* acinclude.m4: Regenerate.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
* include/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
* po/Makefile.in: Regenerate.
* python/Makefile.in: Regenerate.
* src/Makefile.in: Regenerate.
* testsuite/Makefile.in: Regenerate.

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

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

15 years agoLIBTOOLFLAGS, and *_LINK fixes for Automake 1.11
rwild [Sat, 22 Aug 2009 12:43:24 +0000 (12:43 +0000)]
LIBTOOLFLAGS, and *_LINK fixes for Automake 1.11

boehm-gc/:
* Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.

libgfortran/:
* Makefile.am (libgfortran_la_LINK): Add $(libgfortran_la_LDFLAGS).
* Makefile.in: Regenerate.

libjava/:
* Makefile.am (libgcj_la_LINK, libgcj_tools_la_LINK)
(lib_gnu_awt_xlib_la_LINK, libgcj_bc_la_LINK, jv_convert_LINK)
(gcj_dbtool_LINK, gc_analyze_LINK, gij_LINK, ecjx_LINK)
(gappletviewer_LINK, gjarsigner_LINK, gkeytool_LINK)
(gjar_LINK, gjavah_LINK, gcjh_LINK, gnative2ascii_LINK)
(gorbd_LINK, grmid_LINK, gserialver_LINK, gtnameserv_LINK)
(grmic_LINK, grmiregistry_LINK, gjdoc_LINK): Add $(gjdoc_LDFLAGS).
(GCJLINK, LIBLINK, CXXLINK): Add $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.

libstdc++-v3/:
* libsupc++/Makefile.am (LTCOMPILE, LTCXXCOMPILE, CXXLINK): Add
$(LIBTOOLFLAGS).
* libsupc++/Makefile.in: Regenerate.
* src/Makefile.am (LTCXXCOMPILE, CXXLINK): Add $(AM_LIBTOOLFLAGS)
and $(LIBTOOLFLAGS).
* src/Makefile.in: Regenerate.

libgomp/:
* Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS).
* Makefile.in: Regenerate.

libobjc/:
* Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).

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

15 years agoUpdate automake-provided files in the toplevel.
rwild [Sat, 22 Aug 2009 11:47:16 +0000 (11:47 +0000)]
Update automake-provided files in the toplevel.

/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.

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

15 years ago2009-08-22 Aurelien Jarno <aurelien@aurel32.net>
guerby [Sat, 22 Aug 2009 11:39:45 +0000 (11:39 +0000)]
2009-08-22  Aurelien Jarno  <aurelien@aurel32.net>

* gcc-interface/Makefile.in: Add Ada support for
GNU/kFreeBSD x86_64.
* system-freebsd-x86_64.ads: New file based on
system-freebsd-x86.ads.

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

15 years ago * config/ia64/ia64.c: Include libfuncs.h.
rupp [Sat, 22 Aug 2009 02:50:30 +0000 (02:50 +0000)]
* config/ia64/ia64.c: Include libfuncs.h.
(TARGET_PROMOTE_FUNCITON_MODE): Define target macro.
(ia64_expand_call): Use reg 25 on VMS.
(ia64_initialize_trampoline): Fix for VMS ABI.
(ia64_function_arg_offset): Always returns 0 when TARGET_ABI_OPEN_VMS.
(ia64_function_arg): Initialize reg 25 on VMS.
Fix OpenVMS ABI issues for varargs.
For OpenVMS, emit the Argument Information register set in the
incoming/sibcall case as well.
(ia64_arg_type): New function.
(ia64_function_arg_advance): Keep track of cum->words.
Fix OpenVMS ABI issues for varargs.
(ia64_function_value): On VMS, promote mode of non-aggregate types.
(ia64_override_options): Set flag_no_common on VMS.
(ia64_init_builtins): Disable FWRITE builtin.
(ia64_asm_output_external): Call DO_CRTL_NAMES.
(ia64_vms_init_libfuncs): Add decc$ routines.
(ia64_vms_valid_pointer_mode): New function.
(ia64_struct_value_rtx): Allways NULL_RTX on VMS.
(ia64_promote_function_mode): New function
* config/ia64/ia64.h (TARGET_ABI_OPEN_VMS): Define as 0 for default.
(LONG_DOUBLE_TYPE_SIZE): Force to 64 on VMS.
(LIBCGC2_LONG_DOUBLE_TYPE_SIZE): Likewise.
(INIT_CUMULATIVE_ARGS): Add atypes for VMS.
(INIT_CUMULATIVE_INCOMING_ARGS): Likewise.
(ASM_OUTPUT_DEF): Use ISDIGIT instead of isdigit.
Suppress trailing '#' if VALUE is numeric.
* config/ia64/vms.h (PROMOTE_FUNCTION_MODE): Remove, code moved to
ia64_promote_function_mode.
(TARGET_VALID_POINTER_MODE): Define.

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

15 years agoDaily bump.
gccadmin [Sat, 22 Aug 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

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

15 years agoFix typo in ChangeLog
meissner [Fri, 21 Aug 2009 23:56:20 +0000 (23:56 +0000)]
Fix typo in ChangeLog

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

15 years agoFix 40671, 41145
meissner [Fri, 21 Aug 2009 23:14:32 +0000 (23:14 +0000)]
Fix 40671, 41145

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

15 years ago * lib/target-supports.exp
macro [Fri, 21 Aug 2009 22:13:56 +0000 (22:13 +0000)]
* lib/target-supports.exp
(check_effective_target_arm_iwmmxt_ok): New procedure.
* gcc.target/arm/mmx-1.c: Only run if arm_iwmmxt_ok.  Remove the
exclusions for -mfloat-abi=softfp and -mfloat-abi=hard.

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

15 years ago * config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
jakub [Fri, 21 Aug 2009 18:39:58 +0000 (18:39 +0000)]
* config/rs6000/rs6000.c (rs6000_init_builtins): Fix type of
__vector double TYPE_DECL.

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

15 years ago * gfortran.dg/boz_9.f90: Do not generate denormal floating
uros [Fri, 21 Aug 2009 17:15:58 +0000 (17:15 +0000)]
* gfortran.dg/boz_9.f90: Do not generate denormal floating
point numbers.  Remove -mieee option for alpha*-*-* targets.

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

15 years ago * arm.h (MACHMODE): New define. Include insn-modes.h if available.
rearnsha [Fri, 21 Aug 2009 16:13:37 +0000 (16:13 +0000)]
* arm.h (MACHMODE): New define.  Include insn-modes.h if available.
(CUMULATIVE_ARGS): Use MACHMODE for declaration of aapcs_vfp_mode.
* arm.c (aapcs_vfp_is_call_or_return_candidate): Change base_mode
to pointer to enum machine_mode.  Update all callers as needed.

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

15 years ago2009-08-21 Janus Weil <janus@gcc.gnu.org>
janus [Fri, 21 Aug 2009 09:43:04 +0000 (09:43 +0000)]
2009-08-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41106
* primary.c (gfc_variable_attr): Make it work also on EXPR_FUNCTION.
(gfc_expr_attr): Use gfc_variable_attr for procedure pointer components.
* resolve.c (resolve_fl_derived): Handle CHARACTER-valued procedure
pointer components.
* trans-expr.c (gfc_conv_component_ref): Ditto.
(gfc_conv_variable): Ditto.
(gfc_conv_procedure_call): Ditto.
(gfc_trans_pointer_assignment): Ditto.
* trans-types.c (gfc_get_derived_type): Ditto.

2009-08-21  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41106
* gfortran.dg/proc_ptr_23.f90: New.
* gfortran.dg/proc_ptr_comp_15.f90: New.
* gfortran.dg/proc_ptr_comp_16.f90: New.
* gfortran.dg/proc_ptr_comp_17.f90: New.

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

15 years ago PR c++/41131
jakub [Fri, 21 Aug 2009 07:08:15 +0000 (07:08 +0000)]
PR c++/41131
* tree.c (lvalue_p_1) <case CONST_DECL>: Return clk_none if
not TREE_STATIC.

* g++.dg/expr/unary3.C: New test.

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

15 years ago * config/alpha/alpha.md (exception_receiver): Emit alternative
uros [Fri, 21 Aug 2009 06:01:23 +0000 (06:01 +0000)]
* config/alpha/alpha.md (exception_receiver): Emit alternative
GP load sequence if flag_reorder_blocks_and_partition is set.
(*exception_receiver_2): Also enable when
flag_reorder_blocks_and_partition is set.

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

15 years ago * gfortran.dg/common_5.f: Add -mdalign for sh.
kkojima [Fri, 21 Aug 2009 03:27:21 +0000 (03:27 +0000)]
* gfortran.dg/common_5.f: Add -mdalign for sh.
* gfortran.dg/common_align_2.f90: Likewise.

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

15 years agoDaily bump.
gccadmin [Fri, 21 Aug 2009 00:17:11 +0000 (00:17 +0000)]
Daily bump.

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

15 years ago2009-08-20 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 20 Aug 2009 21:45:46 +0000 (21:45 +0000)]
2009-08-20  Paolo Carlini  <paolo.carlini@oracle.com>

* testsuite/30_threads/packaged_task/requirements/typedefs.cc: Add
missing dg-require directives.

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

15 years ago2009-08-20 Thomas Koenig <tkoenig@gcc.gnu.org>
tkoenig [Thu, 20 Aug 2009 20:16:15 +0000 (20:16 +0000)]
2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40962
* iso_c_binding.c (c_f_pointer_u0):  Multiply stride by
previous stride.

2009-08-20  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/40962
* c_f_pointer_tests_4.f90:  New test.

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

15 years ago* trans-stmt.c (gfc_trans_do): Add a few missing folds.
tobi [Thu, 20 Aug 2009 18:47:51 +0000 (18:47 +0000)]
* trans-stmt.c (gfc_trans_do): Add a few missing folds.

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