summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 2013-08-29 Marek Polacek <polacek@redhat.com>Marek Polacek2013-08-293-20/+52
| | | | | | * Makefile.in (ubsan.o): Add $(HASHTAB_H) and gt-ubsan.h dependencies. Remove pointer-set.h dependency. * ubsan.c: Convert to C style hash table.
* 2013-08-28 Marek Polacek <polacek@redhat.com>Marek Polacek2013-08-282-7/+15
| | | | | | * ubsan.c: Use pointer_map<tree> instead of pointer_map_t. (insert_decl_for_type): Adjust. (lookup_decl_for_type): Likewise.
* 2013-08-28 Marek Polacek <polacek@redhat.com>Marek Polacek2013-08-282-1/+6
| | | | | * Makefile.in (ubsan.o): Add pointer-set.h dependency. Remove alloc-pool.h and HASH_TABLE_H dependencies.
* Merge branch 'master' of git+ssh://gcc.gnu.org/git/gcc into ubsanMarek Polacek2013-08-27172-3957/+8220
|\
| * 2013-08-27 Marc Glisse <marc.glisse@inria.fr>glisse2013-08-272-2/+9
| | | | | | | | | | | | | | | | | | | | PR middle-end/57219 * doc/extend.texi (__builtin_isinf_sign): Restrict the return values to -1, 0 and 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202021 138bc75d-0d04-0410-961f-82ee72b054a4
| * gcc/vp2013-08-275-5/+468
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2013-08-27 Vidya Praveen <vidyapraveen@arm.com> * config/aarch64/aarch64.md (unspec): Add UNSPEC_SISD_SSHL, UNSPEC_SISD_USHL, UNSPEC_USHL_2S, UNSPEC_SSHL_2S, UNSPEC_SISD_NEG. (<optab><mode>3_insn): Remove. (aarch64_ashl_sisd_or_int_<mode>3): New Pattern. (aarch64_lshr_sisd_or_int_<mode>3): Likewise. (aarch64_ashr_sisd_or_int_<mode>3): Likewise. (define_split for aarch64_lshr_sisd_or_int_di3): Likewise. (define_split for aarch64_lshr_sisd_or_int_si3): Likewise. (define_split for aarch64_ashr_sisd_or_int_di3): Likewise. (define_split for aarch64_ashr_sisd_or_int_si3): Likewise. (aarch64_sisd_ushl, aarch64_sisd_sshl): Likewise. (aarch64_ushl_2s, aarch64_sshl_2s, aarch64_sisd_neg_qi): Likewise. (ror<mode>3_insn): Likewise. * config/aarch64/predicates.md (aarch64_simd_register): New. gcc/testsuite/ 2013-08-27 Vidya Praveen <vidyapraveen@arm.com> * gcc.target/aarch64/scalar_shift_1.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202020 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2013-08-27 Richard Biener <rguenther@suse.de>rguenth2013-08-274-62/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR tree-optimization/57521 * tree-if-conv.c (if_convertible_bb_p): Verify that at least one edge is non-critical. (find_phi_replacement_condition): Make sure to use a non-critical edge. Cleanup and remove old bug workarounds. (bb_postdominates_preds): Remove. (if_convertible_loop_p_1): Do not compute post-dominators. (combine_blocks): Do not free post-dominators. (main_tree_if_conversion): Likewise. (pass_data_if_conversion): Add TODO_verify_ssa. * gcc.dg/torture/pr57521.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202019 138bc75d-0d04-0410-961f-82ee72b054a4
| * PR rtl-optimization/57860jakub2013-08-276-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR rtl-optimization/57861 PR rtl-optimization/57875 PR rtl-optimization/57876 PR rtl-optimization/57877 * gcc.c-torture/execute/pr57860.c: New test. * gcc.c-torture/execute/pr57861.c: New test. * gcc.c-torture/execute/pr57875.c: New test. * gcc.c-torture/execute/pr57876.c: New test. * gcc.c-torture/execute/pr57877.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202018 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2013-08-27 Paolo Carlini <paolo.carlini@oracle.com>paolo2013-08-272-11/+4
| | | | | | | | | | | | | | * decl.c (grokfndecl): Remove old bison hack. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202017 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/i386/djgpp.h (ASM_DECLARE_FUNCTION_NAME): New.dj2013-08-272-0/+15
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202016 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2013-08-26 Tim Shen <timshen91@gmail.com>timshen2013-08-2715-790/+1289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/Makefile.am: Add regex_scanner.{h,tcc}. * include/Makefile.in: Regenerate. * include/bits/regex.h (match_search): Handle the `__first == __last` situation correctly. * include/bits/regex_compiler.h: Move _Scanner... * include/bits/regex_scanner.h: ...to here. New. * include/bits/regex_compiler.tcc: Move _Scanner... * include/bits/regex_scanner.tcc: ...to here, too. New. * include/bits/regex_executor.tcc: Use value instead of reference for submatch. * include/std/regex: Add regex_scanner.h * testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc: New. * testsuite/28_regex/algorithms/regex_match/basic/empty_range.cc: New. * testsuite/28_regex/algorithms/regex_match/ecma/cstring_hex.cc: New. * testsuite/28_regex/algorithms/regex_match/ecma/empty_range.cc: New. * testsuite/28_regex/algorithms/regex_search/ecma/string_01.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202015 138bc75d-0d04-0410-961f-82ee72b054a4
| * gcc/yufeng2013-08-272-1/+7
| | | | | | | | | | | | | | | | | | * function.c (assign_parm_find_data_types): Set passed_mode and nominal_mode to the TYPE_MODE of nominal_type for the built pointer type in case of the struct-pass-by-reference. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202014 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2013-08-271-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202013 138bc75d-0d04-0410-961f-82ee72b054a4
| * Move myself from libvtv "Various Reviewers" to libvtvctice2013-08-262-1/+6
| | | | | | | | | | | | | | | | "Various Maintainers". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202010 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/avr/avr.opt (mfract-convert-truncate): New option.amylaar2013-08-263-2/+205
| | | | | | | | | | | | | | | | | | * config/avr/avr.c (avr_out_fract): Unless TARGET_FRACT_CONV_TRUNC is set, round negative fractional integers according to n1169 when converting to integer types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202008 138bc75d-0d04-0410-961f-82ee72b054a4
| * Add PR marker to PR id in ChangeLog.amylaar2013-08-261-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202007 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2013-08-26 Joern Rennecke <joern.rennecke@embecosm.com>amylaar2013-08-262-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Joseph Myers <joseph@codesourcery.com> c/35649 * c-typeck.c (c_common_type): Prefer double_type_node over other REAL_TYPE types with the same precision. (convert_arguments): Likewise. Amend patch as suggested: From: "Joseph S. Myers" <joseph@codesourcery.com> In convert_arguments I think you should be comparing TYPE_MAIN_VARIANT (valtype) against double_type_node and long_double_type_node, rather than just valtype. This is PR c/35649 (so include that number in your ChangeLog entry and close that bug as fixed). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202006 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/avr/avr-stdint.h (INT16_TYPE): Change default to "int".amylaar2013-08-262-2/+7
| | | | | | | | | | | | | | (UINT16_TYPE): Change default to "unsigned int". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202005 138bc75d-0d04-0410-961f-82ee72b054a4
| * * c-typeck.c (c_common_type): Prefer double_type_node overamylaar2013-08-262-1/+16
| | | | | | | | | | | | | | | | other REAL_TYPE types with the same precision. (convert_arguments): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202004 138bc75d-0d04-0410-961f-82ee72b054a4
| * * cgraph.c (cgraph_propagate_frequency): Do not assume that virtualhubicka2013-08-262-1/+9
| | | | | | | | | | | | | | methods can not be called indirectly when their address is not taken. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202003 138bc75d-0d04-0410-961f-82ee72b054a4
| * * gimple-fold.c (gimple_get_virt_method_for_binfo): Use ctor_for_folding.hubicka2013-08-262-5/+19
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202002 138bc75d-0d04-0410-961f-82ee72b054a4
| * * ipa.c (comdat_can_be_unshared_p_1): C++ constructors and destructorshubicka2013-08-262-2/+11
| | | | | | | | | | | | | | can be unshared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202001 138bc75d-0d04-0410-961f-82ee72b054a4
| * * reload.c (find_valid_class): Allow classes that do not includeamylaar2013-08-262-2/+7
| | | | | | | | | | | | | | FIRST_PSEUDO_REGISTER - 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202000 138bc75d-0d04-0410-961f-82ee72b054a4
| * * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix formatting;hubicka2013-08-262-14/+36
| | | | | | | | | | | | | | | | fix edge count/frequency when speculation failed; fix type check for the direct call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201999 138bc75d-0d04-0410-961f-82ee72b054a4
| * * ipa-prop.c (ipa_print_node_params): Do not ICE during WPA.hubicka2013-08-262-7/+5
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201998 138bc75d-0d04-0410-961f-82ee72b054a4
| * * ipa-inline-transform.c (inline_transform): Be ready for basic blockhubicka2013-08-262-3/+11
| | | | | | | | | | | | | | to be changed by edge redirection. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201997 138bc75d-0d04-0410-961f-82ee72b054a4
| * * cgraph.c (cgraph_speculative_call_info): Fix parameter order and formating;hubicka2013-08-263-8/+28
| | | | | | | | | | | | | | | | | | | | | | add sanity check. (cgraph_resolve_speculation): Add FIXME about scaling profiles. (cgraph_redirect_edge_call_stmt_to_callee): Fix ICE in debug dump. * ipa-inline.c (heap_edge_removal_hook): Reset node growth cache. (resolve_noninline_speculation): Update callee keys, too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201996 138bc75d-0d04-0410-961f-82ee72b054a4
| * * tree.h (tree_decl_with_vis): Add cxx_constructor, cxx_destructor.hubicka2013-08-264-5/+33
| | | | | | | | | | | | | | | | | | (DECL_CXX_CONSTRUCTOR_P, DECL_CXX_DESTRUCTOR_P): New macros. * cp-tree.h (DECL_CONSTRUCTOR_P, DECL_DESTRUCTOR_P): Use middle-end flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201994 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/i386/i386.c (x86_64_elf_select_section): Put ATTRIBUTE_UNUSEDamylaar2013-08-262-1/+6
| | | | | | | | | | | | | | into proper place. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201993 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/i386/i386.c (ix86_return_in_memory): Do noturos2013-08-262-2/+1
| | | | | | | | | | | | | | remove ATTRIBUTE_UNUSED on function argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201990 138bc75d-0d04-0410-961f-82ee72b054a4
| * Really commit all changesgdr2013-08-265-132/+128
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201989 138bc75d-0d04-0410-961f-82ee72b054a4
| * * config/i386/i386.c (ix86_debug_options): Remove prototype.uros2013-08-262-27/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (x86_64_elf_select_section): Ditto. (ix86_handle_tm_regparm_attribute): Remove ATTRIBUTE_UNUSED on used arguments. (ix86_pass_by_reference): Ditto. (ix86_return_in_memory): Ditto. (output_set_got): Ditto. (ix86_unary_operator_ok): Ditto. (ix86_expand_builtin): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201988 138bc75d-0d04-0410-961f-82ee72b054a4
| * c-family/gdr2013-08-266-231/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-pretty-print.h (c_pretty_printer::unary_expression): Now a virtual member function. (c_pretty_printer::multiplicative_expression): Likewise. (c_pretty_printer::conditional_expression): Likewise. (c_pretty_printer::assignment_expression): Likewise. (c_pretty_printer::expression): Likewise. (pp_unary_expression): Adjust. (pp_multiplicative_expression): Likewise. (pp_assignment_expression): Likewise. (pp_conditional_expression): Likewise. (pp_expression): Likewise. * c-pretty-print.c (c_pretty_printer::unary_expression): Rename from pp_c_unary_expression. Adjust. (c_pretty_printer::multiplicative_expression): Rename from pp_c_multiplicative_expression. Adjust. (c_pretty_printer::conditional_expression): Rename from pp_c_conditional_expression. Adjust. (c_pretty_printer::assignment_expression): Rename from pp_c_assignment_expression. Adjust. (c_pretty_printer::expression): Rename from pp_c_expression. Adjust. (c_pretty_printer::c_pretty_printer): Do not assign to unary_expression, multiplicative_expression, conditional_expression, expression. cp/ * cxx-pretty-print.h (cxx_pretty_printer::unary_expression): Declare as overrider. (cxx_pretty_printer::multiplicative_expression): Likewise. (cxx_pretty_printer::conditional_expression): Likewise. (cxx_pretty_printer::assignment_expression): Likewise. (cxx_pretty_printer::expression): Likewise. * cxx-pretty-print.c (cxx_pretty_printer::unary_expression): Rename from pp_cxx_unary_expression. Adjust. (cxx_pretty_printer::multiplicative_expression): Rename from pp_cxx_multiplicative_expression. Adjust. (cxx_pretty_printer::conditional_expression): Rename from pp_cxx_conditional_expression. Adjust. (cxx_pretty_printer::assignment_expression): Rename from pp_cxx_assignment_expression. Adjust. (cxx_pretty_printer::expression): Rename from pp_cxx_expression. Adjust. (cxx_pretty_printer::cxx_pretty_printer): Dot not assign to unary_expression, multiplicative_expression, conditional_expression, assignment_expression, expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201987 138bc75d-0d04-0410-961f-82ee72b054a4
| * c-family/gdr2013-08-266-115/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-pretty-print.h (c_pretty_printer::postfix_expression): Now a virtual member function. (pp_postfix_expression): Adjust. (pp_c_postfix_expression): Remove. * c-pretty-print.c (c_pretty_printer::postfix_expression): Rename from pp_c_postfix_expression. Adjust. (c_pretty_printer::c_pretty_printer): Do not assign to postfix_expression. cp/ * cxx-pretty-print.h (cxx_pretty_printer::postfix_expression): Declare as overrider. * cxx-pretty-print.c (cxx_pretty_printer::postfix_expression): Rename from pp_cxx_postfix_expression. Adjust. (pp_cxx_expression): Use pp_postfix_expression. (cxx_pretty_printer::cxx_pretty_printer): Do not assign to postfix_expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201985 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2013-08-261-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201984 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2013-08-26 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2013-08-255-73/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/58146 * array.c (gfc_ref_dimen_size): If possible, use gfc_dep_difference to calculate array refrence sizes. Fall back to integer code otherwise. * dependency.c (discard_nops). Move up. Also discarde widening integer conversions. (gfc_dep_compare_expr): Use discard_nops. 2013-08-26 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/58146 * gfortran.dg/bounds_check_18.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201981 138bc75d-0d04-0410-961f-82ee72b054a4
| * c-family/gdr2013-08-256-43/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-pretty-print.h (c_pretty_printer::primary_expression): Now a virtua member function. (pp_primary_expression): Adjust. (pp_c_primary_expression): Remove. * c-pretty-print.c (c_pretty_printer::primary_expression): Rename from pp_c_primary_expression. Adjust. (pp_c_initializer_list): Use pp_primary_expression. (c_pretty_printer::c_pretty_printer): Do not assign to primary_expression. cp/ * cxx-pretty-print.h (cxx_pretty_printer::primary_expression): Now an overrider of c_pretty_printer::primary_expression. * cxx-pretty-print.c (cxx_pretty_printer::primary_expression): Rename from pp_cxx_primary_expression. Adjust. (pp_cxx_postfix_expression): Use pp_primary_expression. (pp_cxx_ctor_initializer): Likewise. (cxx_pretty_printer::cxx_pretty_printer): Do not assign to primary_expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201978 138bc75d-0d04-0410-961f-82ee72b054a4
| * * cgraph.c (cgraph_turn_edge_to_speculative):hubicka2013-08-252-2/+7
| | | | | | | | | | | | | | Fix debug output. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201977 138bc75d-0d04-0410-961f-82ee72b054a4
| * * g++.dg/ipa/devirt-14.C: Fix typo.hubicka2013-08-252-1/+5
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201976 138bc75d-0d04-0410-961f-82ee72b054a4
| * * tree.h (TYPE_FINAL_P, DECL_FINAL_P): New macros.hubicka2013-08-255-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | (tree_decl_with_vis): Add FINAL field. * cp-tree.h (struct lang_type_class): Free is_final bit. (CLASSTYPE_FINAL): Define using TYPE_FINAL_P. (DECL_FINAL_P): Remove. * pt.c (instantiate_class_template_1): Guard that CLASSTYPE_FINAL is called on CLASS_TYPE_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201975 138bc75d-0d04-0410-961f-82ee72b054a4
| * c-family/gdr2013-08-255-23/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-pretty-print.h (c_pretty_printer::translate_string): Declare. * c-pretty-print.c (M_): Remove. (c_pretty_printer::translate_string): Define. (pp_c_type_specifier): Use it. (pp_c_primary_expression): Likewise. (pp_c_expression): Likewise. cp/ * cxx-pretty-print.c (M_): Remove. (pp_cxx_unqualified_id): Use translate_string instead of M_. (pp_cxx_canonical_template_parameter): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201974 138bc75d-0d04-0410-961f-82ee72b054a4
| * c-family/gdr2013-08-256-19/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-pretty-print.h (c_pretty_printer::id_expression): Now a virtual function. (pp_c_id_expression): Remove. (pp_id_expression): Adjust. * c-pretty-print.c (c_pretty_printer::id_expression): Rename from pp_c_id_expression. Adjust. (pp_c_postfix_expression): Use pp_id_expression. (c_pretty_printer::c_pretty_printer): Do not assign to id_expression. cp/ * cxx-pretty-print.h (cxx_pretty_printer::id_expression): Declare. * cxx-pretty-print.c (cxx_pretty_printer::id_expression): Rename from pp_cxx_id_expression. Adjust. (pp_cxx_userdef_literal): Use pp_id_expression. (pp_cxx_primary_expression): Likewise. (pp_cxx_direct_declarator): Likewise. (cxx_pretty_printer::cxx_pretty_printer): Do not assign to id_expression. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201973 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2013-08-251-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201972 138bc75d-0d04-0410-961f-82ee72b054a4
| * * c-pretty-print.h (c_pretty_printer::constant): Now a virtualgdr2013-08-246-27/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | member function. (pp_constant): Adjust. (pp_c_constant): Remove. * c-pretty-print.c (c_pretty_printer::constant): Rename from pp_c_constant. Adjust. (pp_c_constant) (pp_c_primary_expression): Call pp_constant in lieu of pp_c_constant. (c_pretty_printer::c_pretty_printer): Remove assignment to constant. cp/ * cxx-pretty-print.h (cxx_pretty_printer::constant): Now a member function, overriding c_pretty_printer::constant. * cxx-pretty-print.c (cxx_pretty_printer::constant): Rename from pp_cxx_constant. Adjust. (cxx_pretty_printer::cxx_pretty_printer): Do not assign to constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201969 138bc75d-0d04-0410-961f-82ee72b054a4
| * * tree-ssa-pre.c (do_regular_insertion): Include the expressionlaw2013-08-242-1/+10
| | | | | | | | | | | | in the debugging dump when the expression is fully redundant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201963 138bc75d-0d04-0410-961f-82ee72b054a4
| * Daily bump.gccadmin2013-08-241-1/+1
| | | | | | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201959 138bc75d-0d04-0410-961f-82ee72b054a4
| * * diagnostic.c (diagnostic_set_caret_max_width): Use pp_buffer.gdr2013-08-2310-22/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gimple-pretty-print.c (gimple_dump_bb_buff): Likewise. * pretty-print.c (pp_formatted_text_data): Likewise. (pp_write_text_to_stream): Likewise. (pp_write_text_as_dot_label_to_stream): Likewise. (pp_append_r): Likewise. (pp_format): Likewise. (pp_flush): Likewise. (pp_clear_output_area): Likewise. (pp_append_text): Likewise. (pp_formatted_text): Likewise. (pp_remaining_character_count_for_line): Likewise. (pp_newline): Likewise. (pp_character): Likewise. (output_buffer::~output_buffer): Define. (pretty_printer::~pretty_printer): Destruct output buffer. * pretty-print.h (output_buffer::~output_buffer): Declare. (pretty_printer::~pretty_printer): Declare virtual. c/ * c-objc-common.c (c_tree_printer): Document the nature of the cast. (c_initialize_diagnostics): Call a destructor for the early printer. cp/ * cp-objcp-common.c (cxx_initialize_diagnostics): Call a destructor for the early printer. * error.c (type_to_string): Use pp_buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201956 138bc75d-0d04-0410-961f-82ee72b054a4
| * 2013-08-24 Marc Glisse <marc.glisse@inria.fr>glisse2013-08-2313-52/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR other/57324 * hwint.h (HOST_WIDE_INT_UC, HOST_WIDE_INT_1U, HOST_WIDE_INT_M1, HOST_WIDE_INT_M1U): New macros. * fold-const.c (sign_bit_p, build_range_check, fold_unary_loc, fold_binary_loc, fold_ternary_loc): Use the new macros. Use an unsigned -1 for lshift. * cse.c (cse_insn): Likewise. * double-int.c (rshift_double, lshift_double): Likewise. * builtins.c (fold_builtin_bitop): Likewise. * combine.c (force_to_mode): Likewise. * tree.c (integer_pow2p, tree_log2, tree_floor_log2): Likewise. * simplify-rtx.c (simplify_const_unary_operation, simplify_const_binary_operation): Likewise. * tree-stdarg.c (va_list_counter_bump, va_list_ptr_read, check_va_list_escapes): Likewise. * rtlanal.c (nonzero_bits1): Likewise. * expmed.c (expand_smod_pow2): Likewise. * tree-ssa-structalias.c (UNKNOWN_OFFSET): Use HOST_WIDE_INT_MIN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201953 138bc75d-0d04-0410-961f-82ee72b054a4
| * compiler: don't export embedded builtins.ian2013-08-232-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | The panic in test/fixedbugs/bug461.go was caused by the fact that reflect expects unexported fields in a struct to have a valid package path. If a struct field is an embedded built-in type, it is now given the package name of the currently compiling package, so it remains unexported for purposes of reflect. Fixed Issue 25. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201951 138bc75d-0d04-0410-961f-82ee72b054a4
| * * cgraph.c (cgraph_turn_edge_to_speculative): Mark target nodehubicka2013-08-232-0/+6
| | | | | | | | | | | | | | as having address taken. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201948 138bc75d-0d04-0410-961f-82ee72b054a4