- 03 Jun, 2014 9 commits
-
-
2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com> * MAINTAINERS (Write After Approval): Add myself. From-SVN: r211167
Andrew Bennett committed -
2014-06-03 Thomas Preud'homme <thomas.preudhomme@arm.com> PR tree-optimization/61328 * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number initialization from find_bswap_or_nop_1. (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored in source_expr2 before using the size value the function sets. Also make use of init_symbolic_number () in both the old place and find_bswap_or_nop_load () to avoid reading uninitialized memory when doing recursion in the GIMPLE_BINARY_RHS case. From-SVN: r211166
Thomas Preud'homme committed -
2014-06-03 Richard Biener <rguenther@suse.de> PR tree-optimization/61383 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure stmts can't trap. * gcc.dg/torture/pr61383-1.c: New testcase. From-SVN: r211163
Richard Biener committed -
* defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT) (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN) (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P) (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions in this file. (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P) (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to... * system.h: ...here and make it unconditional. * target.def (conditional_register_usage): Mention define_register_constraint instead of old-style constraint macros. * doc/tm.texi.in: Remove documentation for old-style constraint macros. * doc/tm.texi: Regenerate. * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code protected by !USE_MD_CONSTRAINTS. * config/frv/frv.md: Remove quote from old version of documentation. * config/frv/frv.c (frv_conditional_register_usage): Likewise. * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning CONST_DOUBLE_OK_FOR_LETTER. * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT. From-SVN: r211161
Richard Sandiford committed -
PR c++/61046 * decl.c (reshape_init_class): Handle un-folded constant-expressions. From-SVN: r211160
Jason Merrill committed -
PR c++/61134 * pt.c (pack_deducible_p): Handle canonicalization. From-SVN: r211159
Jason Merrill committed -
2014-06-02 Paolo Carlini <paolo.carlini@oracle.com> * pt.c (tsubst_function_type): Initialize arg_types. From-SVN: r211158
Paolo Carlini committed -
From-SVN: r211157
GCC Administrator committed -
From-SVN: r211153
Andrew Pinski committed
-
- 02 Jun, 2014 21 commits
-
-
From-SVN: r211152
Andreas Schwab committed -
re PR debug/57519 (DW_TAG_imported_declaration put in wrong class (base class instead of derived class)) PR debug/57519 * class.c (handle_using_decl): Pass the correct scope to cp_emit_debug_info_for_using. From-SVN: r211151
Siva Chandra Reddy committed -
2014-06-02 Andrew Pinski <apinski@cavium.com> * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): /lib/ld-linux32-aarch64.so.1 is used for ILP32. (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32. file whose name depends on -mabi= and -mbig-endian. * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES): Handle LP64 better and handle ilp32 too. (MULTILIB_OPTIONS): Delete. (MULTILIB_DIRNAMES): Delete. From-SVN: r211148
Andrew Pinski committed -
PR c++/59483 PR c++/61148 * search.c (accessible_p): Use current_nonlambda_class_type. * semantics.c (check_accessibility_of_qualified_id): Likewise. From-SVN: r211147
Ville Voutilainen committed -
* expr.h: Remove prototypes of functions defined in builtins.c. * tree.h: (build_call_expr_*, build_string_literal): Add prototypes. Remove prototypes of functions defined in builtins.c. * builtins.h: Update prototype list to include all exported functions. * builtins.c: (default_libc_has_function, gnu_libc_has_function, no_c99_libc_has_function): Move to targhooks.c (build_string_literal, build_call_expr_loc_array, build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move to tree.c. (expand_builtin_object_size, fold_builtin_object_size): Make static. * targhooks.c (default_libc_has_function, gnu_libc_has_function, no_c99_libc_has_function): Relocate from builtins.c. * tree.c: Include builtins.h. (build_call_expr_loc_array, build_call_expr_loc_vec, build_call_expr_loc, build_call_expr, build_string_literal): Relocate from builtins.c. * fold-const.h (fold_fma): Move prototype to builtins.h. * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h. * fortran/trans.c (trans_runtime_error_vararg): Call fold_build_call_array_loc instead of fold_builtin_call_array. * asan.c: Include builtins.h. * cfgexpand.c: Likewise. * convert.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * gimple-fold.c: Likewise. * gimple-ssa-strength-reduction.c: Likewise. * gimplify.c: Likewise. * ipa-inline.c: Likewise. * ipa-prop.c: Likewise. * lto-streamer-out.c: Likewise. * stmt.c: Likewise. * tree-inline.c: Likewise. * tree-object-size.c: Likewise. * tree-sra.c: Likewise. * tree-ssa-ccp.c: Likewise. * tree-ssa-forwprop.c: Likewise. * tree-ssa-loop-ivcanon.c: Likewise. * tree-ssa-loop-ivopts.c: Likewise. * tree-ssa-math-opts.c: Likewise. * tree-ssa-reassoc.c: Likewise. * tree-ssa-threadedge.c: Likewise. * tree-streamer-in.c: Likewise. * tree-vect-data-refs.c: Likewise. * tree-vect-patterns.c: Likewise. * tree-vect-stmts.c: Likewise. c * c-decl.c: Include builtins.h. * c-parser.c: Likewise. cp * decl.c: Include builtins.h. * semantics.c: Likewise. go * go-gcc.cc: Include builtins.h. lto * lto-symtab.c: Include builtins.h. config * aarch64/aarch64.c: Include builtins.h. * alpha/alpha.c: Likewise. * arc/arc.c: Likewise. * arm/arm.c: Likewise. * avr/avr.c: Likewise. * bfin/bfin.c: Likewise. * c6x/c6x.c: Likewise. * cr16/cr16.c: Likewise. * cris/cris.c: Likewise. * epiphany/epiphany.c: Likewise. * fr30/fr30.c: Likewise. * frv/frv.c: Likewise. * h8300/h8300.c: Likewise. * i386/i386.c: Likewise. * i386/winnt.c: Likewise. * ia64/ia64.c: Likewise. * iq2000/iq2000.c: Likewise. * lm32/lm32.c: Likewise. * m32c/m32c.c: Likewise. * m32r/m32r.c: Likewise. * m68k/m68k.c: Likewise. * mcore/mcore.c: Likewise. * mep/mep.c: Likewise. * microblaze/microblaze.c: Likewise. * mips/mips.c: Likewise. * mmix/mmix.c: Likewise. * mn10300/mn10300.c: Likewise. * moxie/moxie.c: Likewise. * msp430/msp430.c: Likewise. * nds32/nds32.c: Likewise. * pa/pa.c: Likewise. * pdp11/pdp11.c: Likewise. * picochip/picochip.c: Likewise. * rl78/rl78.c: Likewise. * rs6000/rs6000.c: Likewise. * rx/rx.c: Likewise. * s390/s390.c: Likewise. * score/score.c: Likewise. * sh/sh.c: Likewise. * sparc/sparc.c: Likewise. * spu/spu.c: Likewise. * stormy16/stormy16.c: Likewise. * tilegx/tilegx.c: Likewise. * tilepro/tilepro.c: Likewise. * v850/v850.c: Likewise. * vax/vax.c: Likewise. * xtensa/xtensa.c: Likewise. From-SVN: r211145
Andrew MacLeod committed -
regex_compiler.h (__detail::_BracketMatcher): Reorder members to avoid wasted space when not using a cache. * include/bits/regex_compiler.h (__detail::_BracketMatcher): Reorder members to avoid wasted space when not using a cache. (__detail::_BracketMatcher::_M_ready()): Sort and deduplicate set. * include/bits/regex_compiler.tcc (__detail::_BracketMatcher::_M_apply(_CharT, false_type)): Use binary search on set. * include/bits/regex_executor.h (__detail::_Executor::_Match_mode): New enumeration type to indicate match mode. (__detail::_Executor::_State_info): New type holding members only needed in BFS-mode. Replace unique_ptr<vector<bool>> with unique_ptr<bool[]>. (__detail::_Executor::_M_rep_once_more, __detail::_Executor::_M_dfs): Replace template parameter with run-time function parameter. (__detail::_Executor::_M_main): Likewise. Dispatch to ... (__detail::_Executor::_M_main_dispatch): New overloaded functions to implement DFS and BFS mode. * include/bits/regex_executor.tcc (__detail::_Executor::_M_main): Split implementation into ... (__detail::_Executor::_M_main_dispatch): New overloaded functions. (__detail::_Executor::_M_lookahead): Create nested executor on stack. (__detail::_Executor::_M_rep_once_more): Pass match mode as function argument instead of template argument. (__detail::_Executor::_M_dfs): Likewise. * include/bits/regex_scanner.tcc: Fix typos in comments. * testsuite/performance/28_regex/range.cc: New. From-SVN: r211143
Jonathan Wakely committed -
re PR rtl-optimization/61094 (-O3 insn Internal compiler error in copyprop_hardreg_forward_1, at regcprop.c:775) PR rtl-optimization/61094 * ree.c (combine_reaching_defs): Do not reextend an insn if it was marked as do_no_reextend. If a copy is needed to eliminate an extension, then mark it as do_not_reextend. PR rtl-optimization/61094 * g++.dg/pr61094: New test. From-SVN: r211142
Jeff Law committed -
From-SVN: r211140
Marcus Shawcroft committed -
PR target/61336 * config/alpha/alpha.c (print_operand_address): Allow symbolic addresses inside asms. Use output_operand_lossage instead of gcc_unreachable. From-SVN: r211139
Richard Henderson committed -
* include/std/condition_variable (condition_variable_any::_Unlock): Do not swallow __forced_unwind. * include/std/future (__future_base::_Task_setter): Likewise. (__future_base::_Async_state_impl): Turn __forced_unwind into broken promise and rethrow. * include/std/mutex (try_lock): Likewise. * testsuite/30_threads/async/forced_unwind.cc: New. * testsuite/30_threads/packaged_task/forced_unwind.cc: New. From-SVN: r211138
Jonathan Wakely committed -
2014-06-02 Rüdiger Sonderfeld <ruediger@c-plusplus.de> Jonathan Wakely <jwakely@redhat.com> * libstdc++-v3/include/std/type_traits (__strictest_alignment): New helper struct. (aligned_union): New struct (C++11). (aligned_union_t): New type alias (C++14). * doc/xml/manual/status_cxx2011.xml: Update. * libstdc++-v3/testsuite/20_util/aligned_union/1.cc: New file. * testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error line number. Co-Authored-By: Jonathan Wakely <jwakely@redhat.com> From-SVN: r211137
Rüdiger Sonderfeld committed -
* gcc.target/i386/xop-rotate1-vector.c (dg-options): Add -mno-avx2. * gcc.target/i386/xop-rotate2-vector.c (dg-options): Ditto. * gcc.target/i386/xop-rotate3-vector.c (dg-options): Ditto. * gcc.target/i386/xop-imul32widen-vector.c (dg-options): Ditto. * gcc.target/i386/xop-imul64-vector.c (dg-options): Ditto. * gcc.target/i386/xop-shift1-vector.c (dg-options): Ditto. * gcc.target/i386/xop-shift2-vector.c (dg-options): Ditto. * gcc.target/i386/xop-shift3-vector.c (dg-options): Ditto. From-SVN: r211136
Uros Bizjak committed -
PR target/61239 * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant. From-SVN: r211134
Uros Bizjak committed -
2014-06-02 Tom de Vries <tom@codesourcery.com> * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle case that x has VOIDmode. From-SVN: r211132
Tom de Vries committed -
* trans-decl.c (gfc_build_builtin_function_decls): Correct number of arguments to caf_init. From-SVN: r211131
Bernd Schmidt committed -
* varasm.c (copy_constant): Delete function. (build_constant_desc): Don't call it. From-SVN: r211130
Bernd Schmidt committed -
Fix PR target/61154 2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> PR target/61154 * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define. * config/arm/arm.md (mov64 splitter): Replace const_double_operand with immediate_operand. From-SVN: r211129
Ramana Radhakrishnan committed -
2014-06-02 Richard Biener <rguenther@suse.de> PR tree-optimization/61346 * gcc.dg/torture/pr61346.c: New testcase. From-SVN: r211128
Richard Biener committed -
(ia64_first_cycle_multipass_dfa_lookahead_guard): Check pending_data_specs first. From-SVN: r211127
Andreas Schwab committed -
2014-06-02 Richard Biener <rguenther@suse.de> PR tree-optimization/61378 * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize valueized_anything. From-SVN: r211126
Richard Biener committed -
From-SVN: r211125
GCC Administrator committed
-
- 01 Jun, 2014 10 commits
-
-
* include/bits/uses_allocator.h (__uses_allocator_helper): Simplify. (__uses_allocator_arg): Remove unused type. (__uses_alloc0): Turn into a trivial type. (__uses_alloc): Add missing template parameter in primary template. (__uses_alloc_impl): Rename to __uses_alloc_t. From-SVN: r211121
Jonathan Wakely committed -
* gcc.target/i386/sibcall-2.c: Xfail dg-final scan-assembler-not, not compilation. * gcc.target/i386/sibcall-4.c: Ditto. * gcc.target/i386/fuse-caller-save.c: Add -mregparm=1 for ia32 target. From-SVN: r211120
Uros Bizjak committed -
* config/i386/constraints.md (Bw): Rename from 'w'. (Bz): Rename from 'z'. * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally. From-SVN: r211119
Uros Bizjak committed -
* gcc.target/i386/sibcall-2.c (dg-final): Properly escape '[' and ']' in scan-assembler-not string. * gcc.target/i386/sibcall-3.c (dg-final): Ditto. * gcc.target/i386/sibcall-4.c (dg-final): Ditto. * gcc.target/i386/sibcall-6.c (dg-final): Ditto. From-SVN: r211118
Uros Bizjak committed -
From-SVN: r211117
Kai Tietz committed -
2014-06-01 Ray Donnelly <mingw.android@gmail.com> * pex-win32.c (argv_to_cmdline): Don't quote args unnecessarily From-SVN: r211116
Ray Donnelly committed -
* g++.dg/pr60969.C (dg-do compile): Change ilp32 target to ia32. From-SVN: r211114
Uros Bizjak committed -
PR libstdc++/61374 * include/experimental/string_view (operator basic_string): Correct order of arguments. (to_string): Replace with member function. Add inline specifiers. Remove unused header. Remove _S_empty_rep and allow _M_str to be null. * testsuite/experimental/string_view/cons/char/1.cc: Adjust to new default constructor semantics. * testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/copy/char/1.cc: Fix copyright dates. Remove unused header. * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/data/char/1.cc: Fix copyright dates. Adjust to new default constructor semantics. * testsuite/experimental/string_view/operations/data/wchar_t/1.cc: Likewise. * testsuite/experimental/string_view/operations/to_string/1.cc: New. From-SVN: r211113
Jonathan Wakely committed -
PR target/61377 * constrains.md (define_constrain): New 'Bs' constraint. * i386.md (sibcall_insn_operand): Use Bs instead of m constraint. From-SVN: r211112
Kai Tietz committed -
PR target/61377 * gcc.target/i386/sibcall-6.c: New test. From-SVN: r211111
Kai Tietz committed
-