1. 01 Nov, 2012 18 commits
    • standards.texi (Standards): Adjust reference to Go specification. · 1400a293
      	* doc/standards.texi (Standards): Adjust reference to Go
      	specification.
      
      From-SVN: r193073
      Gerald Pfeifer committed
    • This patch removes the unused ebitmap, and then removes some sbitmap functions… · 5fd39ce6
      This patch removes the unused ebitmap, and then removes some sbitmap functions only used by ebitmap.
      
      This patch removes the unused ebitmap, and then removes some sbitmap functions
      only used by ebitmap.  The functions removed are:
      
      SET_BIT_WITH_POPCOUNT
      RESET_BIT_WITH_POPCOUNT
      bitmap_copy_n
      bitmap_range_empty_p
      sbitmap_popcount
      
      In addition, two functions have been made private to the implementation file:
      
      SBITMAP_SIZE_BYTES
      sbitmap_verify_popcount
      
      Tested on x86-64.
      
      
      Index: gcc/ChangeLog
      
      2012-11-01  Lawrence Crowl  <crowl@google.com>
      
      	* ebitmap.h: Remove unused.
      	* ebitmap.c: Remove unused.
      	* Makefile.in: Remove ebitmap.h and ebitmap.c.
      	* sbitmap.h (SBITMAP_SIZE_BYTES): Move to source file.
      	(SET_BIT_WITH_POPCOUNT): Remove unused.
      	(RESET_BIT_WITH_POPCOUNT): Remove unused.
      	(bitmap_copy_n): Remove unused.
      	(bitmap_range_empty_p): Remove unused.
      	(sbitmap_popcount): Remove unused.
      	(sbitmap_verify_popcount): Make private to source file.
      	* sbitmap.c (SBITMAP_SIZE_BYTES): Move here from header.
      	(bitmap_copy_n): Remove unused.
      	(bitmap_range_empty_p): Remove unused.
      	(sbitmap_popcount): Remove unused.
      	(sbitmap_verify_popcount): Make private to source file.
      
      2012-11-01  Lawrence Crowl  <crowl@google.com>
      
      From-SVN: r193072
      Lawrence Crowl committed
    • re PR target/55160 (Counterproductive loop induction variable optimization) · c291b2ad
      	PR target/55160
      	* gcc.target/sh/pr55160.c: New.
      
      From-SVN: r193071
      Oleg Endo committed
    • This patch renames sbitmap iterators to unify them with the bitmap iterators. · d4ac4ce2
      Remove the unused EXECUTE_IF_SET_IN_SBITMAP_REV, which has an unconventional
      interface.
      
      Rename the sbitmap_iter_* functions to match bitmap's bmp_iter_* functions.
      Add an additional parameter to the initialization and next functions to
      match the interface in bmp_iter_*.  This extra parameter is mostly hidden
      by the use of the EXECUTE_IF macros.
      
      Rename the EXECUTE_IF_SET_IN_SBITMAP macro to EXECUTE_IF_SET_IN_BITMAP.  Its
      implementation is now identical to that in bitmap.h.  To prevent redefinition
      errors, both definitions are now guarded by #ifndef.  An alternate strategy
      is to simply include bitmap.h from sbitmap.h.  As this would increase build
      time, I have elected to use the #ifndef version.  I do not have a strong
      preference here.
      
      The sbitmap_iterator type is still distinctly named because it is often
      declared in contexts where the bitmap type is not obvious.  There are less
      than 40 uses of this type, so the burden to modify it when changing bitmap
      types is not large.
      
      Tested on x86-64, config-list.mk testing.
      
      
      Index: gcc/ChangeLog
      
      2012-10-31  Lawrence Crowl  <crowl@google.com>
      
      	* sbitmap.h (sbitmap_iter_init): Rename bmp_iter_set_init and add
      	unused parameter to match bitmap iterator.  Update callers.
      	(sbitmap_iter_cond): Rename bmp_iter_set.  Update callers.
      	(sbitmap_iter_next): Rename bmp_iter_next and add unused parameter to
      	match bitmap iterator.  Update callers.
      	(EXECUTE_IF_SET_IN_SBITMAP_REV): Remove unused.
      	(EXECUTE_IF_SET_IN_SBITMAP): Rename EXECUTE_IF_SET_IN_BITMAP and
      	adjust to be identical to the definition in bitmap.h.  Conditionalize
      	the definition based on not having been defined.  Update callers.
      	* bitmap.h (EXECUTE_IF_SET_IN_BITMAP): Conditionalize the definition
      	based on not having been defined.  (To match the above.)
      
      From-SVN: r193069
      Lawrence Crowl committed
    • hashtable_policy.h (__details::_Before_begin<>): New, combine a base node… · 0dd49691
      hashtable_policy.h (__details::_Before_begin<>): New, combine a base node instance and an allocator.
      
      2012-11-01  François Dumont  <fdumont@gcc.gnu.org>
      
      	* include/bits/hashtable_policy.h (__details::_Before_begin<>):
      	New, combine a base node instance and an allocator.
      	* include/bits/hashtable.h (_Hashtable<>::_M_node_allocator): Remove.
      	(_Hashtable<>::_M_before_begin): Rename into _M_bbegin and type
      	modified to __detail::_Before_begin<>.
      	(_Hashtable<>::_M_node_allocator()): New, get the node allocator
      	part of _M_bbegin.
      	(_Hashtable<>::_M_before_begin()): New, get the before begin node
      	part of _M_bbegin.
      	(_Hashtable<>): Adapt to use latter.
      
      From-SVN: r193068
      François Dumont committed
    • vsx-mass-1.c: Check for dot symbols in scan-assembler regex. · 647d030f
              * gcc.target/powerpc/vsx-mass-1.c: Check for dot symbols in
              scan-assembler regex.
      
      From-SVN: r193067
      David Edelsohn committed
    • This patch normalizes more bitmap function names. · d7c028c0
        sbitmap.h
      
          TEST_BIT -> bitmap_bit_p
          SET_BIT -> bitmap_set_bit
          SET_BIT_WITH_POPCOUNT -> bitmap_set_bit_with_popcount
          RESET_BIT -> bitmap_clear_bit
          RESET_BIT_WITH_POPCOUNT -> bitmap_clear_bit_with_popcount
      
        basic-block.h
      
          sbitmap_intersection_of_succs -> bitmap_intersection_of_succs
          sbitmap_intersection_of_preds -> bitmap_intersection_of_preds
          sbitmap_union_of_succs -> bitmap_union_of_succs
          sbitmap_union_of_preds -> bitmap_union_of_preds
      
      The sbitmap.h functions also needed their numeric paramter changed
      from unsigned int to int to match the bitmap functions.
      
      Callers updated to match.
      
      Tested on x86-64, config-list.mk testing.
      
      
      Index: gcc/ChangeLog
      
      2012-11-01  Lawrence Crowl  <crowl@google.com>
      
      	* sbitmap.h (TEST_BIT): Rename bitmap_bit_p, normalizing parameter
      	type. Update callers to match.
      	(SET_BIT): Rename bitmap_set_bit, normalizing parameter type. Update
      	callers to match.
      	(SET_BIT_WITH_POPCOUNT): Rename bitmap_set_bit_with_popcount,
      	normalizing parameter type. Update callers to match.
      	(RESET_BIT): Rename bitmap_clear_bit, normalizing parameter type.
      	Update callers to match.
      	(RESET_BIT_WITH_POPCOUNT): Rename bitmap_clear_bit_with_popcount,
      	normalizing parameter type. Update callers to match.
      	* basic-block.h (sbitmap_intersection_of_succs): Rename
      	bitmap_intersection_of_succs. Update callers to match.
      	* basic-block.h (sbitmap_intersection_of_preds): Rename
      	bitmap_intersection_of_preds. Update callers to match.
      	* basic-block.h (sbitmap_union_of_succs): Rename
      	bitmap_union_of_succs. Update callers to match.
      	* basic-block.h (sbitmap_union_of_preds): Rename
      	bitmap_union_of_preds. Update callers to match.
      
      From-SVN: r193066
      Lawrence Crowl committed
    • re PR middle-end/55150 (Crash in copy_rtx) · 6cd1dd26
      2012-11-01  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/55150
      	* lra-constraints.c (lra_constraints): Check only pseudos with
      	equivalences.  Add insns with equivalence pseudos.
      
      2012-11-01  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/55150
      	* gcc.dg/pr55150.c: Rename to gcc.dg/pr55150-1.c.
      	* gcc.dg/pr55150-2.c: New test.
      
      From-SVN: r193065
      Vladimir Makarov committed
    • re PR other/55164 (-fdump-*-all not working) · eb1325a4
      2012-11-01  Sharad Singhai  <singhai@google.com>
      
      	PR other/55164
      	* dumpfile.h (struct dump_file_info): Fix order of flags.
      
      From-SVN: r193064
      Sharad Singhai committed
    • Makefile.am (libquadmath_la_SOURCES): Add new math/* files. · f029f4be
      2012-11-01  Tobias Burnus  <burnus@net-b.de>
      
              * Makefile.am (libquadmath_la_SOURCES): Add new math/* files.
              * Makefile.in: Regenerated.
              * math/acoshq.c: Update comment.
              * math/acosq.c: Ditto.
              * math/asinhq.c: Ditto.
              * math/asinq.c: Ditto.
              * math/atan2q.c: Ditto.
              * math/atanhq.c: Ditto.
              * math/ceilq.c: Ditto.
              * math/copysignq.c: Ditto.
              * math/cosq.c: Ditto.
              * math/coshq.c: Ditto.
              * math/erfq.c: Ditto.
              * math/fabsq.c: Ditto.
              * math/finiteq.c: Ditto.
              * math/floorq.c: Ditto.
              * math/fmodq.c: Ditto.
              * math/frexpq.c: Ditto.
              * math/isnanq.c: Ditto.
              * math/j0q.c: Ditto.
              * math/j1q.c: Ditto.
              * math/ldexpq.c: Ditto.
              * math/llroundq.c: Ditto.
              * math/log10q.c: Ditto.
              * math/log1pq.c: Ditto.
              * math/log2q.c: Ditto.
              * math/logq.c: Ditto.
              * math/lroundq.c: Ditto.
              * math/modfq.c: Ditto.
              * math/nextafterq.c: Ditto.
              * math/powq.c: Ditto.
              * math/rem_pio2q.c: Ditto.
              * math/remainderq.c: Ditto.
              * math/rintq.c: Ditto.
              * math/roundq.c: Ditto.
              * math/scalblnq.c: Ditto.
              * math/scalbnq.c: Ditto.
              * math/sincosq_kernel.c: Ditto.
              * math/sinq.c: Ditto.
              * math/tanq.c: Ditto.
              * math/expq.c: Ditto.
              (__expq_table, expq): Renamed local array from __expl_table.
              * math/cosq_kernel.c (__quadmath_kernel_cosq): Fix sign
              * handling.
              * math/cacoshq.c: Changes from GLIBC; fix returned sign.
              * math/casinhq.c: Changes from GLIBC to fix special-case.
              * math/cbrtq.c: Use modified GLIBC version.
              * math/complex.c (ccoshd, cexpq, clog10q, clogq, csinhq, csinq,
              ctanhq, ctanq): Moved to separates files.
              (mult_c128, div_c128): Removed no longer needed functions.
              (cexpiq): Call sincosq instead of sinq and cosq.
              (cosq): Call cosh(-re,im) instead of cosq/sinq/sinh/cosh.
              * math/ccoshq.c (ccoshq): New file, moved from complex.c and
              modified based on GLIBC.
              * math/cexpq.c (cexp): Ditto.
              * math/clog10q.c (clog10q): Ditto.
              * math/clogq.c (clogq): Ditto.
              * math/csinhq.c: Ditto.
              * math/csinq.c: Ditto.
              * math/csqrtq.c: Ditto.
              * math/ctanhq.c: Ditto.
              * math/ctanq.c: Ditto.
              * math/fmaq.c (fmaq): Port TININESS_AFTER_ROUNDING handling
              from GLIBC.
              * math/ilogbq.c (ilogbq): Add errno = EDOM handling.
              * math/isinf_nsq.c (__quadmath_isinf_nsq): New file, ported
              from GLIBC.
              * math/lgammaq.c (lgammaq): Add signgam handling.
              * math/sinhq.c (sinhq): Fix sign handling.
              * math/sinq_kernel.c (__quadmath_kernel_sinq): Ditto.
              * math/tgammaq.c (tgammaq): Ditto.
              * math/x2y2m1q.c: New file.
              * quadmath-imp.h (TININESS_AFTER_ROUNDING): New define.
              (__quadmath_x2y2m1q, __quadmath_isinf_nsq): New prototypes.
      
      From-SVN: r193063
      Tobias Burnus committed
    • re PR tree-optimization/55104 (ice in inline_call, at ipa-inline-transform.c:269) · 621cf8af
      
      	PR middle-end/55104
      	* ipa-inline-transform.c (inline_call): Silence an sanity check until
      	ipa-cp issue if fixed.
      
      From-SVN: r193062
      Jan Hubicka committed
    • invoke.texi: Update -fopt-info documentation. · 2b4e6bf1
      2012-11-01  Sharad Singhai  <singhai@google.com>
      
          * doc/invoke.texi: Update -fopt-info documentation.
          * dumpfile.c: Move dump_flags here from passes.c.
          Rename opt_info_options to optinfo_verbosity_options.
          Add optgroup_options.
          (dump_files): Add field for optinfo_flags in the static initializer.
          (dump_register): Handle additional parameter for optgroup_flags.
          (opt_info_enable_passes): Renamed opt_info_enable_all. Handle
          optgroup_flags. Fix documentation.
          (opt_info_switch_p_1): Handle optgroup options.
          (opt_info_switch_p): Handle optgroup_flags. Warn on multiple files.
          * dumpfile.h (dump_register): Additional argument for optgroup_flags.
          All callers updated.
          (struct dump_file_info): Add field for optgroup_flags.
          Define OPTGROUP_* flags.
          * tree-pass.h (struct opt_pass): Add addtional field for optinfo_flags.
          All opt_pass static initializers updated.
          * opts-global.c (dump_remap_tree_vectorizer_verbose): Use 'all'
          instead of 'optall'.
          (handle_common_deferred_options): Fix typo in error message.
          * passes.c (register_one_dump_file): Add argument for optgroup_flags.
          Turn on OPTGROUP_IPA for IPA passes.
          Move dump_flags from here to dumpfile.c.
          * statistics.c (statistics_early_init): Use OPTGROUP_NONE in call to
          dump_register.
      
      testsuite/ChangeLog
      
          * testsuite/gcc.dg/plugin/selfassign.c: Add opgtroup_flags initializer.
          * testsuite/gcc.dg/plugin/one_time_plugin.c: Likewise.
          * testsuite/g++.dg/plugin/selfassign.c: Likewise.
          * testsuite/g++.dg/plugin/dumb_plugin.c: Likewise.
      
      From-SVN: r193061
      Sharad Singhai committed
    • re PR target/55160 (Counterproductive loop induction variable optimization) · c3a76b2f
              PR target/55160
              * config/sh/sh.md (doloop_end): Use emit_jump_insn.
      
      From-SVN: r193060
      Joern Rennecke committed
    • re PR middle-end/53708 (Many failures of the objc tests with -O3 -fnext-runtime and -m32) · 79e02217
      2012-10-31  Jakub Jelinek  <jakub@redhat.com>
      
      	PR tree-optimization/53708
      	* tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Preserve
      	user-supplied alignment when used with an explicit section name.
      
      From-SVN: r193058
      Jakub Jelinek committed
    • forward_list.h (forward_list::assign): Dispatch to new functions based on… · 362261e7
      forward_list.h (forward_list::assign): Dispatch to new functions based on assignability of elements.
      
      	* include/bits/forward_list.h (forward_list::assign): Dispatch to new
      	functions based on assignability of elements.
      	(forward_list::_M_assign): Add overloaded functions for assigning
      	via assignment or via clearing and insertion.
      	(forward_list::_M_assign_val): Likewise.
      	(forward_list::_M_move_assign(forward_list&&, false_type)): Do not
      	erase elements that are not moved.
      	* include/bits/forward_list.tcc (forward_list::operator=): Call
      	assign() to copy elements.
      	* testsuite/23_containers/forward_list/cons/10.cc: New.
      	* testsuite/23_containers/forward_list/cons/11.cc: New.
      	* testsuite/23_containers/forward_list/cons/12.cc: New.
      
      From-SVN: r193057
      Jonathan Wakely committed
    • Daily bump. · d81aa388
      From-SVN: r193056
      GCC Administrator committed
    • tree-eh.c (do_return_redirection): Set location for jump statement. · 29f5bccb
      gcc:
      2012-10-31  Dehao Chen  <dehao@google.com>
      
      	* tree-eh.c (do_return_redirection): Set location for jump statement.
      	(do_goto_redirection): Likewise.
      	(frob_into_branch_around): Likewise.
      	(lower_try_finally_nofallthru): Likewise.
      	(lower_try_finally_copy): Likewise.
      	(lower_try_finally_switch): Likewise.
      	* expr.c (store_expr): Use current insn location instead of expr
      	location.
      	(expand_expr_real): Likewise.
      	(expand_expr_real_1): Likewise.
      
      gcc/testsuite:
      2012-10-31  Dehao Chen  <dehao@google.com>
      
      	* g++.dg/debug/dwarf2/block.C: New testcase.
      
      From-SVN: r193053
      Dehao Chen committed
  2. 31 Oct, 2012 22 commits
    • re PR target/54938 (sh libgcc_unpack_df.o fails to build:… · 0f379f76
      re PR target/54938 (sh libgcc_unpack_df.o fails to build: ../../../srcw/libgcc/fp-bit.h:221:19: internal compiler error: in emit_cmp_and_jump_insn_1, at optabs.c:4273)
      
      2012-10-31   Easwaran Raman  <eraman@google.com>
      
      	PR target/54938
      	PR middle-end/54957
      	* optabs.c (emit_cmp_and_jump_insn_1): Add REG_BR_PROB note
      	only if it doesn't already exist.
      	* stmt.c (get_outgoing_edge_probs): Return 0 if BB is NULL.
      	(emit_case_dispatch_table): Handle the case where STMT_BB is
      	NULL.
      	(expand_sjlj_dispatch_table): Pass BB containing before_case
      	to emit_case_dispatch_table.
      
      From-SVN: r193052
      Easwaran Raman committed
    • This patch implements generic type query and conversion functions, · 5d59b5e1
      and applies them to the use of cgraph_node, varpool_node, and symtab_node.
      
      The functions are:
      
      bool is_a <TYPE> (pointer)
        Tests whether the pointer actually points to a more derived TYPE.
      
      TYPE *as_a <TYPE> (pointer)
        Converts pointer to a TYPE*.
      
      TYPE *dyn_cast <TYPE> (pointer)
        Converts pointer to TYPE* if and only if "is_a <TYPE> pointer".
        Otherwise, returns NULL.
        This function is essentially a checked down cast.
      
      These functions reduce compile time and increase type safety when treating a
      generic item as a more specific item.  In essence, the code change is from
      
        if (symtab_function_p (node))
          {
            struct cgraph_node *cnode = cgraph (node);
            ....
          }
      
      to
      
        if (cgraph_node *cnode = dyn_cast <cgraph_node> (node))
          {
            ....
          }
      
      The necessary conditional test defines a variable that holds a known good
      pointer to the specific item and avoids subsequent conversion calls and
      the assertion checks that may come with them.
      
      When, the property test is embedded within a larger condition, the variable
      declaration gets pulled out of the condition.  (This leaves some room for
      using the variable inappropriately.)
      
        if (symtab_variable_p (node)
            && varpool (node)->finalized)
          varpool_analyze_node (varpool (node));
      
      becomes
      
        varpool_node *vnode = dyn_cast <varpool_node> (node);
        if (vnode && vnode->finalized)
          varpool_analyze_node (vnode);
      
      Note that we have converted two sets of assertions in the calls to varpool
      into safe and efficient use of a variable.
      
      
      There are remaining calls to symtab_function_p and symtab_variable_p that
      do not involve a pointer to a more specific type.  These have been converted
      to calls to a functions is_a <cgraph_node> and is_a <varpool_node>.  The
      original predicate functions have been removed.
      
      The cgraph.h header defined both a struct and a function with the name
      varpool_node.  This name overloading can cause some unintuitive error messages
      when, as is common in C++, one omits the struct keyword when using the type.
      I have renamed the function to varpool_node_for_decl.
      
      Tested on x86_64.
      
      
      Index: gcc/ChangeLog
      
      2012-10-31  Lawrence Crowl  <crowl@google.com>
      
      	* is-a.h: New.
      	(is_a <T> (U*)): New.  Test for is-a relationship.
      	(as_a <T> (U*)): New.  Treat as a derived type.
      	(dyn_cast <T> (U*)): New.  Conditionally cast based on is_a.
      	* cgraph.h (varpool_node): Rename to varpool_node_for_decl.
      	Adjust callers to match.
      	(is_a_helper <cgraph_node>::test (symtab_node_def *)): New.
      	(is_a_helper <varpool_node>::test (symtab_node_def *)): New.
      	(symtab_node_def::try_function): New.  Change most calls to
      	symtab_function_p with calls to dyn_cast <cgraph_node> (p).
      	(symtab_node_def::try_variable): New.  Change most calls to
      	symtab_variable_p with calls to dyn_cast <varpool_node> (p).
      	(symtab_function_p): Remove.  Change callers to use
              is_a <cgraph_node> (p) instead.
      	(symtab_variable_p): Remove.  Change callers to use
              is_a <varpool_node> (p) instead.
      	* cgraph.c (cgraph_node_for_asm): Remove redundant call to
      	symtab_node_for_asm.
      	* cgraphunit.c (symbol_finalized_and_needed): New.
      	(symbol_finalized): New.
      	(cgraph_analyze_functions): Split complicated conditionals out into
      	above new functions.
      	* Makefile.in (CGRAPH_H): Add is-a.h as used by cgraph.h.
      
      From-SVN: r193051
      Lawrence Crowl committed
    • * gcc.dg/pr44974.c: Add noinline. · 2a381a57
      From-SVN: r193050
      Jan Hubicka committed
    • Fix PR number typo in ChangeLog. · dbbb73dd
      From-SVN: r193049
      Oleg Endo committed
    • re PR fortran/53718 ([OOP] gfortran generates asm label twice in the same output file) · 755634e6
      2012-10-31  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/53718
      	* trans.h (GFC_DECL_PUSH_TOPLEVEL): Removed.
      	* trans-decl.c (gfc_get_symbol_decl,gfc_generate_function_code): Remove
      	GFC_DECL_PUSH_TOPLEVEL.
      	(build_function_decl): Do not push __copy procedure to toplevel.
      
      2012-10-31  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/53718
      	* gfortran.dg/class_54.f90: New.
      
      From-SVN: r193048
      Janus Weil committed
    • re PR tree-optimization/55018 (CDDCE pass is too aggressive sometimes with… · 03b06a83
      re PR tree-optimization/55018 (CDDCE pass is too aggressive sometimes with infinite loops and with some functions)
      
      gcc/
      	PR tree-optimization/55018
      	* basic-block.h (dfs_find_deadend): New prototype.
      	* cfganal.c (dfs_find_deadend): No longer static.  Use bitmap
      	instead of sbitmap for visited.
      	(flow_dfs_compute_reverse_execute): Use dfs_find_deadend here, too.
      	* dominance.c (calc_dfs_tree): If saw_unconnected,
      	traverse from dfs_find_deadend of unconnected b
      	instead of b directly.
      
      testsuite/
      	PR tree-optimization/55018
      	* gcc.dg/torture/pr55018.c: New test.
      
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r193047
      Steven Bosscher committed
    • runtime/goc2c: Drop gc support, change int to intgo. · e212c7f5
      From-SVN: r193046
      Ian Lance Taylor committed
    • i386.c (ix86_expand_prologue): Emit frame info for the special register pushes… · 2455de38
      i386.c (ix86_expand_prologue): Emit frame info for the special register pushes before frame probing and allocation.
      
      	* config/i386/i386.c (ix86_expand_prologue): Emit frame info for the
      	special register pushes before frame probing and allocation.
      
      From-SVN: r193044
      Eric Botcazou committed
    • re PR c++/54583 (Spurious warning: value computed is not used with variable-size array) · 03d31730
      /cp
      2012-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/54583
      	* tree.c (build_cplus_array_type): Set TREE_NO_WARNING on the
      	TYPE_SIZE of VLAs.
      
      /testsuite
      2012-10-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/54583
      	* g++.dg/ext/vla13.C: New.
      
      From-SVN: r193043
      Paolo Carlini committed
    • re PR middle-end/55150 (Crash in copy_rtx) · 4d64ce5c
      2012-10-31  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/55150
      	* lra-constraints.c (lra_constraints): Update debug insn info
      	after equivalence change.
      
      2012-10-31  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR middle-end/55150
      	* gcc.dg/pr55150.c: New test.
      
      From-SVN: r193042
      Vladimir Makarov committed
    • re PR fortran/55134 (associate construct and assumed size array) · 2d98d2b4
      2012-10-31  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/55134
              * trans-array.c (gfc_conv_array_parameter): Regard AS_DEFERRED
              * as
              array with descriptor.
      
      2012-10-31  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/55134
              * gfortran.dg/associate_11.f90: New.
      
      From-SVN: r193041
      Tobias Burnus committed
    • validate_failures.py: Fix parsing of summary lines. · 3b1de8eb
      	* testsuite-management/validate_failures.py: Fix parsing
      	of summary lines.
      
      From-SVN: r193039
      Diego Novillo committed
    • ipa-inline.c (ipa_inline): Avoid infinite loop on inlining empty virtual… · e3c7b49c
      ipa-inline.c (ipa_inline): Avoid infinite loop on inlining empty virtual functions calling themselves.
      
      
      	* ipa-inline.c (ipa_inline): Avoid infinite loop on inlining
      	empty virtual functions calling themselves.
      
      From-SVN: r193038
      Jan Hubicka committed
    • complex.c (csqrtq): NaN and INF fixes. · 737df6e6
      2012-10-31  Tobias Burnus  <burnus@net-b.de>
                  Joseph Myers <joseph@codesourcery.com>
                  David S. Miller <davem@davemloft.net>
                  Ulrich Drepper <drepper@redhat.com>
                  Marek Polacek <polacek@redhat.com>:
                  Petr Baudis <pasky@suse.cz>
      
              * math/complex.c (csqrtq): NaN and INF fixes.
              * math/sqrtq.c (sqrt): NaN, INF and < 0 fixes.
              * math/expm1q.c (expm1q): Changes from GLIBC. Use expq for
              large parameters. Fix errno for boundary conditions.
              * math/finiteq.c (finiteq): Add comment.
              * math/fmaq.c (fmaq): Changes from GLIBC. Fix missing underflows
              and bad results for some subnormal results. Fix sign of inexact
              zero return. Fix sign of exact zero return.
              Ensure additions are not scheduled after fetestexcept.
              * math/jnq.c (jnq): Changes from GLIBC. Set up errno properly
              for ynq. Fix jnq precision.
              * math/nearbyintq.c (nearbyintq): Changes from GLIBC. Do not
              manipulate bits before adding and subtracting TWO112[sx].
              * math/rintq.c (rintq): Ditto.
              * math/scalbnq.c (scalbnq): Changes from GLIBC. Fix integer
              overflow.
      
      
      Co-Authored-By: David S. Miller <davem@davemloft.net>
      Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
      Co-Authored-By: Ulrich Drepper <drepper@redhat.com>
      
      From-SVN: r193037
      Tobias Burnus committed
    • re PR other/50899 (need @direntry for gcov) · be028f91
      	PR other/50899
      	* doc/gcc.texi: Add @direntry for gcov.
      
      From-SVN: r193036
      Tom Tromey committed
    • Uppercase in ChangeLog. · c89e29b4
      From-SVN: r193034
      Marc Glisse committed
    • os_defines.h: Do not define anymore _GLIBCXX_HAVE_BROKEN_VSWPRINTF. · 261f93e0
      2012-10-31  Jonathan Yong  <jon_y@users.sourceforge.net>
      
      	* config/os/mingw32-w64/os_defines.h: Do not define anymore
      	_GLIBCXX_HAVE_BROKEN_VSWPRINTF.
      
      From-SVN: r193033
      Jonathan Yong committed
    • os_defines.h: Do not define anymore _GLIBCXX_HAVE_BROKEN_VSWPRINTF. · e3b74442
      2012-10-31  Jonathan Yong  <jon_y@users.sourceforge.net>
      
      	* config/os/mingw32-w64/os_defines.h: Do not define anymore
      	_GLIBCXX_HAVE_BROKEN_VSWPRINTF.
      
      From-SVN: r193032
      Jonathan Yong committed
    • PR c++/54955 - Fail to parse alignas expr at the beginning of a declaration · e82b2e88
      In this PR, g++ embarrassingly fails to parse the simple alignas
      expression below:
      
          alignas(double) int f;
      
      even though the simple-declaration production in Clause 7 suggests
      otherwise.
      
      Fixed thus and tested on x86_64-unknown-linux-gnu against trunk.
      
      gcc/cp
      
      	PR c++/54955
      	* parser.c (cp_nth_tokens_can_be_std_attribute_p): Recognize the
      	'Alignas' keyword as the beginning of a c++11 attribute specifier.
      	Update the comment of the function.
      	(cp_next_tokens_can_be_gnu_attribute_p): Update the comment of the
      	function.
      
      gcc/testsuite/
      
      	PR c++/54955
      	* g++.dg/cpp0x/gen-attrs-48-2.C: New test.
      
      From-SVN: r193029
      Dodji Seketeli committed
    • re PR tree-optimization/19105 (fold does not spot anti-range test) · d578e863
      	PR tree-optimization/19105
      	PR tree-optimization/21643
      	PR tree-optimization/46309
      	* tree-ssa-reassoc.c (init_range_entry): Add STMT argument
      	and use it if EXP is NULL.
      	(update_range_test): Handle OPCODE equal to ERROR_MARK
      	and oe->op NULL.
      	(optimize_range_tests): Likewise.
      	(final_range_test_p, suitable_cond_bb, no_side_effect_bb, get_ops,
      	maybe_optimize_range_tests): New functions.
      	(reassociate_bb): Call maybe_optimize_range_tests if last
      	stmt of bb is GIMPLE_COND that hasn't been visited yet.
      
      	* gcc.dg/pr19105.c: New test.
      	* gcc.dg/pr21643.c: New test.
      	* gcc.dg/pr46309-2.c: New test.
      	* gcc.c-torture/execute/pr46309.c: New test.
      
      From-SVN: r193028
      Jakub Jelinek committed
    • rs6000.md (insvsi, [...]): Rename to... · c727fb67
      gcc/
      	* config/rs6000/rs6000.md (insvsi, insvdi, extvsi, extvdi): Rename to...
      	(insvsi_internal, insvdi_internal, extvsi_internal)
      	(extvdi_internal): ...this.
      	(insv, extv): Update accordingly.
      
      From-SVN: r193027
      Richard Sandiford committed