1. 03 Feb, 2014 9 commits
  2. 02 Feb, 2014 14 commits
    • nios2.md (load_got_register): Initialize GOT pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_. · 02b67731
      2014-02-02  Sandra Loosemore  <sandra@codesourcery.com>
      
      	gcc/
      	* config/nios2/nios2.md (load_got_register): Initialize GOT
      	pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_.
      	* config/nios2/nios2.c (nios2_function_profiler): Likewise.
      
      	libgcc/
      	* config/nios2/crti.S (_init): Initialize GOT pointer from
      	_gp_got instead of _GLOBAL_OFFSET_TABLE_.
      
      From-SVN: r207409
      Sandra Loosemore committed
    • re PR c++/37140 (type inherited from base class not recognized) · 1c50676a
      2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>
              PR c++/37140
              * parser.c (cp_parser_nonclass_name): Call strip_using_decl and
      	move the code handling dependent USING_DECLs...
              * name-lookup.c (strip_using_decl): ...Here.
      
      2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>
      
              PR c++/37140
              * g++.dg/template/using27.C: New.
      	* g++.dg/template/using28.C: New.
      	* g++.dg/template/using29.C: New.
      
      From-SVN: r207408
      Fabien Chêne committed
    • re PR c++/37140 (type inherited from base class not recognized) · 7f82286e
      2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>
              PR c++/37140
              * parser.c (cp_parser_nonclass_name): Call strip_using_decl and
      	move the code handling dependent USING_DECLs...
              * name-lookup.c (strip_using_decl): ...Here.
      
      2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>
      
              PR c++/37140
              * g++.dg/template/using27.C: New.
      	* g++.dg/template/using28.C: New.
      	* g++.dg/template/using29.C: New.
      
      From-SVN: r207407
      Fabien Chêne committed
    • ipa-prop.c (update_jump_functions_after_inlining): When type is not preserverd… · 2ace77c2
      ipa-prop.c (update_jump_functions_after_inlining): When type is not preserverd by passthrough, do not propagate the type.
      
      
      
      	* ipa-prop.c (update_jump_functions_after_inlining): When type is not
      	preserverd by passthrough, do not propagate the type.
      	* g++.dg/ipa/devirt-23.C: New testcase.
      
      From-SVN: r207405
      Jan Hubicka committed
    • gcc.pot: Regenerate. · e738433e
      gcc/po:
      	* gcc.pot: Regenerate.
      
      libcpp/po:
      	* cpplib.pot: Regenerate.
      
      From-SVN: r207404
      Joseph Myers committed
    • configure.ac: Check __mips64 when setting host_address. · 1ea0a651
      libgcc/
      	* configure.ac: Check __mips64 when setting host_address.
      	* configure: Regenerate.
      	* config.host (mips*-*-*): Add t-softfp-sfdf, mips/t-softfp-tf,
      	mips/t-mips64 and t-softfp.
      	(mips*-*-linux*): Don't add mips/t-tpbit.
      	* config/mips/t-mips (LIB2_SIDITI_CONV_FUNCS, FPBIT, FPBIT_CFLAGS)
      	(DPBIT, DPBIT_CFLAGS): Delete.
      	* config/mips/sfp-machine.h: New file.
      	* config/mips/t-mips64: Likewise.
      	* config/mips/t-softfp-tf: Likewise.
      	* config/mips/t-tpbit: Delete.
      
      From-SVN: r207403
      Richard Sandiford committed
    • mips.c (MIPS_GET_FCSR, [...]): New macros. · 70b2d364
      gcc/
      	* config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros.
      	(mips_atomic_assign_expand_fenv): New function.
      	(TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
      
      From-SVN: r207402
      Richard Sandiford committed
    • extend.texi (__builtin_mips_get_fcsr): Document. · a90c0245
      gcc/
      	* doc/extend.texi (__builtin_mips_get_fcsr): Document.
      	(__builtin_mips_set_fcsr): Likewise.
      	* config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and
      	MIPS_USI_FTYPE_VOID.
      	* config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare
      	(mips16_expand_set_fcsr): Likewise.
      	* config/mips/mips.c (mips16_get_fcsr_stub): New variable.
      	(mips16_set_fcsr_stub): Likewise.
      	(mips16_get_fcsr_one_only_stub): New class.
      	(mips16_set_fcsr_one_only_stub): Likewise.
      	(mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions.
      	(mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed.
      	(BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros.
      	(hard_float): New availability predicate.
      	(mips_builtins): Add get_fcsr and set_fcsr.
      	(mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16.
      	* config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs.
      	(GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants.
      	(mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>)
      	(mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New
      	patterns.
      
      gcc/testsuite/
      	* gcc.target/mips/get-fcsr-1.c, gcc.target/mips/get-fcsr-2.c,
      	gcc.target/mips/set-fcsr-1.c, gcc.target/mips/set-fcsr-2.c: New tests.
      
      From-SVN: r207401
      Richard Sandiford committed
    • mips.c (mips_one_only_stub): New class. · 6d51cc90
      gcc/
      	* config/mips/mips.c (mips_one_only_stub): New class.
      	(mips_need_mips16_rdhwr_p): Replace with...
      	(mips16_rdhwr_stub): ...this new variable.
      	(mips16_stub_call_address): New function.
      	(mips16_rdhwr_one_only_stub): New class.
      	(mips_expand_thread_pointer): Use mips16_stub_call_address.
      	(mips_output_mips16_rdhwr): Delete.
      	(mips_finish_stub): New function.
      	(mips_code_end): Use it to handle rdhwr stubs.
      
      From-SVN: r207400
      Richard Sandiford committed
    • re PR target/60017 (Struct not returned correctly) · 6c90f137
      	PR target/60017
      	* config/i386/i386.c (classify_argument): Fix handling of bit_offset
      	when calculating size of integer atomic types.
      
      testsuite/ChangeLog:
      
      	PR target/60017
      	* gcc.c-torture/execute/pr60017.c: New test.
      
      From-SVN: r207399
      Uros Bizjak committed
    • Fix a typo in comments · 5e64bbbb
      	* ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments.
      
      From-SVN: r207398
      H.J. Lu committed
    • ChangeLog: Fix whitespace. · 33425d6c
      	* ChangeLog: Fix whitespace.
      	* testsuite/ChangeLog: Ditto.
      
      From-SVN: r207397
      Uros Bizjak committed
    • re PR fortran/57033 (ICE on extended derived type and default initialization) · 792f7301
      fortran/
              PR fortran/57033
              * primary.c (gfc_convert_to_structure_constructor): Avoid null pointer
              dereference.
      
      testsuite/
              PR fortran/57033
              * gfortran.dg/default_initialization_7.f90: New test.
      
      From-SVN: r207396
      Mikael Morin committed
    • Daily bump. · e36c1211
      From-SVN: r207393
      GCC Administrator committed
  3. 01 Feb, 2014 8 commits
  4. 31 Jan, 2014 9 commits
    • re PR bootstrap/59985 (stage2/3 compare error on lto-streamer-in.o) · 6334f3e9
      2014-01-31  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR bootstrap/59985
      	* lra-constraints.c (process_alt_operands): Update reload_sum only
      	on the first pass.
      
      2014-01-31  Vladimir Makarov  <vmakarov@redhat.com>
      
      	PR bootstrap/59985
      	* gcc.target/arm/pr59985.C: New.
      
      From-SVN: r207375
      Vladimir Makarov committed
    • re PR sanitizer/59410 (tsan tests fail with address randomization disabled) · eecd8b7c
      	PR sanitizer/59410
      	* lib/tsan-dg.exp (tsan_init): Instead of not running any
      	tsan tests if trivial testcase doesn't run, set dg-do-what-default
      	to compile.
      	(tsan_finish): Restore dg-do-what-default.
      	* g++.dg/tsan/atomic_free.C: Remove dg-do line.
      	* g++.dg/tsan/fd_close_norace2.C: Likewise.
      	* g++.dg/tsan/default_options.C: Likewise.
      	* g++.dg/tsan/aligned_vs_unaligned_race.C: Likewise.
      	* g++.dg/tsan/atomic_free2.C: Likewise.
      	* g++.dg/tsan/cond_race.C: Likewise.
      	* g++.dg/tsan/fd_close_norace.C: Likewise.
      	* g++.dg/tsan/benign_race.C: Likewise.
      	* c-c++-common/tsan/fd_pipe_race.c: Likewise.
      	* c-c++-common/tsan/simple_race.c: Likewise.
      	* c-c++-common/tsan/mutexset1.c: Likewise.
      	* c-c++-common/tsan/thread_leak2.c: Likewise.
      	* c-c++-common/tsan/tls_race.c: Likewise.
      	* c-c++-common/tsan/write_in_reader_lock.c: Likewise.
      	* c-c++-common/tsan/race_on_barrier2.c: Likewise.
      	* c-c++-common/tsan/free_race2.c: Likewise.
      	* c-c++-common/tsan/thread_leak.c: Likewise.
      	* c-c++-common/tsan/thread_leak1.c: Likewise.
      	* c-c++-common/tsan/race_on_barrier.c: Likewise.
      	* c-c++-common/tsan/free_race.c: Likewise.
      	* c-c++-common/tsan/sleep_sync.c: Likewise.
      	* c-c++-common/tsan/tiny_race.c: Likewise.
      	* c-c++-common/tsan/race_on_mutex2.c: Likewise.
      	* c-c++-common/tsan/atomic_stack.c: Likewise.
      	* c-c++-common/tsan/race_on_mutex.c: Likewise.  Adjust line numbers
      	in dg-output regexps.
      	* c-c++-common/tsan/simple_stack.c: Likewise.
      
      From-SVN: r207371
      Jakub Jelinek committed
    • re PR middle-end/60004 (Conditional return within transaction causes ICE) · efa7882f
      PR middle-end/60004
      
              * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
              until after else_eh is processed.
      
      	* g++.dg/tm/pr60004.C: New.
      
      From-SVN: r207367
      Richard Henderson committed
    • re PR ipa/59469 (LLVM build failure with gcc LTO) · 3d27e066
      	PR c++/59469
      	* pt.c (mark_decl_instantiated): Call mark_needed.
      
      From-SVN: r207366
      Jason Merrill committed
    • * g++.dg/tls/thread_local8.C: Require tls. · d2050c1a
      From-SVN: r207364
      Jason Merrill committed
    • re PR c++/58672 ([c++11] ICE with thread_local and variable of broken class) · 6962711f
      	PR c++/58672
      	* decl2.c (handle_tls_init): Handle null init fn.
      
      From-SVN: r207363
      Jason Merrill committed
    • re PR c++/55800 (Link failure with thread_local in unnamed namespace) · 99a82a1e
      	PR c++/55800
      	* decl2.c (get_tls_init_fn): Copy DECL_EXTERNAL from the variable.
      
      From-SVN: r207360
      Jason Merrill committed
    • re PR c++/59082 (ICE with duplicate (virtual) base) · f1f82a37
      /cp
      2014-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59082
      	* class.c (build_vfield_ref): Early return error_mark_node if
      	TYPE_VFIELD (type) is null.
      	(build_base_path): Check return value of build_vfield_ref.
      
      /testsuite
      2014-01-31  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/59082
      	* g++.dg/inherit/crash4.C: New.
      
      From-SVN: r207359
      Paolo Carlini committed
    • [multiple changes] · d66f9f0b
      2014-01-31  Robert Dewar  <dewar@adacore.com>
      
      	* exp_ch9.adb: Minor reformatting.
      
      2014-01-31  Emmanuel Briot  <briot@adacore.com>
      
      	* g-comlin.adb (Set_Command_Line): Take the switches
      	configuration from the Command_Line_Config.
      
      2014-01-31  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_Refinement_Clause): Guard against a malformed
      	refinement clause.
      
      2014-01-31  Vincent Celier  <celier@adacore.com>
      
      	* projects.texi: Add more documentation about others used as an
      	index in indexed attributes.
      
      From-SVN: r207358
      Arnaud Charlet committed