Skip to content
Snippets Groups Projects
  1. May 24, 2013
    • Jakub Jelinek's avatar
      chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, include unistd.h and sys/syscall.h. · 2e8a9734
      Jakub Jelinek authored
      	* src/c++11/chrono.cc: If _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL,
      	include unistd.h and sys/syscall.h.  If _GLIBCXX_COMPATIBILITY_CXX0X,
      	don't define system_clock::is_steady, system_clock::now() and
      	steady_clock::is_steady.
      	(std::chrono::system_clock::now()): If
      	_GLIBCXX_USE_CLOCK_GETTIME_SYSCALL, call
      	syscall (SYS_clock_gettime, ...) instead of clock_gettime (...).
      	(std::chrono::system_clock::now()): Likewise.  Add weak attribute
      	if _GLIBCXX_COMPATIBILITY_CXX0X and compatibility-chrono.cc will
      	be non-empty.
      	* src/Makefile.am (cxx11_sources): Add compatibility-chrono.cc.
      	(compatibility-chrono.lo, compatibility-chrono.o): New goals.
      	* src/c++11/compatibility-chrono.cc: New file.
      	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): On linux*, check for
      	syscall (SYS_clock_gettime, CLOCK_MONOTONIC, &tp).
      	* testsuite/util/testsuite_abi.cc (check_version): Add
      	GLIBCXX_3.4.20 version and make it the latest.
      	* config/abi/pre/gnu.ver (_ZNSt6chrono12steady_clock3nowEv): Export
      	also @@GLIBCXX_3.4.19.  Move all symbols so far added for GCC 4.9 to
      	@@GLIBCXX_3.4.20 instead.
      	* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Regenerated.
      	* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Regenerated.
      	* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt:
      	Regenerated.
      	* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
      	Regenerated.
      	* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
      	* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt:
      	Regenerated.
      	* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Regenerated.
      	* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Regenerated.
      	* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Regenerated.
      	* config/abi/post/solaris2.10/baseline_symbols.txt: Regenerated.
      	* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Regenerated.
      	* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt:
      	Regenerated.
      	* config/abi/post/solaris2.9/baseline_symbols.txt: Regenerated.
      	* config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Regenerated.
      	* config.h.in: Regenerated.
      	* src/Makefile.in: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r199307
      2e8a9734
    • Paolo Carlini's avatar
      re PR c++/19618 (Do warn if a bit-field exceeds the size of a bool type) · 7f5d76fb
      Paolo Carlini authored
      /cp
      2013-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/19618
      	* class.c (check_bitfield_decl): Warn for bool and enum bitfields
      	with width exceeding the type.
      
      /testsuite
      2013-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/19618
      	* g++.dg/expr/bitfield12.C: New.
      
      From-SVN: r199306
      7f5d76fb
    • Jeff Law's avatar
      re PR tree-optimization/57124 (254.gap@spec2000 got miscompare after r198413) · 2343af65
      Jeff Law authored
      	PR tree-optimization/57124
      	* tree-vrp.c (simplify_cond_using_ranges): Only simplify a
      	conversion feeding a condition if the range has an overflow
      	if -fstrict-overflow.  Add warnings for when we do make the
      	transformation.
      
      	PR tree-optimization/57124
      	* gcc.c-torture/execute/pr57124.c: New test.
      	* gcc.c-torture/execute/pr57124.x: Set -fno-strict-overflow.
      
      From-SVN: r199305
      2343af65
    • David Malcolm's avatar
      Fix formatting of ChangeLog entries · dd1c676f
      David Malcolm authored
      From-SVN: r199302
      dd1c676f
    • Dehao Chen's avatar
      Fix the typo of discriminator. · 3ad695b9
      Dehao Chen authored
      2013-05-24  Dehao Chen  <dehao@google.com>
      
      	* gcc/tree-cfg.c (locus_discrim_map): Fix the typo.
      	(locus_discrim_hasher): Likewise.
      	(locus_discrim_hasher::hash): Likewise.
      	(locus_discrim_hasher::equal): Likewise.
      
      From-SVN: r199300
      3ad695b9
    • Martin Jambor's avatar
      re PR tree-optimization/57294 (ice in remove_described_reference) · 82338059
      Martin Jambor authored
      2013-05-24  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/57294
      	* cgraph.h (ipa_record_stmt_references): Declare.
      	* cgraphbuild.c (ipa_record_stmt_references): New function.
      	(build_cgraph_edges): Use ipa_record_stmt_references.
      	(rebuild_cgraph_edges): Likewise.
      	(cgraph_rebuild_references): Likewise.
      	* ipa-prop.c (ipa_modify_call_arguments): Discard references
      	associated with the old statement and build references from the
      	newly built statements.
      	* ipa-ref.c (ipa_remove_stmt_references): New function.
      	* ipa-ref.h (ipa_remove_stmt_references): Declare.
      
      testsuite/
      	* gcc.dg/ipa/pr57294.c: New test.
      
      From-SVN: r199299
      82338059
    • Vladimir Makarov's avatar
      lra-constraints.c (emit_spill_move): Use smaller mode for mem-mem moves. · 1ccd4874
      Vladimir Makarov authored
      2013-05-24  Vladimir Makarov  <vmakarov@redhat.com>
      
              * lra-constraints.c (emit_spill_move): Use smaller mode for
      	mem-mem moves.
              (check_and_process_move): Consider mem-reg moves for secondary
      	too.
              (curr_insn_transform): Don't lose insns emitted before for
      	secondary memory moves.
      	(inherit_in_ebb): Mark defined reg.  Add usage only if it is not a
      	reg set up in the current insn.
      
      From-SVN: r199298
      1ccd4874
    • Chung-Ju Wu's avatar
      download_prerequisites: Download isl and cloog conditionally. · a8db5990
      Chung-Ju Wu authored
      2013-05-24  Chung-Ju Wu  <jasonwucj@gmail.com>
      
              * download_prerequisites: Download isl and cloog conditionally.
      
      From-SVN: r199297
      a8db5990
    • Dehao Chen's avatar
      Change the discriminator assignment algorithm to make it more robust. · 25e25c73
      Dehao Chen authored
      2013-05-24  Dehao Chen  <dehao@google.com>
      
      	* gcc/testsuite/gcc.dg/debug/dwarf2/discriminator.c: New Testcase.
      	* gcc/tree-cfg.c (locus_descrim_hasher::hash): Change discrminator
      	hash function.
      	(locus_descrim_hasher::equal): Likewise.
      	(build_gimple_cfg): New discrminator assignmnet algorithm
      	(make_edges): Likewise.
      	(next_discriminator_for_locus): Likewise.
      	(same_line_p): Likewise.
      	(assign_discriminators): Likewise.
      	(make_cond_expr_edges): Likewise.
      	(make_gimple_switch_edges): Likewise.
      	(make_goto_expr_edges): Likewise.
      	(make_gimple_asm_edges): Likewise.
      
      From-SVN: r199295
      25e25c73
    • Ian Bolton's avatar
      AArch64 - fix invalid assembler in testcase · 06d50e21
      Ian Bolton authored
      From-SVN: r199294
      06d50e21
    • Ian Bolton's avatar
      50d38551
    • Jason Merrill's avatar
      re PR c++/57391 (ICE compiling AIX math.h caused by PR c++/56930) · f746a029
      Jason Merrill authored
      	PR c++/57391
      	* semantics.c (cxx_eval_constant_expression): Handle FMA_EXPR.
      	(cxx_eval_trinary_expression): Rename from cxx_eval_vec_perm_expr.
      
      From-SVN: r199292
      f746a029
    • Richard Biener's avatar
      re PR middle-end/57287 (Bogus uninitialized warning with abnormal control flow) · aea0101d
      Richard Biener authored
      2013-05-24  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/57287
      	* tree-ssa-uninit.c (compute_uninit_opnds_pos): Disregard
      	all SSA names that occur in abnormal PHIs.
      
      	* gcc.dg/pr57287.c: New testcase.
      
      From-SVN: r199289
      aea0101d
    • Paolo Carlini's avatar
      re PR c++/26572 (Invalid local class definition not diagnosed) · 99b8202a
      Paolo Carlini authored
      2013-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/26572
      	* g++.dg/template/error51.C: New.
      
      2013-05-24  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/25503
      	* g++.dg/template/bitfield2.C: New.
      
      From-SVN: r199288
      99b8202a
    • Eric Botcazou's avatar
      gigi.h (gnat_init_gcc_fp): Declare. · df09b22c
      Eric Botcazou authored
      	* gcc-interface/gigi.h (gnat_init_gcc_fp): Declare.
      	* gcc-interface/trans.c (gigi): Call it.
      	* gcc-interface/misc.c (gnat_init_gcc_fp): New function.
      
      From-SVN: r199287
      df09b22c
    • Eric Botcazou's avatar
      gigi.h (enum inline_status_t): New type. · 0e24192c
      Eric Botcazou authored
      	* gcc-interface/gigi.h (enum inline_status_t): New type.
      	(create_subprog_decl): Adjust prototype.
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Adjust
      	calls to create_subprog_decl.
      	(get_minimal_subprog_decl): Likewise.
      	* gcc-interface/trans.c (gigi): Likewise.
      	(build_raise_check): Likewise.
      	(establish_gnat_vms_condition_handler): Likewise.
      	(Compilation_Unit_to_gnu): Likewise.
      	(gnat_to_gnu): Likewise.
      	* gcc-interface/utils.c (create_subprog_decl): Change inline_flag
      	parameter to inline_status and implement for suppressed inlining.
      
      From-SVN: r199286
      0e24192c
    • Rainer Orth's avatar
      Use -z ignore instead of --as-needed on Solaris · 828012a5
      Rainer Orth authored
      	* acinclude.m4 (libgfor_cv_have_as_needed): Check for -z ignore, too.
      	* configure: Regenerate.
      
      From-SVN: r199285
      828012a5
    • Kirill Yukhin's avatar
      re PR tree-optimization/57385 ([tree-ssa] Possible segfault in fully_constant_vn_reference_p) · 905b92cb
      Kirill Yukhin authored
      	PR tree-ssa/57385
      	* gcc.dg/tree-ssa/pr57385.c: New test.
      
      From-SVN: r199283
      905b92cb
    • Alexander Ivchenko's avatar
      re PR tree-optimization/57385 ([tree-ssa] Possible segfault in fully_constant_vn_reference_p) · 634e03d3
      Alexander Ivchenko authored
      gcc/ChangeLog
              PR tree-ssa/57385
              * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check
              that index is not negative.
      
      gcc/testsuite/ChangeLog
              PR tree-ssa/57385
              * gcc.dg/tree-ssa/pr57385.c: New test.
      
      From-SVN: r199282
      634e03d3
    • Eric Botcazou's avatar
      ada-tree.h (LOOP_STMT_NO_UNROLL): New define. · 633a3f2a
      Eric Botcazou authored
      	* gcc-interface/ada-tree.h (LOOP_STMT_NO_UNROLL): New define.
      	(LOOP_STMT_UNROLL): Likewise.
      	(LOOP_STMT_NO_VECTOR): Likewise.
      	(LOOP_STMT_VECTOR): Likewise.
      	* gcc-interface/trans.c (struct loop_info_d): Replace label field
      	with stmt field.
      	(Pragma_to_gnu) <Pragma_Loop_Optimize>: New case.
      	(Loop_Statement_to_gnu): Save the loop statement onto the stack
      	instead of the label.
      	(gnat_to_gnu) <N_Exit_Statement>: Retrieve the loop label.
      
      From-SVN: r199281
      633a3f2a
    • Eric Botcazou's avatar
      trans.c: Include diagnostic.h and opts.h. · f2423384
      Eric Botcazou authored
      	* gcc-interface/trans.c: Include diagnostic.h and opts.h.
      	(Pragma_to_gnu) <Pragma_Warnings>: New case.
      
      From-SVN: r199280
      f2423384
    • Eric Botcazou's avatar
      decl.c (gnat_to_gnu_entity): Constify a handful of local variables. · 908ba941
      Eric Botcazou authored
      	* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Constify
      	a handful of local variables.
      	For a derived untagged type that renames discriminants, change the type
      	of the stored discriminants to a subtype with the bounds of the type
      	of the visible discriminants.
      	(build_subst_list): Rename local variable.
      
      From-SVN: r199279
      908ba941
    • Eric Botcazou's avatar
      re PR tree-optimization/55177 (missed optimizations with __builtin_bswap) · b17c024f
      Eric Botcazou authored
      	PR rtl-optimization/55177
      	* simplify-rtx.c (simplify_unary_operation_1) <NOT>: Deal with BSWAP.
      	(simplify_byte_swapping_operation): New.
      	(simplify_binary_operation_1): Call it for AND, IOR and XOR.
      	(simplify_relational_operation_1): Deal with BSWAP.
      
      From-SVN: r199278
      b17c024f
    • GCC Administrator's avatar
      Daily bump. · d0c70325
      GCC Administrator authored
      From-SVN: r199273
      d0c70325
  2. May 23, 2013
Loading