- 16 May, 2011 13 commits
-
-
PR preprocessor/48677 * cppspec.c (lang_specific_driver): Set new_decoded_options[0] from decoded_options[0], not from itself. From-SVN: r173801
Joseph Myers committed -
From-SVN: r173800
Uros Bizjak committed -
2011-05-16 Paolo Carlini <paolo.carlini@oracle.com> * include/std/utility: Simplify the last commit, the whole std::get code is C++0x only. From-SVN: r173799
Paolo Carlini committed -
2011-05-16 Paolo Carlini <paolo.carlini@oracle.com> * include/std/utility (get(std::pair<>&&)): Add. * include/bits/stl_pair.h (pair::swap(pair&), swap(pair<>&, pair<>&)): Use noexcept. * include/bits/random.h (discard_block_engine<>::base, independent_bits_engine<>::base, shuffle_order_engine<>::base, random_device::entropy): Use noexcept. * include/std/array: Use noexcept where appropriate. (get(array<>&&)): Add. * testsuite/23_containers/array/requirements/get.cc: New. * testsuite/20_util/pair/get.cc: Likewise. * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Tweak dg-error line number. From-SVN: r173798
Paolo Carlini committed -
* config/i386/constraints.md (z): New constraint. * config/i386/i386.c (c): New mode attribute. (*call): Merge insn pattern from *call_0, *call_1, *call_1_rex64 and *call_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" constraint for operand 0. (*call_vzeroupper): Ditto. (*call_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. (*call_rex64_ms_sysv_vzeroupper): Ditto. (*call_pop): Merge insn pattern from *call_pop_0 and *call_pop_1. Use "lzm" constraint for operand 0. (*call_pop_vzeroupper): Ditto. (*sibcall): Merge insn pattern from *sibcall_0, *sibcall_1 and *sibcall_1_rex64 patterns using "P" mode iterator. Use "Uz" constraint for operand 0. (*sibcall_vzeroupper): Ditto. (*sibcall_rex64_ms_sysv): Ditto. (*sibcall_rex64_ms_sysv_vzeroupper): Ditto. (*sibcall_pop): Merge insn pattern from *sibcall_pop_0 and *sibcall_pop_1. Use "Uz" constraint for operand 0. (*sibcall_pop_vzeroupper): Ditto. (*call_value): Merge insn pattern from *call_value_0, *call_value_1, *call_value_1_rex64 and *call_value_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" constraint for operand 1. (*call_value_vzeroupper): Ditto. (*call_value_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. (*call_value_rex64_ms_sysv_vzeroupper): Ditto. (*call_value_pop): Merge insn pattern from *call_value_pop_0 and *call_value_pop_1. Use "lzm" constraint for operand 1. (*call_value_pop_vzeroupper): Ditto. (*sibcall_value): Merge insn pattern from *sibcall_value_0, *sibcall_value_1 and *sibcall_value_1_rex64 patterns using "P" mode iterator. Use "Uz" constraint for operand 1. (*sibcall_value_vzeroupper): Ditto. (*sibcall_value_rex64_ms_sysv): Ditto. (*sibcall_value_rex64_ms_sysv_vzeroupper): Ditto. (*sibcall_value_pop): Rename from *sibcall_pop_1. Use "Uz" constraint for operand 1. (*sibcall_value_pop_vzeroupper): Ditto. (*tls_global_dynamic_64): Use constant_call_address_operand predicate and "z" constraint for operand 2. (*tls_global_dynamic_32_gnu): Ditto. (*tls_local_dynamic_base_32_gnu): Ditto. (*tls_local_dynamic_base_64): Ditto. (*tls_local_dynamic_32_once): Ditto. * config/i386/i386.c (ix86_output_call_insn): Remove int_addr argument. Update all callers. * config/i386/i386-protos.h (ix86_output_call_insn): Update prototype. testsuite/ChangeLog: 2011-05-16 Uros Bizjak <ubizjak@gmail.com> * gcc.target/i386/avx-vzeroupper-16.c: Update scan-assembler-times scan pattern. * gcc.target/i386/avx-vzeroupper-17.c: Ditto. * gcc.target/i386/avx-vzeroupper-18.c: Ditto. From-SVN: r173797
Uros Bizjak committed -
2011-05-16 Richard Guenther <rguenther@suse.de> * gimple.c (gimple_types_compatible_p_1): Use names of the type itself, not its main variant. (iterative_hash_gimple_type): Likewise. From-SVN: r173795
Richard Guenther committed -
gimple.c (iterative_hash_gimple_type): Re-instantiate change to always visit pointer target and function result and... 2011-05-16 Richard Guenther <rguenther@suse.de> * gimple.c (iterative_hash_gimple_type): Re-instantiate change to always visit pointer target and function result and argument types. From-SVN: r173794
Richard Guenther committed -
PR c++/48999 * tree-inline.c (copy_statement_list): Put back recursion. From-SVN: r173793
Jason Merrill committed -
PR target/27663 PR target/41076 * config/avr/predicates.md (const_8_16_24_operand): New predicate. * config/avr/avr.md ("*ior<mode>qi.byte0", "*ior<mode>qi.byte1-3"): New define_insn_and_split patterns. From-SVN: r173792
Georg-Johann Lay committed -
PR target/45099 * config/avr/avr.c (avr_function_arg_advance): Error if a fixed register is needed for a function argument. From-SVN: r173791
Georg-Johann Lay committed -
2011-05-16 Richard Guenther <rguenther@suse.de> * gimple.c (struct type_hash_pair): New type. (type_hash_pair_compare): New function. (iterative_hash_gimple_type): Mix in SCC member hashes in hash-order. From-SVN: r173790
Richard Guenther committed -
From-SVN: r173786
Revital Eres committed -
From-SVN: r173785
GCC Administrator committed
-
- 15 May, 2011 9 commits
-
-
/c-family 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com> * c-common.c (c_common_reswords): Reorder. * c-common.h (rid): Likewise. /cp 2011-05-15 Paolo Carlini <paolo.carlini@oracle.com> * cxx-pretty-print.c: Update comment. * semantics.c (trait_expr_value, finish_trait_expr): Reorder the cases. * parser.c (cp_parser_primary_expression): Likewise. From-SVN: r173780
Paolo Carlini committed -
PR c++/48994 * parser.c (cp_parser_perform_range_for_lookup): Call complete_type. From-SVN: r173778
Jonathan Wakely committed -
* config/i386/i386.md (floating point move splitters): Fix usage of standard_80387_constant_p. (ix86_preferred_reload_class): Ditto. From-SVN: r173775
Uros Bizjak committed -
2011-05-15 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/c++config (_GLIBCXX_NOEXCEPT, _GLIBCXX_USE_NOEXCEPT): Add. * include/std/limits: Use the latter everywhere. (numeric_limits<char16_t>, numeric_limits<char32_t>): Simplify macro usages, the specializations exist only in C++0x mode. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust dg-error line number. From-SVN: r173774
Paolo Carlini committed -
* config/i386/i386.md (*movdf_internal): Simplify insn condition. From-SVN: r173773
Uros Bizjak committed -
2011-05-15 Tobias Burnus <burnus@net-b.de> PR fortran/18918 actual argument is not an array; rank mismatch is diagnosted later. * trans-decl.c (gfc_get_symbol_decl, gfc_trans_deferred_vars): * Handle scalar coarrays. * trans-types.c (gfc_get_array_type_bounds): Ditto. 2011-05-15 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.dg/coarray/image_index_2.f90: New. From-SVN: r173772
Tobias Burnus committed -
PR middle-end/46500 gcc/fortran: * trans-types.c: Include "tm.h". [0] (c_size_t_size): Remove. From-SVN: r173771
Joern Rennecke committed -
From-SVN: r173770
Janne Blomqvist committed -
From-SVN: r173768
GCC Administrator committed
-
- 14 May, 2011 15 commits
-
-
* tree-ssa-loop-im.c (SET_ALWAYS_EXECUTED_IN): New macro. (fill_always_executed_in): Use [SET_]ALWAYS_EXECUTED_IN. (tree_ssa_lim_finalize): Likewise. From-SVN: r173762
Eric Botcazou committed -
* class.c (check_bases): Diagnose derivation from a final class. * cp-tree.h (lang_type_class): Add is_final and adjust dummy. (CLASSTYPE_FINAL): New. * parser.c (cp_parser_class_head): Parse class-virt-specifier, set CLASSTYPE_FINAL. * pt.c (instantiate_class_template_1): Copy CLASSTYPE_FINAL. From-SVN: r173761
Ville Voutilainen committed -
2011-05-14 Tobias Burnus <burnus@net-b.de> * lang.opt (fdump-core): Re-add as ignored option for backward compatibility. 2011-05-14 Tobias Burnus <burnus@net-b.de> * runtime/stop.c (error_stop_string, error_stop_numeric): Do not backtrace for ERROR STOP. From-SVN: r173760
Tobias Burnus committed -
From-SVN: r173758
Joseph Myers committed -
* config/i386/constraint.md (Yd, Yx): New register constraints. * config/i386/i386.md (*pushdf): Merge with *pushdf_nointeger. Use Yd conditional register constraint. (*movtf_internal): Use standard_sse_constant_opcode. (*movxf_internal): Merge with *movxf_internal_nointeger. Use Yx conditional register constraint. (*movdf_internal): Merge with *movdf_internal_nointeger. Use Yd conditional register constraint. Use standard_sse_constant_p to check for valid SSE constants and call standard_sse_constant_opcode to output SSE insn. (*movsf_internal): Use standard_sse_constant_p to check for valid SSE constants and call standard_sse_constant_opcode to output SSE insn. * config/i386/i386.c (ix86_option_ovverride_internal): Set TARGET_INTEGER_DFMODE_MOVES for 64bit targets. Clear it when optimize_size is set. (standard_sse_constant_opcode): Output conditional AVX insn templates. From-SVN: r173757
Uros Bizjak committed -
From-SVN: r173756
Eric Botcazou committed -
2011-05-14 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * interface.c (compare_parameter): Skip diagnostic if actual argument is not an array; rank mismatch is diagnosted later. 2011-05-14 Tobias Burnus <burnus@net-b.de> PR fortran/18918 * gfortran.de/coarray_20.f90: New. From-SVN: r173755
Tobias Burnus committed -
From-SVN: r173754
Janne Blomqvist committed -
From-SVN: r173753
Janne Blomqvist committed -
2011-05-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/22572 * frontend-passes.c (cfe_register_funcs): Also register functions for potential elimination if the rank is > 0, the shape is unknown and reallocate on assignment is active. (create_var): For rank > 0 functions with unknown shape, create an allocatable temporary. 2011-05-14 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/22572 * function_optimize_7.f90: New test case. From-SVN: r173752
Thomas Koenig committed -
2011-05-14 Tobias Burnus <burnus@net-b.de> * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. 2011-05-14 Tobias Burnus <burnus@net-b.de> * options.c (gfc_init_options, gfc_post_options): Enable -fstack-arrays by default if -Ofast is used. * invoke.texi (-fstack-arrays): Document this. From-SVN: r173751
Tobias Burnus committed -
From-SVN: r173750
Janne Blomqvist committed -
From-SVN: r173749
Janne Blomqvist committed -
2011-05-14 Tobias Burnus <burnus@net-b.de> PR fortran/48961 * intrinsics/execute_command_line.c (set_cmdstat): Don't abort if synchronously executing with WAIT=.false. (execute_command_line): Fix setting of cmdstat and exitstat. From-SVN: r173748
Tobias Burnus committed -
From-SVN: r173747
GCC Administrator committed
-
- 13 May, 2011 3 commits
-
-
* go-gcc.cc (Gcc_backend::function_type): When building a struct for multiple results, check that all fields types have a size. (Gcc_backend::placeholder_pointer_type): Permit name to be empty. From-SVN: r173742
Ian Lance Taylor committed -
PR c++/48969 * pt.c (deduction_tsubst_fntype): New. (fn_type_unification): Use it. From-SVN: r173741
Jason Merrill committed -
* call.c (build_op_call): Use timevar_cond_start/stop. (build_user_type_conversion): Likewise. From-SVN: r173740
Jason Merrill committed
-