aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2012-06-28gpl.texi: Remove.Andreas Schwab3-413/+7
* doc/include/gpl.texi: Remove. * doc/sourcebuild.texi (Texinfo Manuals): Don't mention gpl.texi. From-SVN: r189044
2012-06-28re PR tree-optimization/53645 (Missed optimization for vector integer ↵Jakub Jelinek5-2/+641
division lowering) PR tree-optimization/53645 * tree-vect-generic.c (add_rshift): New function. (expand_vector_divmod): New function. (expand_vector_operation): Use it for vector integer TRUNC_{DIV,MOD}_EXPR by VECTOR_CST. * tree-vect-patterns.c (vect_recog_divmod_pattern): Replace unused lguup variable with dummy_int. * gcc.c-torture/execute/pr53645.c: New test. From-SVN: r189043
2012-06-28* gnat.dg/deep_old.adb, gnat.dg/old_errors.adb: Removed, obsolete.Arnaud Charlet3-57/+4
From-SVN: r189042
2012-06-28* libgomp.texi: Include gpl_v3.texi instead of gpl.texi.Andreas Schwab2-2/+6
From-SVN: r189041
2012-06-28expr.c (convert_move): Latch mem integer inputs into a register before ↵Olivier Hainque2-3/+11
expanding a multi-instructions... * expr.c (convert_move): Latch mem integer inputs into a register before expanding a multi-instructions sequence. From-SVN: r189040
2012-06-28c++config: Remove __regex nested namespace.Benjamin Kosnik13-338/+367
2012-06-27 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Remove __regex nested namespace. * include/bits/regex_compiler.h: Change __regex to __detail. Adjust doxygen markup, add regex-details group. * include/bits/regex_constants.h: Same. * include/bits/regex_cursor.h: Same. * include/bits/regex_error.h: Same. * include/bits/regex_grep_matcher.h: Same. * include/bits/regex_grep_matcher.tcc: Same. * include/bits/regex_nfa.h: Same. * include/bits/regex_nfa.tcc: Same. * include/bits/regex.h: Same. Remove static from global constants. * testsuite/ext/profile/mutex_extensions_neg.cc: Adjust line numbers. * include/bits/locale_classes.tcc: Add use_facet, has_facet to locales group. From-SVN: r189039
2012-06-28re PR debug/53671 (Many guality test failures)Alexandre Oliva2-3/+11
PR debug/53671 PR debug/49888 * gcc.dg/guality/pr49888.c: Account for the possibility that the variable is optimized out at the first test. From-SVN: r189038
2012-06-28re PR rtl-optimization/53706 (Bootstrap failure due to "Invalid write of ↵Alexandre Oliva2-5/+13
size 8 at 0xBDC35E: variable_htab_free (var-tracking.c:1418)) PR debug/53706 PR debug/47624 * var-tracking.c (vt_emit_notes): Release loc_exp_dep_pool... (vt_finalize): ... here instead, if needed. From-SVN: r189037
2012-06-28re PR debug/53740 (--enable-checking=yes,rtl bootstrap failure with ada)Alexandre Oliva3-4/+34
PR debug/53740 PR debug/52983 PR debug/48866 * dce.c (word_dce_process_block): Check whether inserting debug temps are needed even for needed insns. (dce_process_block): Likewise. * df-problems.c (dead_debug_add): Add comment about multi-regs. (dead_debug_insert_temp): Likewise. Don't subreg when we're setting fewer regs than a multi-reg requires. From-SVN: r189036
2012-06-28Daily bump.GCC Administrator1-1/+1
From-SVN: r189033
2012-06-27alpha: Cleaup builtins and foldingRichard Henderson2-68/+46
* config/alpha/alpha.c (alpha_dimode_u): New. (alpha_init_builtins): Initialize it, and use it. (alpha_fold_builtin_cmpbge): Use alpha_dimode_u. (alpha_fold_builtin_zapnot, alpha_fold_builtin_insxx): Likewise. (alpha_fold_vector_minmax, alpha_fold_builtin_perr): Likewise. (alpha_fold_builtin_pklb, alpha_fold_builtin_pkwb): Likewise. (alpha_fold_builtin_unpkbl, alpha_fold_builtin_unpkbw): Likewise. (alpha_fold_builtin_cttz, alpha_fold_builtin_ctlz): Likewise. (alpha_fold_builtin_ctpop): Likewise. (alpha_fold_builtin_umulh): Remove. (alpha_fold_builtin): Use MULT_HIGHPART_EXPR for UMULH; fix typo in MAX_ARGS check. From-SVN: r189028
2012-06-27Add MULT_HIGHPART_EXPRRichard Henderson10-1/+48
* tree.def (MULT_HIGHPART_EXPR): New. * cfgexpand.c (expand_debug_expr): Ignore it. * expr.c (expand_expr_real_2): Handle it. * fold-const.c (int_const_binop_1): Likewise. * optabs.c (optab_for_tree_code): Likewise. * tree-cfg.c (verify_gimple_assign_binary): Likewise. * tree-inline.c (estimate_operator_cost): Likewise. * tree-pretty-print.c (dump_generic_node): Likewise. (op_code_prio, op_symbol_code): Likewise. * tree.c (commutative_tree_code): Likewise. Also handle WIDEN_MULT_EXPR, VEC_WIDEN_MULT_HI_EXPR, VEC_WIDEN_MULT_LO_EXPR. From-SVN: r189027
2012-06-27i386: Fix logic error in r188785Richard Henderson2-5/+9
PR target/53749 * config/i386/i386.c (ix86_rtx_costs): Fix typo vs UNITS_PER_WORD in 2012-06-23 change. Adjust two other DImode tests as well. From-SVN: r189026
2012-06-27parser.c (cp_parser_check_for_invalid_template_id): tag_type parm.Jason Merrill7-10/+32
* parser.c (cp_parser_check_for_invalid_template_id): tag_type parm. (cp_parser_simple_type_specifier, cp_parser_class_head): Adjust. (cp_parser_elaborated_type_specifier): Adjust. * decl.c (duplicate_decls): Return error_mark_node on template mismatch. From-SVN: r189025