aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-07-03revert: re PR libstdc++/49561 ([C++0x] std::list::size complexity)Paolo Carlini7-87/+50
2012-07-02 Paolo Carlini <paolo.carlini@oracle.com> Revert: 2011-10-04 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/49561 * include/bits/stl_list.h (_List_base<>::_List_impl::_M_size): Add in C++0x mode. (_List_base<>::_List_impl, _List_base<>::_M_get_node, _List_base<>::_M_put_node, _List_base<>::_List_base(_List_base&&), list<>::size, list<>::swap, list<>::splice): Use it. (operator==(const list<>&, const list<>&)): Rewrite in C++0x mode. * include/bits/list.tcc (list<>::erase): Likewise. (list<>::merge): Adjust in C++0x mode. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Adjust dg-error line number. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r189185
2012-07-03Daily bump.GCC Administrator1-1/+1
From-SVN: r189184
2012-07-02re PR target/53568 (SH Target: Add support for bswap built-ins)Oleg Endo2-0/+87
PR target/53568 * gcc.target/sh/pr53568-1.c: New. From-SVN: r189181
2012-07-02re PR target/51244 ([SH] Inefficient conditional branch and code around T bit)Oleg Endo7-107/+98
PR target/51244 * config/sh/predicates.md (t_reg_operand, negt_reg_operand): New predicates. * config/sh/sh-protos.h (get_t_reg_rtx): New prototype. * config/sh/sh.c (get_t_reg_rtx): New function. Use it when invoking gen_branch_true and gen_branch_false. * config/sh/sh.md: Use get_t_reg_rtx when invoking gen_branch_true and gen_branch_false. (branch_true, branch_false): Use t_reg_operand predicate. (*branch_true, *branch_false): Delete. (movt): Use t_reg_operand predicate. (*negnegt): Use negt_reg_operand predicate and fold little and big endian variants. (*movtt): Use t_reg_operand and fold little and big endian variants. (*movt_qi): Delete. PR target/51244 * gcc.target/sh/pr51244-1.c: Check that movt insn is not generated. From-SVN: r189177
2012-07-02re PR c++/53821 ([c++11] multiple definitions of lambda)Jason Merrill4-4/+21
PR c++/53821 * semantics.c (maybe_add_lambda_conv_op): Don't set DECL_INTERFACE_KNOWN. From-SVN: r189175
2012-07-02re PR c++/53524 (Bogus enum comparison warning)Jason Merrill18-54/+90
PR c++/53524 gcc/cp/ * call.c (build_conditional_expr_1): Don't warn about comparison of two enumerators before their enumeration is complete. (build_new_op_1): Call decay_conversion before warn_logical_operator. * decl.c (build_enumerator): Set DECL_CONTEXT of an enumerator to its enumeration. * decl2.c (mark_used): Call used_types_insert for enums. * semantics.c (finish_id_expression): Don't decay CONST_DECL. (finish_member_declaration): Don't change DECL_CONTEXT of enumerators. * class.c (check_field_decls): Don't change DECL_CONTEXT of enums. * typeck.c (convert_for_assignment): Don't decay CONST_DECL. (build_class_member_access_expr): Look through unscoped enums. * search.c (context_for_name_lookup): Look through unscoped enums. * pt.c (tsubst_copy_and_build): Don't decay CONST_DECL. (tsubst_copy): Use DECL_CONTEXT to find the enumeration. * tree.c (decl_linkage): Likewise. * cvt.c (ocp_convert): Check decayed expr for enum range warning. gcc/c-family/ * c-common.c (get_priority): Call default_conversion. From-SVN: r189174
2012-07-02stmt.c (emit_case_bit_tests): Remove.Steven Bosscher6-239/+525
gcc/ * stmt.c (emit_case_bit_tests): Remove. (expand_case): Remove expand_switch_using_bit_tests_p code. * tree-switch-conversion.c (hoist_edge_and_branch_if_true): New. (MAX_CASE_BIT_TESTS): Moved from stmt.c to here. (lshift_cheap_p): Likewise. (expand_switch_using_bit_tests_p): Likewise. (struct case_bit_test): Likewise. (case_bit_test_cmp): Likewise. (emit_case_bit_tests): New implementation for GIMPLE. (gen_inbound_check): Do not release post-dominator info here. (process_switch): Reorder code. Expand as bit tests if it looks like a win. (do_switchconv): Release post-dominator info here if something changed. (struct gimple_opt_pass): Verify more. * tree.h (expand_switch_using_bit_tests_p): Remove prototype. testsuite/ * gcc.dg/tree-ssa/pr36881.c: Fix test case to not expand as bit tests. From-SVN: r189173
2012-07-02fix typo in previous commitJanis Johnson1-1/+1
From-SVN: r189167
2012-07-02MAINTAINERS (Various Mainterers): Add myself as testsuite maintainer.Janis Johnson2-0/+6
* MAINTAINERS (Various Mainterers): Add myself as testsuite maintainer. From-SVN: r189166
2012-07-02re PR middle-end/38474 (compile time explosion in ↵Martin Jambor2-2/+8
dataflow_set_preserve_mem_locs at -O3) 2012-07-02 Martin Jambor <mjambor@suse.cz> PR middle-end/38474 * ipa-prop.c (compute_known_type_jump_func): Put BINFO check before a dynamic type change check. From-SVN: r189163
2012-07-02be.po, [...]: Update.Joseph Myers18-44316/+45150
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po, nl.po, ru.po, sr.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update. From-SVN: r189160
2012-07-02isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.Richard Guenther4-12/+15
2012-07-02 Richard Guenther <rguenther@suse.de> config/ * isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer. Fix version test. * configure: Regenerated. From-SVN: r189159
2012-07-02isl.m4: New file.Richard Biener1-0/+162
2012-07-02 Richard Guenther <rguenther@suse.de> Michael Matz <matz@suse.de> Tobias Grosser <tobias@grosser.es> Sebastian Pop <sebpop@gmail.com> * isl.m4: New file. From-SVN: r189157
2012-07-02cloog.m4: Set up to work against ISL only.Richard Guenther33-5155/+2681
2012-07-02 Richard Guenther <rguenther@suse.de> Michael Matz <matz@suse.de> Tobias Grosser <tobias@grosser.es> Sebastian Pop <sebpop@gmail.com> config/ * cloog.m4: Set up to work against ISL only. * isl.m4: New file. * Makefile.def: Add ISL host module, remove PPL host module. Adjust ClooG host module to use the proper ISL. * Makefile.tpl: Pass ISL include flags instead of PPL ones. * configure.ac: Include config/isl.m4. Add ISL host library, remove PPL. Remove PPL configury, add ISL configury, adjust ClooG configury. * Makefile.in: Regenerated. * configure: Likewise. gcc/ * Makefile.in: Remove PPL flags in favor of ISL ones. (BACKENDLIBS): Remove PPL libs. (INCLUDES): Remove PPL includes in favor of ISL ones. (graphite-clast-to-gimple.o): Remove graphite-dependences.h and graphite-cloog-compat.h dependencies. (graphite-dependences.o): Likewise. (graphite-poly.o): Likewise. * configure.ac: Declare ISL vars instead of PPL ones. * configure: Regenerated. * doc/install.texi: Replace PPL requirement documentation with ISL one. * graphite-blocking.c: Remove PPL code, add ISL equivalent. * graphite-clast-to-gimple.c: Likewise. * graphite-dependences.c: Likewise. * graphite-interchange.c: Likewise. * graphite-poly.h: Likewise. * graphite-poly.c: Likewise. * graphite-sese-to-poly.c: Likewise. * graphite.c: Likewise. * graphite-scop-detection.c: Re-arrange includes. * graphite-cloog-util.c: Remove. * graphite-cloog-util.h: Likewise. * graphite-ppl.h: Likewise. * graphite-ppl.c: Likewise. * graphite-dependences.h: Likewise. libgomp/ * testsuite/libgomp.graphite/force-parallel-4.c: Adjust. * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. Co-Authored-By: Michael Matz <matz@suse.de> Co-Authored-By: Sebastian Pop <sebpop@gmail.com> Co-Authored-By: Tobias Grosser <tobias@grosser.es> From-SVN: r189156
2012-07-02[multiple changes]Richard Guenther13-831/+306
2012-07-02 Richard Guenther <rguenther@suse.de> Merge from graphite branch 2011-07-21 Tobias Grosser <tobias@grosser.es> * configure: Regenerated. * config/cloog.m4: Remove support for CLooG-ppl and CLooG-parma, both cloog.org and legacy versions. The only supported version will be CLooG with the isl backend. 2011-07-21 Tobias Grosser <tobias@grosser.es> * configure: Regenerated. * configure.ac: Require cloog isl 0.17.0 2011-07-21 Tobias Grosser <tobias@grosser.es> * configure: Regenerated. * config/cloog.m4: Do not define CLOOG_ORG gcc/ * Makefile.in (graphite-clast-to-gimple.o, graphite-cloog-util.o): Remove graphite-cloog-util.h. * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop, build_iv_mapping, translate_clast_user, translate_clast, free_scattering, initialize_cloog_names, build_cloog_prog, create_params_index): Do not use old compatibility functions. (clast_name_to_index, set_cloog_options): Remove code for legacy cloog. * graphite-cloog-util.c (openscop_print_cloog_matrix): Do not use old compatibility functions. (new_Cloog_Scattering_from_ppl_Polyhedron): Remove code for legacy cloog. * graphite-cloog-util.h: Remove include of graphite-cloog-util.h. * graphite.c (graphite.c): Do not call outdated cloog_initialize() and cloog_finalize(). * graphite-cloog-compat.h: Remove. 2011-08-09 Tobias Grosser <tobias@grosser.es> gcc/ * graphite-clast-to-gimple.c (new_clast_name_index): Store a copy of the string, no just a reference. (clast_name_index): Add a new field, that specifies if we need to free the name. (free_clast_name_index): If necessary, free the name string. (clast_name_index_elt_info): Calculate the hash based on the string content, not the memory location it is stored in. (clast_name_to_level): Specify that we do not need to free the name. (clast_name_to_index): Dito. (clast_name_to_lb_ub): Dito. (eq_clast_name_indexes): Compare the strings, not their base pointers. (free_scattering): Removed. (initialize_cloog_names): Renamed to add_names_to_union_domain(). (add_names_to_union_domain): Changed to work on a union_domain, instead of a CloogNames structure. (build_cloog_prog): Removed. (build_cloog_union_domain): New. (generate_cloog_input): New. (scop_to_clast): Use CloogInput instead of CloogProgram. (print_generated_program): Adapt to new scop_to_clast() and do not print the CloogProgram any more. (create_params_index): Removed, functionality integrated in add_names_to_union_domain(). (gloog): Adapt to new scop_to_clast(). * graphite-clast-to-gimple.h (scop_to_clast): Remove. 2012-01-11 Tobias Grosser <tobias@grosser.es> * graphite-clast-to-gimple.c (clast_name_to_index, clast_name_to_lb_ub, clast_name_to_gcc): Change types. (clast_to_gcc_expression): Add clast_expr_name as a new case. Do not assume a clast_expr_term points always to a clast_expr_name. (type_for_clast_term): Do not assume a clast_expr_term points always to a clast_expr_name. (type_for_clast_name): New. (type_for_clast_expr): Add clast_expr_name as a new case. 2011-08-03 Sebastian Pop <sebpop@gmail.com> * graphite-cloog-util.c (new_Cloog_Domain_from_ppl_Polyhedron, new_Cloog_Scattering_from_ppl_Polyhedron, new_Cloog_Domain_from_ppl_Pointset_Powerset): Remove ATTRIBUTE_UNUSED. From-SVN: r189155
2012-07-02crontab: Disable snapshots from gcc-4_5-branch.Richard Guenther3-2/+6
2012-07-02 Richard Guenther <rguenther@suse.de> * crontab: Disable snapshots from gcc-4_5-branch. * update_version_svn: Ingore gcc-4_5-branch. From-SVN: r189110
2012-07-02re PR tree-optimization/53645 (Missed optimization for vector integer ↵Jakub Jelinek2-1/+7
division lowering) PR tree-optimization/53645 * tree-vect-generic.c (expand_vector_divmod): Use TYPE_MODE (type) instead of TYPE_MODE (wider_type) as can_vec_perm_p argument. From-SVN: r189108
2012-07-02Daily bump.GCC Administrator1-1/+1
From-SVN: r189106
2012-07-01re PR target/53447 (missed optimization of 64bit ALU operation with small ↵Wei Guozhi12-21/+117
constant) PR target/53447 * config/arm/arm-protos.h (const_ok_for_dimode_op): New prototype. * config/arm/arm.c (const_ok_for_dimode_op): New function. * config/arm/constraints.md (Dd): New constraint. * config/arm/predicates.md (arm_adddi_operand): New predicate. * config/arm/arm.md (adddi3): Extend it to handle constants. (arm_adddi3): Likewise. (addsi3_carryin_<optab>): Extend it to handle sbc case. (addsi3_carryin_alt2_<optab>): Likewise. * config/arm/neon.md (adddi3_neon): Extend it to handle constants. * gcc.target/arm/pr53447-1.c: New testcase. * gcc.target/arm/pr53447-2.c: New testcase. * gcc.target/arm/pr53447-3.c: New testcase. * gcc.target/arm/pr53447-4.c: New testcase. From-SVN: r189102
2012-07-01ChangeLog: Fix whitespace.Uros Bizjak3-57/+54
* ChangeLog: Fix whitespace. * c-family/ChangeLog: Ditto. * testsuite/ChangeLog: Ditto. From-SVN: r189101
2012-07-01c-pch.c (c_common_write_pch): Remove unused variables.Uros Bizjak2-3/+4
* c-pch.c (c_common_write_pch): Remove unused variables. From-SVN: r189100
2012-07-01Daily bump.GCC Administrator1-1/+1
From-SVN: r189099
2012-06-30coverage.c (bbg_file_stamp): New.Nathan Sidwell4-23/+59
* coverage.c (bbg_file_stamp): New. (read_counts_file): Merge incoming stamp with bbg_file_stamp. (build_info): Write bbg_file_stamp. (coverage_init): Initialize bbg_file_stamp. Read counts file before writing graph header. (coverage_finish): Don't unlink the data file if we can generate a unique file stamp. * tree.h (crc32_unsigned): Declare. * tree.c (crc32_unsigned_bits): New, broken out of ... (crc32_byte): ... here. Use it. (crc32_unsigned): New. From-SVN: r189095
2012-06-29dwarf2out.c (add_pubname_string): Don't check for want_pubnames.Cary Coutant2-10/+17
2012-06-29 Cary Coutant <ccoutant@google.com> gcc/ * dwarf2out.c (add_pubname_string): Don't check for want_pubnames. (gen_subprogram_die): Don't add pubname if want_pubnames is false. (gen_variable_die): Likewise. (gen_namespace_die): Likewise. From-SVN: r189094
2012-06-30Daily bump.GCC Administrator1-1/+1
From-SVN: r189093
2012-06-29tree-eh.c (lower_try_finally_switch): Really put the location of the last ↵Eric Botcazou2-3/+7
statement of the finally block onto the switch. * tree-eh.c (lower_try_finally_switch): Really put the location of the last statement of the finally block onto the switch. From-SVN: r189086
2012-06-29Use int for WCHAR_TYPE only for TARGET_LP64H.J. Lu2-0/+9
PR target/53539 * config/i386/gnu-user64.h (WCHAR_TYPE): Use "int" only for TARGET_LP64. From-SVN: r189085
2012-06-29dwarf2out.c (add_pubname): Add comment.Sterling Augustine2-5/+16
2012-06-29 Sterling Augustine <saugustine@google.com> * dwarf2out.c (add_pubname): Add comment. (add_pubtype): Fix indentation. (gen_enumeration_type_die): Likewise. From-SVN: r189084
2012-06-29tree-vect-generic.c (expand_vector_divmod): For even/odd widening multiply, ↵Jakub Jelinek2-21/+24
put even always as first argument to VEC_PERM_EXPR. * tree-vect-generic.c (expand_vector_divmod): For even/odd widening multiply, put even always as first argument to VEC_PERM_EXPR. From-SVN: r189082
2012-06-29Use builtin_widen_mult_even/odd in tree-vect-generic division expansionRichard Henderson3-26/+76
* tree-vect-generic.c: Include target.h. (expand_vector_divmod): Use builtin_mul_widen_even/odd if supported. * Makefile.in (tree-vect-generic.o): Update. From-SVN: r189081
2012-06-29configure.ac: Skip C if explicitly selected.Steven Bosscher40-165/+351
toplevel/ * configure.ac: Skip C if explicitly selected. * configure: Regenerate. gcc/ * configure.ac: Remove special gtfiles case for C. * configure: Regenerate. * Makefile.in: Remove C front-end hooks and build hooks that will be picked up from c/Make-lang.in now. Add tree-mudflap to C_COMMON_OBJS. * gengtype.c (files_rules): Adjust gt-files for c/c-decl.c. * config/vms/vms.c: Look for c-tree.h in c/. * doc/gty.texi: Remove reference to c-config-lang.in. * doc/sourcebuild.texi: Document the c/ subdirectory. c/ * Make-lang.in: New file, rules migrated from gcc/Makefile.in and add language Makefile hooks. * config-lang.in: New file. * c-config-lang.in: Moved from gcc/config-lang.in to here, and add the required "normal" config-lang.in rules. * c-lang.h: Moved from gcc/ to here. * c-tree.h: Likewise. * c-objc-common.c: Likewise. * c-objc-common.h: Likewise. * c-typeck.c: Likewise. * c-convert.c: Likewise. * c-lang.c: Likewise. * c-aux-info.c: Likewise. * c-errors.c: Likewise. * gccspec.c: Likewise. * c-decl.c: Likewise. Include gt-c-c-decl.h, not gt-c-decl.h. * c-parser.c: Likewise. Include gt-c-c-parser.h, not gt-c-parser.h. c-family/ * cppspec.c: Moved from gcc/ to here. objc/ * Make-ang.in: Adjust for move of C front-end files. * config-lang.in: Likewise. * objc-encoding.c: Look for cp-tree.h in cp/, and for c-tree.h and c-lang.h in c/. * objc-runtime-shared-support.c: Likewise. * objc-next-runtime-abi-01.c: Likewise. * objc-next-runtime-abi-02.c: Likewise. * objc-gnu-runtime-abi-01.c: Likewise. * objc-act.c: Likewise. * objc-lang.c: Likewise. cp/ * Make-lang.in: Remove tree-mudflap.o from CXX_AND_OBJCXX_OBJS. From-SVN: r189080
2012-06-29system.h (CASE_USE_BIT_TESTS): Poison.Steven Bosscher5-30/+14
* system.h (CASE_USE_BIT_TESTS): Poison. * stmt.c (CASE_USE_BIT_TESTS): Fold away into its only user ... (expand_switch_using_bit_tests_p): ...here. * doc/tm.texi.in (CASE_USE_BIT_TESTS): Remove documentation. * doc/tm.texi (CASE_USE_BIT_TESTS): Regenerate. From-SVN: r189078
2012-06-29re PR tree-optimization/47061 (VRP doesn't propagate through x<<=1, but it ↵Richard Guenther2-0/+27
does for x*=2) 2012-06-29 Richard Guenther <rguenther@suse.de> PR tree-optimization/47061 * gcc.dg/tree-ssa/vrp71.c: New testcase. From-SVN: r189076
2012-06-29re PR tree-optimization/37541 (VRP fails to optimize single-bit ranges)Richard Guenther2-2/+7
2012-06-29 Richard Guenther <rguenther@suse.de> PR tree-optimization/37541 * gcc.dg/tree-ssa/pr37508.c: Adjust and un-XFAIL. From-SVN: r189075
2012-06-29system.h (IFCVT_EXTRA_FIELDS): Poison.Steven Bosscher9-35/+33
* system.h (IFCVT_EXTRA_FIELDS): Poison. (IFCVT_INIT_EXTRA_FIELDS): Poison. * basic-block.h (struct ce_if_block): Remove IFCVT_EXTRA_FIELDS. * ifcvt.c (find_if_header): Use IFCVT_MACHDEP_INIT instead of IFCVT_INIT_EXTRA_FIELDS. * gengtype-parse.c (struct_field_seq): Remove obsolete comment. * config/frv/frv.h (IFCVT_INIT_EXTRA_FIELDS): Rename to IFCVT_MACHDEP_INIT. * config/frv/frv.c (frv_ifcvt_init_extra_fields): Rename to frv_ifcvt_machdep_init. * doc/tm.texi.in (IFCVT_INIT_EXTRA_FIELDS, IFCVT_EXTRA_FIELDS): Remove documentation. (IFCVT_MACHDEP_INIT): Document. * doc/tm.texi: Regenerate. From-SVN: r189074
2012-06-29re PR tree-optimization/52589 (VRP missed optimization)Richard Guenther2-0/+33
2012-06-29 Richard Guenther <rguenther@suse.de> PR tree-optimization/52589 * gcc.dg/tree-ssa/vrp70.c: New testcase. From-SVN: r189073
2012-06-29copying-lib.texi (Library Copying): Don't use @heading inside @enumerate.Andreas Schwab2-5/+5
* copying-lib.texi (Library Copying): Don't use @heading inside @enumerate. From-SVN: r189072
2012-06-29* config/lm32/lm32.c (lm32_compute_frame_size): Fix typo.Nick Clifton2-1/+5
From-SVN: r189067
2012-06-29tree-vect-stmts.c (vectorizable_operation): Check both ↵Jakub Jelinek2-2/+13
VEC_WIDEN_MULT_LO_EXPR and VEC_WIDEN_MULT_HI_EXPR optabs. * tree-vect-stmts.c (vectorizable_operation): Check both VEC_WIDEN_MULT_LO_EXPR and VEC_WIDEN_MULT_HI_EXPR optabs. Verify that operand[0]'s mode is TYPE_MODE (wide_vectype). From-SVN: r189064
2012-06-29* g++.dg/cpp0x/nullptr19.c: Remove exta directives on same line.Janis Johnson2-2/+4
From-SVN: r189063
2012-06-29error46.C: Add missing comment to dg-message.Janis Johnson6-6/+12
* g++.dg/template/error46.C: Add missing comment to dg-message. * g++.dg/template/crash107.C: Likewise. * g++.dg/template/error47.C: Likewise. * g++.dg/template/crash108.C: Likewise. * g++.dg/overload/operator5.C: Likewise. From-SVN: r189062
2012-06-29Wstrict-aliasing-converted-assigned.c: Fix syntax errors in dg-message ↵Janis Johnson2-3/+10
directives, add comments. * gcc.dg/Wstrict-aliasing-converted-assigned.c: Fix syntax errors in dg-message directives, add comments. From-SVN: r189061
2012-06-29Daily bump.GCC Administrator1-1/+1
From-SVN: r189060
2012-06-28constexpr-52672.C (ul_ptr): Use SIZE_TYPE instead of hard-coded 'unsigned long'.Kai Tietz2-1/+6
* g++.dg/cpp0x/constexpr-52672.C (ul_ptr): Use SIZE_TYPE instead of hard-coded 'unsigned long'. From-SVN: r189056
2012-06-28Document MULT_HIGHPART_EXPRRichard Henderson2-0/+10
From-SVN: r189054
2012-06-28re PR tree-optimization/51581 (Integer division by constant is not vectorized)Jakub Jelinek5-143/+399
PR tree-optimization/51581 * tree-vect-stmts.c (permute_vec_elements): Add forward decl. (vectorizable_operation): Handle vectorization of MULT_HIGHPART_EXPR also using VEC_WIDEN_MULT_*_EXPR or builtin_mul_widen_* plus VEC_PERM_EXPR if vector MULT_HIGHPART_EXPR isn't supported. * tree-vect-patterns.c (vect_recog_divmod_pattern): Use MULT_HIGHPART_EXPR instead of VEC_WIDEN_MULT_*_EXPR and shifts. * gcc.dg/vect/pr51581-4.c: New test. From-SVN: r189053
2012-06-28re PR tree-optimization/53645 (Missed optimization for vector integer ↵Jakub Jelinek4-37/+184
division lowering) PR tree-optimization/53645 * tree-vect-generic.c (expand_vector_divmod): Use MULT_HIGHPART_EXPR instead of VEC_WIDEN_MULT_{HI,LO}_EXPR followed by VEC_PERM_EXPR if possible. * gcc.c-torture/execute/pr53645-2.c: New test. From-SVN: r189052
2012-06-28re PR other/53595 (Code size increase of +10% between two 4.7.1 snapshot)Georg-Johann Lay4-4/+33
PR 53595 * config/avr/avr.c (avr_hard_regno_call_part_clobbered): New. * config/avr/avr-protos.h (avr_hard_regno_call_part_clobbered): New. * config/avr/avr.h (HARD_REGNO_CALL_PART_CLOBBERED): Forward to avr_hard_regno_call_part_clobbered. From-SVN: r189049
2012-06-28configure.ac (CFLAGS_FOR_TARGET, [...]): Make sure they contain -O2.Christophe Lyon3-8/+14
* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure they contain -O2. * configure: Regenerate. From-SVN: r189046
2012-06-28re PR middle-end/53790 (ICE on dereferencing a extern union in asm statement)Richard Guenther4-0/+29
2012-06-28 Richard Guenther <rguenther@suse.de> PR middle-end/53790 * expr.c (expand_expr_real_1): Verify if the type is complete before inspecting its size. * gcc.dg/torture/pr53790.c: New testcase. From-SVN: r189045