]> git.ipfire.org Git - thirdparty/gcc.git/log
thirdparty/gcc.git
11 years agore PR fortran/60677 (FAIL: gfortran.dg/ichar_3.f90 -O (test for excess errors))
Mikael Morin [Sat, 29 Mar 2014 11:07:57 +0000 (11:07 +0000)] 
re PR fortran/60677 (FAIL: gfortran.dg/ichar_3.f90  -O  (test for excess errors))

fortran/
PR fortran/60677
* trans-intrinsic.c (gfc_conv_intrinsic_ichar): Enlarge argument
list buffer.

From-SVN: r208932

11 years agoDaily bump.
GCC Administrator [Sat, 29 Mar 2014 00:16:54 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208929

11 years agore PR fortran/60576 (FAIL: gfortran.dg/assumed_rank_7.f90)
Mikael Morin [Fri, 28 Mar 2014 20:56:28 +0000 (20:56 +0000)] 
re PR fortran/60576 (FAIL: gfortran.dg/assumed_rank_7.f90)

2014-03-28  Mikael Morin  <mikael@gcc.gnu.org>
            Tobias Burnus  <burnus@net-b.de>

        PR fortran/60576
        * trans-expr.c (gfc_conv_derived_to_class): Avoid
        generation of out-of-bounds range expr.

Co-Authored-By: Tobias Burnus <burnus@net-b.de>
From-SVN: r208923

11 years agore PR fortran/60522 (WHERE construct causes an ICE in gfc_trans_where_2)
Thomas Koenig [Fri, 28 Mar 2014 07:17:13 +0000 (07:17 +0000)] 
re PR fortran/60522 (WHERE construct causes an ICE in gfc_trans_where_2)

2014-04-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60522
* frontend-passes.c (cfe_code):  Do not walk subtrees
for WHERE.

2014-04-28  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/60522
* gfortran.dg/where_4.f90:  New test case.

From-SVN: r208890

11 years agoDaily bump.
GCC Administrator [Fri, 28 Mar 2014 00:17:00 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r208885

11 years agoDaily bump.
GCC Administrator [Thu, 27 Mar 2014 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208858

11 years agofutex_bits.h: Include errno.h.
Jakub Jelinek [Wed, 26 Mar 2014 21:53:08 +0000 (22:53 +0100)] 
futex_bits.h: Include errno.h.

* config/linux/futex_bits.h: Include errno.h.
(sys_futex0): If syscall returns -1, return -errno rather than
-1.

From-SVN: r208856

11 years agore PR libstdc++/59548 (Abort after copying std::unordered_map in debug mode)
Jonathan Wakely [Wed, 26 Mar 2014 19:41:16 +0000 (19:41 +0000)] 
re PR libstdc++/59548 (Abort after copying std::unordered_map in debug mode)

PR libstdc++/59548
* include/debug/safe_unordered_base.h (_Safe_unordered_container_base):
Define copy and move constructors that handle iterators correctly.
* testsuite/23_containers/unordered_map/59548.cc: New.

From-SVN: r208850

11 years agore PR middle-end/60419 (ICE Segmentation fault)
Martin Jambor [Wed, 26 Mar 2014 13:47:46 +0000 (14:47 +0100)] 
re PR middle-end/60419 (ICE Segmentation fault)

2014-03-26  Martin Jambor  <mjambor@suse.cz>

      PR ipa/60419
      * ipa.c (symtab_remove_unreachable_nodes): Clear thunk and
      alias flags of nodes in the border.

testsuite/
      * g++.dg/ipa/pr60419.C: New test.

From-SVN: r208844

11 years agore PR rtl-optimization/60452 (wrong code at -O1 with large offsets in the frame)
Eric Botcazou [Wed, 26 Mar 2014 07:42:30 +0000 (07:42 +0000)] 
re PR rtl-optimization/60452 (wrong code at -O1 with large offsets in the frame)

PR rtl-optimization/60452
* rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment.
<case REG>: Return 1 for invalid offsets from the frame pointer.

From-SVN: r208838

11 years agoDaily bump.
GCC Administrator [Wed, 26 Mar 2014 00:17:01 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r208828

11 years agore PR libstdc++/60658 (std::atomic<T*> is unexpectedly not lock-free)
Jonathan Wakely [Tue, 25 Mar 2014 20:13:46 +0000 (20:13 +0000)] 
re PR libstdc++/60658 (std::atomic<T*> is unexpectedly not lock-free)

PR libstdc++/60658
* include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
Use sizeof pointer type not the element type.
* testsuite/29_atomics/atomic/60658.cc: New.

PR libstdc++/60658
* include/bits/atomic_base.h (__atomic_base<_PTp*>::is_lock_free()):
Use sizeof pointer type not the element type.
* testsuite/29_atomics/atomic/60658.cc: New.

From-SVN: r208820

11 years agoDaily bump.
GCC Administrator [Tue, 25 Mar 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208801

11 years agore PR middle-end/60429 (Miscompilation (aliasing) with -finline-functions)
Richard Biener [Mon, 24 Mar 2014 08:42:37 +0000 (08:42 +0000)] 
re PR middle-end/60429 (Miscompilation (aliasing) with -finline-functions)

2014-03-24  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60429
* tree-ssa-structalias.c (get_constraint_for_ptr_offset): Remove
duplicated line.

From-SVN: r208784

11 years agoDaily bump.
GCC Administrator [Mon, 24 Mar 2014 00:16:51 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208778

11 years agore PR rtl-optimization/60601 (profiledbootstrap fails with Ada)
Eric Botcazou [Sun, 23 Mar 2014 11:30:57 +0000 (11:30 +0000)] 
re PR rtl-optimization/60601 (profiledbootstrap fails with Ada)

PR rtl-optimization/60601
* bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.

* gcc.c (eval_spec_function): Initialize save_growing_value.

From-SVN: r208771

11 years agoDaily bump.
GCC Administrator [Sun, 23 Mar 2014 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208768

11 years agoDaily bump.
GCC Administrator [Sat, 22 Mar 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208761

11 years agoDaily bump.
GCC Administrator [Fri, 21 Mar 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208742

11 years agore PR fortran/60543 (Function with side effect removed by the optimizer.)
Tobias Burnus [Thu, 20 Mar 2014 19:42:00 +0000 (20:42 +0100)] 
re PR fortran/60543 (Function with side effect removed by the optimizer.)

2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine, resolve_ordinary_assign): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait, check_io_constraints): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-20  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.

From-SVN: r208732

11 years agoChangeLog: Fix typo
Joel Sherrill [Thu, 20 Mar 2014 16:14:51 +0000 (16:14 +0000)] 
ChangeLog: Fix typo

From-SVN: r208713

11 years agoconfig.host (v850*-*-*): Add to tmake_file instead of resetting it.
Joel Sherrill [Thu, 20 Mar 2014 16:12:30 +0000 (16:12 +0000)] 
config.host (v850*-*-*): Add to tmake_file instead of resetting it.

2014-03-20  Joel Sherrill  <joel.sherrill@oarcorp.com>

* config.host (v850*-*-*): Add to tmake_file instead of resetting
it. This was removing the v850*-*-rtems* settings.

From-SVN: r208709

11 years agore PR target/60568 (lto1: internal compiler error: in insn_min_length, at config...
Jakub Jelinek [Thu, 20 Mar 2014 16:10:33 +0000 (17:10 +0100)] 
re PR target/60568 (lto1: internal compiler error: in insn_min_length, at config/i386/i386.md:1599)

PR target/60568
* config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
into CONST, put pic register as first operand of PLUS.  Use
gen_const_mem for both 32-bit and 64-bit PIC got loads.

From-SVN: r208707

11 years agosparc.c (sparc_do_work_around_errata): Implement work around for store forwarding...
Eric Botcazou [Thu, 20 Mar 2014 11:40:20 +0000 (11:40 +0000)] 
sparc.c (sparc_do_work_around_errata): Implement work around for store forwarding issue in the FPU on the UT699.

* config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
around for store forwarding issue in the FPU on the UT699.
* config/sparc/sparc.md (in_branch_delay): Return false for single FP
loads and operations if -mfix-ut699 is specified.
(divtf3_hq): Tweak attribute.
(sqrttf2_hq): Likewise.

From-SVN: r208696

11 years agoDaily bump.
GCC Administrator [Thu, 20 Mar 2014 00:17:02 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r208690

11 years agoDaily bump.
GCC Administrator [Wed, 19 Mar 2014 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208671

11 years agore PR rtl-optimization/56356 (DJGPP compiler crashing)
Kai Tietz [Tue, 18 Mar 2014 20:06:37 +0000 (21:06 +0100)] 
re PR rtl-optimization/56356 (DJGPP compiler crashing)

PR rtl-optimization/56356
* sdbout.c (sdbout_parms): Verify that parms'
incoming argument is valid.
(sdbout_reg_parms): Likewise.

From-SVN: r208664

11 years agore PR libstdc++/60564 ([C++11] The std::packaged_task constructor taking a reference...
Jonathan Wakely [Tue, 18 Mar 2014 16:30:28 +0000 (16:30 +0000)] 
re PR libstdc++/60564 ([C++11] The std::packaged_task constructor taking a reference to a functor does not copy its argument.)

PR libstdc++/60564
* include/std/future (__future_base::_Task_state<>): Change
constructors to template functions using perfect forwarding.
(__create_task_state): Use decayed type as stored task.
(packaged_task::packaged_task(_Fn&&)): Forward instead of moving.
* testsuite/30_threads/packaged_task/60564.cc: New.

From-SVN: r208655

11 years agosparc.c (sparc_do_work_around_errata): Speed up and use proper constant for the store...
Eric Botcazou [Tue, 18 Mar 2014 10:49:59 +0000 (10:49 +0000)] 
sparc.c (sparc_do_work_around_errata): Speed up and use proper constant for the store mode.

* config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use
proper constant for the store mode.

From-SVN: r208639

11 years agoDaily bump.
GCC Administrator [Tue, 18 Mar 2014 00:16:31 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208627

11 years agobackport: re PR rtl-optimization/57425 (RTL alias analysis unprepared to handle stack...
Mikael Pettersson [Mon, 17 Mar 2014 15:31:43 +0000 (15:31 +0000)] 
backport: re PR rtl-optimization/57425 (RTL alias analysis unprepared to handle stack slot sharing)

gcc/

2014-03-17  Mikael Pettersson  <mikpelinux@gmail.com>
    Committed by Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline:

2013-06-20  Joern Rennecke <joern.rennecke@embecosm.com>

PR rtl-optimization/57425
PR rtl-optimization/57569
* alias.c (write_dependence_p): Remove parameters mem_mode and
canon_mem_addr.  Add parameters x_mode, x_addr and x_canonicalized.
Changed all callers.
(canon_anti_dependence): Get comments and semantics in sync.
Add parameter mem_canonicalized.  Changed all callers.
* rtl.h (canon_anti_dependence): Update prototype.

2013-06-16  Joern Rennecke <joern.rennecke@embecosm.com>

PR rtl-optimization/57425
PR rtl-optimization/57569
* alias.c (write_dependence_p): Add new parameters mem_mode,
canon_mem_addr and mem_canonicalized.  Change type of writep to bool.
Changed all callers.
(canon_anti_dependence): New function.
* cse.c (check_dependence): Use canon_anti_dependence.
* cselib.c (cselib_invalidate_mem): Likewise.
* rtl.h (canon_anti_dependence): Declare.

gcc/testsuite/

2014-03-17  Mikael Pettersson  <mikpelinux@gmail.com>
    Committed by Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

Backport from mainline:

2013-06-16  Joern Rennecke <joern.rennecke@embecosm.com>

PR rtl-optimization/57425
PR rtl-optimization/57569
* gcc.dg/torture/pr57425-1.c, gcc.dg/torture/pr57425-2.c: New files.
* gcc.dg/torture/pr57425-3.c, gcc.dg/torture/pr57569.c: Likewise.

Co-Authored-By: Bill Schmidt <wschmidt@linux.vnet.ibm.com>
From-SVN: r208620

11 years agobackport: re PR middle-end/60429 (Miscompilation (aliasing) with -finline-functions)
Richard Biener [Mon, 17 Mar 2014 13:08:41 +0000 (13:08 +0000)] 
backport: re PR middle-end/60429 (Miscompilation (aliasing) with -finline-functions)

2014-03-17  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-03-11  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60429
PR tree-optimization/60485
* tree-ssa-structalias.c (set_union_with_increment): Properly
take into account all fields that overlap the shifted vars.
(do_sd_constraint): Likewise.
(do_ds_constraint): Likewise.
(get_constraint_for_ptr_offset): Likewise.

* gcc.dg/pr60485-1.c: New testcase.
* gcc.dg/pr60485-2.c: Likewise.

From-SVN: r208615

11 years agoDaily bump.
GCC Administrator [Mon, 17 Mar 2014 00:16:34 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208608

11 years agobackport: re PR fortran/60128 (Wrong ouput using en edit descriptor)
Dominique d'Humieres [Sun, 16 Mar 2014 00:35:19 +0000 (01:35 +0100)] 
backport: re PR fortran/60128 (Wrong ouput using en edit descriptor)

2014-03-15  Dominique d'Humieres  <dominiq@lps.ens.fr>

Backport from mainline
PR libfortran/60128
* gfortran.dg/fmt_en.f90: New test.

From-SVN: r208604

11 years agobackport: re PR fortran/60128 (Wrong ouput using en edit descriptor)
Dominique d'Humieres [Sun, 16 Mar 2014 00:18:21 +0000 (01:18 +0100)] 
backport: re PR fortran/60128 (Wrong ouput using en edit descriptor)

2014-03-15  Dominique d'Humieres  <dominiq@lps.ens.fr>

Backport from mainline
PR libgfortran/60128
* io/write_float.def (output_float): Remove unused variable
nzero_real. Replace a double space with a single one.
(determine_en_precision): Fix wrong handling of the EN format.

From-SVN: r208603

11 years agoDaily bump.
GCC Administrator [Sun, 16 Mar 2014 00:16:48 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208601

11 years agosparc-protos.h (tls_call_delay): Delete.
Eric Botcazou [Sat, 15 Mar 2014 21:40:29 +0000 (21:40 +0000)] 
sparc-protos.h (tls_call_delay): Delete.

* config/sparc/sparc-protos.h (tls_call_delay): Delete.
(eligible_for_call_delay): New prototype.
* config/sparc/sparc.c (tls_call_delay): Rename into...
(eligible_for_call_delay): ...this.  Return false if the instruction
cannot be put in the delay slot of a branch.
(eligible_for_restore_insn): Simplify.
(eligible_for_return_delay): Return false if the instruction cannot be
put in the delay slot of a branch and simplify.
(eligible_for_sibcall_delay): Return false if the instruction cannot be
put in the delay slot of a branch.
* config/sparc/sparc.md (fix_ut699): New attribute.
(tls_call_delay): Delete.
(in_call_delay): Reimplement.
(eligible_for_sibcall_del1ay): Rename into...
(in_sibcall_delay): ...this.
(eligible_for_return_delay): Rename into...
(in_return_delay): ...this.
(in_branch_delay): Reimplement.
(in_uncond_branch_delay): Delete.
(in_annul_branch_delay): Delete.

From-SVN: r208598

11 years agobackport: re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of...
Jerry DeLisle [Sat, 15 Mar 2014 20:34:58 +0000 (20:34 +0000)] 
backport: re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without trailing sequential record marker)

2014-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu>

Backport from mainline
PR libfortran/58324
* gfortran.dg/list_read_12.f90: New test.

From-SVN: r208596

11 years agobackport: re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of...
Jerry DeLisle [Sat, 15 Mar 2014 20:31:33 +0000 (20:31 +0000)] 
backport: re PR fortran/58324 (Bogus END-of-line error with list-directed I/O of file without trailing sequential record marker)

2014-03-15  Jerry DeLisle  <jvdelisle@gcc.gnu>

Backport from mainline
PR libfortran/58324
PR libfortran/38199
* io/list_read.c (finish_list_read): Read one character to check
for the end of the file.  If it is the end, then issue the file
end error message.  If not, use eat_line to reach the end
without giving error.  The next attempt to read will then
issue the error as described above.
* io/read.c (read_decimal): Quickly skip spaces to avoid calls
to next_char.
* io/unit.c (is_trim_ok): New helper function to check various
conditions to see if its OK to trim the internal unit string.
(get_internal_unit): Use LEN_TRIM to shorten selected internal
unit strings for optimizing READ. Enable this optimization for
formatted READ.

From-SVN: r208595

11 years agoDaily bump.
GCC Administrator [Sat, 15 Mar 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208584

11 years agobackport: re PR target/59396 ([avr] Wrong warning with ISR() and -flto)
Georg-Johann Lay [Fri, 14 Mar 2014 09:41:51 +0000 (09:41 +0000)] 
backport: re PR target/59396 ([avr] Wrong warning with ISR() and -flto)

Backport from 2014-03-14 trunk r208562.
PR target/59396
* config/avr/avr.c (avr_set_current_function): Pass function name
through default_strip_name_encoding before sanity checking instead
of skipping the first char of the assembler name.

From-SVN: r208564

11 years agoDaily bump.
GCC Administrator [Fri, 14 Mar 2014 00:16:49 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208560

11 years agore PR ada/51483 (cstand.adb:Register_Float_Type makes invalid assumption about FP...
Eric Botcazou [Thu, 13 Mar 2014 15:42:42 +0000 (15:42 +0000)] 
re PR ada/51483 (cstand.adb:Register_Float_Type makes invalid assumption about FP modes)

PR ada/51483
* back_end.ads (Register_Type_Proc): Add 'precision' parameter.
* cstand.adb (Register_Float_Type): Add 'precision' parameter and use
it to set the RM size.  Use directly 'size' for the Esize.
* gcc-interface/gigi.h (enumerate_modes): Add integer parameter.
* gcc-interface/misc.c (enumerate_modes): Likewise.  Do not register
types for vector modes, pass the size in addition to the precision.

From-SVN: r208547

11 years agobackport: re PR target/60486 ([avr] superfluous or missing comparision after addition...
Georg-Johann Lay [Thu, 13 Mar 2014 09:35:42 +0000 (09:35 +0000)] 
backport: re PR target/60486 ([avr] superfluous or missing comparision after addition or subtraction)

Backport from 2014-03-13 trunk r208532.

PR target/60486
* config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in
calls of avr_out_plus_1.

From-SVN: r208534

11 years agobackport: re PR tree-optimization/60454 (Code mistakenly detected as doing bswap)
Joey Ye [Thu, 13 Mar 2014 07:00:05 +0000 (07:00 +0000)] 
backport: re PR tree-optimization/60454 (Code mistakenly detected as doing bswap)

2014-03-13  Joey Ye  <joey.ye@arm.com>

        Backport from mainline
        2014-03-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>

        PR tree-optimization/60454
        * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection.

testsuite:
        * gcc.c-torture/execute/pr60454.c: New test.

From-SVN: r208529

11 years agoDaily bump.
GCC Administrator [Thu, 13 Mar 2014 00:16:45 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208524

11 years agoPR libstdc++/59392: Fix ARM EABI uncaught throw from unexpected exception handler
Roland McGrath [Wed, 12 Mar 2014 22:44:09 +0000 (22:44 +0000)] 
PR libstdc++/59392: Fix ARM EABI uncaught throw from unexpected exception handler

libstdc++-v3/
PR libstdc++/59392
* libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with
the address of a null pointer, not with a null pointer to pointer.
Copy comment for this case from eh_personality.cc:__cxa_call_unexpected.
* testsuite/18_support/bad_exception/59392.cc: New file.

Co-Authored-By: Mark Seaborn <mseaborn@google.com>
From-SVN: r208520

11 years agoDaily bump.
GCC Administrator [Wed, 12 Mar 2014 00:17:08 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r208503

11 years agobackport: re PR libstdc++/59680 (Compile error in thread.cc)
Jonathan Wakely [Tue, 11 Mar 2014 21:06:21 +0000 (21:06 +0000)] 
backport: re PR libstdc++/59680 (Compile error in thread.cc)

2014-03-11  Jonathan Wakely  <jwakely@redhat.com>

Backport from mainline.
2014-01-09  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/59680
* src/c++11/thread.cc (__sleep_for): Fix call to ::sleep.

From-SVN: r208497

11 years agobackport: re PR libstdc++/59215 (tsan: warning in shared_ptr_base.h)
Jonathan Wakely [Tue, 11 Mar 2014 19:41:07 +0000 (19:41 +0000)] 
backport: re PR libstdc++/59215 (tsan: warning in shared_ptr_base.h)

2014-03-11  Jonathan Wakely  <jwakely@redhat.com>

Backport from mainline.
2014-01-27  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/59215
* include/bits/shared_ptr_base.h
(_Sp_counted_base<_S_atomic>::_M_add_ref_lock()): Use relaxed atomic
load.

From-SVN: r208495

11 years agobackport: re PR libstdc++/59738 (r206444 caused FAIL: 23_containers/vector/52591.cc)
Jonathan Wakely [Tue, 11 Mar 2014 19:23:04 +0000 (19:23 +0000)] 
backport: re PR libstdc++/59738 (r206444 caused FAIL: 23_containers/vector/52591.cc)

Backport from mainline.

2014-01-09  Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/59738
* include/bits/stl_vector.h (vector<>::_M_move_assign): Restore
support for non-Movable types.

2014-01-08  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass
*this allocator instance when building temporary vector instance
so that *this allocator does not get moved.
* testsuite/23_containers/vector/allocator/move.cc (test01): Add
check on a vector iterator.
* testsuite/23_containers/vector/allocator/move_assign.cc
(test02): Likewise.
(test03): New, test with a non-propagating allocator.

2013-11-15  Jonathan Wakely  <jwakely.gcc@gmail.com>

* testsuite/23_containers/vector/allocator/move.cc: New

From-SVN: r208494

11 years agonatObject.cc (_Jv_MonitorEnter): Add missing parenthesis around comparison with ...
Uros Bizjak [Tue, 11 Mar 2014 17:44:24 +0000 (18:44 +0100)] 
natObject.cc (_Jv_MonitorEnter): Add missing parenthesis around comparison with (address | LOCKED) in JvAssert.

* java/lang/natObject.cc (_Jv_MonitorEnter): Add missing parenthesis
around comparison with (address | LOCKED) in JvAssert.

From-SVN: r208492

11 years agoDaily bump.
GCC Administrator [Tue, 11 Mar 2014 00:17:11 +0000 (00:17 +0000)] 
Daily bump.

From-SVN: r208468

11 years agoDaily bump.
GCC Administrator [Mon, 10 Mar 2014 00:16:17 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208446

11 years agoDaily bump.
GCC Administrator [Sun, 9 Mar 2014 00:16:51 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208436

11 years agore PR fortran/60450 (ICE with SHAPE intrinsic)
Janus Weil [Sat, 8 Mar 2014 13:59:00 +0000 (14:59 +0100)] 
re PR fortran/60450 (ICE with SHAPE intrinsic)

2014-03-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60450
* simplify.c (gfc_simplify_shape): Only clear shape if it was really
created successfully.

2014-03-08  Janus Weil  <janus@gcc.gnu.org>

PR fortran/60450
* gfortran.dg/shape_8.f90: New.

From-SVN: r208430

11 years agoDaily bump.
GCC Administrator [Sat, 8 Mar 2014 00:16:24 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208421

11 years agoruntime: Fix GC bug caused by Entersyscall modifying reg.
Ian Lance Taylor [Fri, 7 Mar 2014 05:04:59 +0000 (05:04 +0000)] 
runtime: Fix GC bug caused by Entersyscall modifying reg.

This patch fixes a rare but serious bug.  The Go garbage
collector only examines Go stacks.  When Go code calls a
function that is not written in Go, it first calls
syscall.Entersyscall.  Entersyscall records the position of
the Go stack pointer and saves a copy of all the registers.
If the garbage collector runs while the thread is executing
the non-Go code, the garbage collector fetches the stack
pointer and registers from the saved location.

Entersyscall saves the registers using the getcontext
function.  Unfortunately I didn't consider the possibility
that Entersyscall might itself change a register before
calling getcontext.  This only matters for callee-saved
registers, as caller-saved registers would be visible on the
saved stack.  And it only matters if Entersyscall is compiled
to save and modify a callee-saved register before it calls
getcontext.  And it only matters if a garbage collection
occurs while the non-Go code is executing.  And it only
matters if the only copy of a valid Go pointer happens to be
in the callee-saved register when Entersyscall is called.
When all those conditions are true, the Go pointer might get
collected incorrectly, leading to memory corruption.

This patch tries to avoid the problem by splitting
Entersyscall into two functions.  The first is a simple
function that just calls getcontext and then calls the rest of
Entersyscall.  This should fix the problem, provided the
simple Entersyscall function does not itself modify any
callee-saved registers before calling getcontext.  That seems
to be true on the systems I checked.  But since the argument
to getcontext is an offset from a TLS variable, it won't be
true on a system which needs to save callee-saved registers in
order to get the address of a TLS variable.  I don't know why
any system would work that way, but I don't know how to rule
it out.  I think that on any such system this will have to be
implemented in assembler.  I can't put the ucontext_t
structure on the stack, because this function can not split
stacks, and the ucontext_t structure is large enough that it
could cause a stack overflow.

From-SVN: r208391

11 years agoDaily bump.
GCC Administrator [Fri, 7 Mar 2014 00:16:42 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208388

11 years agoMakefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if MULTILIB_OSDIRNAMES is not defined.
Matthias Klose [Thu, 6 Mar 2014 14:18:55 +0000 (14:18 +0000)] 
Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if MULTILIB_OSDIRNAMES is not defined.

2014-03-06  Matthias Klose  <doko@ubuntu.com>

        * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if
        MULTILIB_OSDIRNAMES is not defined.

From-SVN: r208384

11 years agore PR tree-optimization/60276 (-O3 autovectorizer breaks on a particular loop)
Jakub Jelinek [Thu, 6 Mar 2014 08:23:36 +0000 (09:23 +0100)] 
re PR tree-optimization/60276 (-O3 autovectorizer breaks on a particular loop)

PR tree-optimization/60276
* tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Avoid
a -Wsign-compare warning.

From-SVN: r208373

11 years agore PR tree-optimization/56490 (-Wall triggering infinite loop)
Jakub Jelinek [Thu, 6 Mar 2014 08:12:02 +0000 (09:12 +0100)] 
re PR tree-optimization/56490 (-Wall triggering infinite loop)

* Makefile.in (tree-ssa-uninit.o): Depend on $(PARAMS_H).

Backport from mainline
2014-02-21  Jakub Jelinek  <jakub@redhat.com>

PR tree-optimization/56490
* params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param.
* tree-ssa-uninit.c: Include params.h.
(compute_control_dep_chain): Add num_calls argument, return false
if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass
num_calls to recursive call.
(find_predicates): Change dep_chain into normal array, add num_calls
variable and adjust compute_control_dep_chain caller.
(find_def_preds): Likewise.

From-SVN: r208372

11 years agobackport: re PR c/37743 (Bogus printf format warning with __builtin_bswap32.)
Jakub Jelinek [Thu, 6 Mar 2014 08:11:20 +0000 (09:11 +0100)] 
backport: re PR c/37743 (Bogus printf format warning with __builtin_bswap32.)

Backport from mainline
2014-02-19  Jakub Jelinek  <jakub@redhat.com>

PR c/37743
* c-common.c (c_common_nodes_and_builtins): When initializing
c_uint{16,32,64}_type_node, also set corresponding
uint{16,32,64}_type_node to the same value.

* g++.dg/ext/builtin-bswap1.C: New test.
* c-c++-common/pr37743.c: New test.

From-SVN: r208371

11 years agobackport: re PR preprocessor/58844 (ICE with invalid use of ##)
Jakub Jelinek [Thu, 6 Mar 2014 08:10:08 +0000 (09:10 +0100)] 
backport: re PR preprocessor/58844 (ICE with invalid use of ##)

Backport from mainline
2014-02-19  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/58844
* macro.c (enter_macro_context): Only push
macro_real_token_count (macro) tokens rather than
macro->count tokens, regardless of
CPP_OPTION (pfile, track-macro-expansion).

* c-c++-common/cpp/pr58844-1.c: New test.
* c-c++-common/cpp/pr58844-2.c: New test.

From-SVN: r208370

11 years agobackport: re PR target/43546 (ICE: in assign_stack_local_1, at function.c:353 with...
Jakub Jelinek [Thu, 6 Mar 2014 08:02:46 +0000 (09:02 +0100)] 
backport: re PR target/43546 (ICE: in assign_stack_local_1, at function.c:353 with -mpreferred-stack-boundary=2 -msseregparm)

Backport from mainline
2014-02-13  Jakub Jelinek  <jakub@redhat.com>

PR target/43546
* expr.c (compress_float_constant): If x is a hard register,
extend into a pseudo and then move to x.

* gcc.target/i386/pr43546.c: New test.

From-SVN: r208369

11 years agobackport: re PR c/60101 (Long compile times when mixed complex floating point datatyp...
Jakub Jelinek [Thu, 6 Mar 2014 08:01:57 +0000 (09:01 +0100)] 
backport: re PR c/60101 (Long compile times when mixed complex floating point datatypes are used in lengthy expressions)

Backport from mainline
2014-02-12  Jakub Jelinek  <jakub@redhat.com>

PR c/60101
* c-common.c (merge_tlist): If copy is true, call new_tlist,
if false, add ADD itself, rather than vice versa.
(verify_tree): For COND_EXPR, don't call merge_tlist with non-zero
copy.  For SAVE_EXPR, only call merge_tlist once.

* c-c++-common/pr60101.c: New test.

From-SVN: r208368

11 years agobackport: re PR fortran/52370 (Spurious "may be used uninitialized" warning for check...
Jakub Jelinek [Thu, 6 Mar 2014 08:00:49 +0000 (09:00 +0100)] 
backport: re PR fortran/52370 (Spurious "may be used uninitialized" warning for check of optional argument)

Backport from mainline
2014-02-11  Jakub Jelinek  <jakub@redhat.com>

PR fortran/52370
* trans-decl.c (gfc_build_dummy_array_decl): Set TREE_NO_WARNING
on decl if sym->attr.optional.

* gfortran.dg/pr52370.f90: New test.

From-SVN: r208367

11 years agobackport: re PR middle-end/59776 (gcc -g -O1 ICE in expand_debug_locations, at cfgexp...
Jakub Jelinek [Thu, 6 Mar 2014 07:59:29 +0000 (08:59 +0100)] 
backport: re PR middle-end/59776 (gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865)

Backport from mainline
2014-02-11  Richard Henderson  <rth@redhat.com>
    Jakub Jelinek  <jakub@redhat.com>

PR debug/59776
* tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR
around drhs if type conversion to lacc->type is not useless.

* gcc.dg/guality/pr59776.c: New test.

From-SVN: r208366

11 years agobackport: re PR preprocessor/56824 (pragma GCC diagnostic push/pop fail with GCC...
Jakub Jelinek [Thu, 6 Mar 2014 07:58:16 +0000 (08:58 +0100)] 
backport: re PR preprocessor/56824 (pragma GCC diagnostic push/pop fail with GCC diagnostic ignored "-Waggregate-return")

Backport from mainline
2014-02-07  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/56824
* line-map.c (linemap_compare_locations): Look through adhoc locations
for both l0 and l1.

* gcc.dg/pr56824.c: New test.

From-SVN: r208365

11 years agobackport: re PR ipa/60026 (ICE at -O3 on valid code (with the optimize pragma) on...
Jakub Jelinek [Thu, 6 Mar 2014 07:57:12 +0000 (08:57 +0100)] 
backport: re PR ipa/60026 (ICE at -O3 on valid code (with the optimize pragma) on x86_64-linux-gnu)

Backport from mainline
2014-02-08  Jakub Jelinek  <jakub@redhat.com>

PR ipa/60026
* ipa-cp.c (determine_versionability): Fail at -O0
or __attribute__((optimize (0))) or -fno-ipa-cp functions.
* tree-sra.c (ipa_sra_preliminary_function_checks): Similarly.

2014-02-06  Jakub Jelinek  <jakub@redhat.com>

PR target/60062
* tree.h (opts_for_fn): New inline function.
(opt_for_fn): Define.
* config/i386/i386.c (ix86_function_regparm): Use
opt_for_fn (decl, optimize) instead of optimize.

* gcc.c-torture/execute/pr60062.c: New test.
* gcc.c-torture/execute/pr60072.c: New test.

2014-02-04  Jakub Jelinek  <jakub@redhat.com>

PR ipa/60026
* c-c++-common/torture/pr60026.c: New test.

From-SVN: r208364

11 years agobackport: re PR middle-end/57499 (ICE when noreturn destructor returns after throw...
Jakub Jelinek [Thu, 6 Mar 2014 07:54:28 +0000 (08:54 +0100)] 
backport: re PR middle-end/57499 (ICE when noreturn destructor returns after throw with -O)

Backport from mainline
2014-02-05  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/57499
* tree-eh.c (cleanup_empty_eh): Bail out on totally empty
bb with no successors.

* g++.dg/torture/pr57499.C: New test.

From-SVN: r208363

11 years agore PR preprocessor/60400 (ICE with trigraphs)
Jakub Jelinek [Thu, 6 Mar 2014 07:53:17 +0000 (08:53 +0100)] 
re PR preprocessor/60400 (ICE with trigraphs)

PR preprocessor/60400
Backport from mainline
2013-06-24  Dehao Chen  <dehao@google.com>

* files.c (_cpp_stack_include): Fix the highest_location when header
file is guarded by #ifndef and is included twice.

2014-03-03  Jakub Jelinek  <jakub@redhat.com>

PR preprocessor/60400
* c-c++-common/cpp/pr60400.c: New test.
* c-c++-common/cpp/pr60400-1.h: New file.
* c-c++-common/cpp/pr60400-2.h: New file.

From-SVN: r208362

11 years agoDaily bump.
GCC Administrator [Thu, 6 Mar 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208356

11 years agoDaily bump.
GCC Administrator [Wed, 5 Mar 2014 00:16:55 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208337

11 years agore PR tree-optimization/60382 (ICE on valid code at -O3 on x86_64-linux-gnu (in vect_...
Richard Biener [Tue, 4 Mar 2014 11:02:47 +0000 (11:02 +0000)] 
re PR tree-optimization/60382 (ICE on valid code at -O3 on x86_64-linux-gnu (in vect_create_epilog_for_reduction, at tree-vect-loop.c:4352))

2014-03-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60382
* tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider
dead PHIs a reduction.

* gcc.dg/vect/pr60382.c: New testcase.

From-SVN: r208310

11 years agoDaily bump.
GCC Administrator [Tue, 4 Mar 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208298

11 years agobackport: re PR libitm/57643 (libitm.c/reentrant.c hangs on POWER8 with HTM)
Peter Bergner [Mon, 3 Mar 2014 22:13:28 +0000 (16:13 -0600)] 
backport: re PR libitm/57643 (libitm.c/reentrant.c hangs on POWER8 with HTM)

Backport from mainline
2013-06-20  Torvald Riegel  <triegel@redhat.com>

* query.cc (_ITM_inTransaction): Abort when using the HTM fastpath.
(_ITM_getTransactionId): Same.
* config/x86/target.h (htm_transaction_active): New.

2013-06-20  Torvald Riegel  <triegel@redhat.com>

PR libitm/57643
* beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in
the HTM fastpath.

From-SVN: r208295

11 years agoDaily bump.
GCC Administrator [Mon, 3 Mar 2014 00:16:32 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208264

11 years agore PR fortran/60341 (ICE compiling Nonmem 6.2.0)
Mikael Morin [Sun, 2 Mar 2014 18:36:42 +0000 (18:36 +0000)] 
re PR fortran/60341 (ICE compiling Nonmem 6.2.0)

fortran/
        PR fortran/60341
        * frontend-passes.c (optimize_comparison): Guard two union
        accesses with the corresponding tag checks.

testsuite/
        PR fortran/60341
        * gfortran.dg/str_comp_optimize_1.f90: New test.

From-SVN: r208258

11 years agoDaily bump.
GCC Administrator [Sun, 2 Mar 2014 00:16:38 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208253

11 years agore PR c++/58845 (Operator || and && broken for vectors)
Jason Merrill [Sat, 1 Mar 2014 18:44:25 +0000 (13:44 -0500)] 
re PR c++/58845 (Operator || and && broken for vectors)

PR c++/58845
* typeck.c (cp_build_binary_op): Sorry on vector&&vector.

From-SVN: r208246

11 years agore PR c++/60182 (g++ segfault within template expansion using "using" aliasing)
Jason Merrill [Sat, 1 Mar 2014 18:43:30 +0000 (13:43 -0500)] 
re PR c++/60182 (g++ segfault within template expansion using "using" aliasing)

PR c++/60182
* pt.c (unify): Ignore alias templates when deducing a template
template parameter.

From-SVN: r208245

11 years agore PR c++/60146 (ICE when compiling this code with -fopenmp)
Jason Merrill [Sat, 1 Mar 2014 18:43:24 +0000 (13:43 -0500)] 
re PR c++/60146 (ICE when compiling this code with -fopenmp)

PR c++/60146
* pt.c (tsubst_omp_for_iterator): Don't let substitution of the
DECL_EXPR initialize a non-class iterator.

Conflicts:
gcc/cp/pt.c

From-SVN: r208244

11 years agoDaily bump.
GCC Administrator [Sat, 1 Mar 2014 00:16:51 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208239

11 years agobackport: re PR libgcc/60166 (ARM default NAN encoding violates EABI)
Joey Ye [Fri, 28 Feb 2014 22:00:52 +0000 (22:00 +0000)] 
backport: re PR libgcc/60166 (ARM default NAN encoding violates EABI)

2014-02-28  Joey Ye  <joey.ye@arm.com>

Backport from mainline r208229
2014-02-28  Joey Ye  <joey.ye@arm.com>

        PR libgcc/60166
        * config/arm/sfp-machine.h (_FP_NANFRAC_H,
        _FP_NANFRAC_S, _FP_NANFRAC_D, _FP_NANFRAC_Q):
        Set to zero.

From-SVN: r208230

11 years agoDaily bump.
GCC Administrator [Fri, 28 Feb 2014 00:16:29 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208211

11 years agoDaily bump.
GCC Administrator [Thu, 27 Feb 2014 00:16:52 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208190

11 years agoDaily bump.
GCC Administrator [Wed, 26 Feb 2014 00:16:27 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208161

11 years agobackport: re PR tree-optimization/60276 (-O3 autovectorizer breaks on a particular...
Richard Biener [Tue, 25 Feb 2014 12:42:59 +0000 (12:42 +0000)] 
backport: re PR tree-optimization/60276 (-O3 autovectorizer breaks on a particular loop)

2014-02-25  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-02-21  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/60276
        * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field.
        (STMT_VINFO_MIN_NEG_DIST): New macro.
        * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record
        STMT_VINFO_MIN_NEG_DIST.
        * tree-vect-stmts.c (vectorizable_load): Verify if assumptions
        made for negative dependence distances still hold.

        * gcc.dg/vect/pr60276.c: New testcase.

From-SVN: r208119

11 years agobackport: [multiple changes]
Richard Biener [Tue, 25 Feb 2014 10:47:21 +0000 (10:47 +0000)] 
backport: [multiple changes]

2014-02-25  Richard Biener  <rguenther@suse.de>

Backport from mainline
2014-02-21  Richard Biener  <rguenther@suse.de>

PR middle-end/60291
* tree-ssa-live.c (mark_all_vars_used_1): Do not walk
DECL_INITIAL for globals not in the current function context.

2014-02-20  Richard Biener  <rguenther@suse.de>

PR middle-end/60221
* tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH
regions at -O0.

2014-02-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/60183
* tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating
loads.
(tree_ssa_phiprop): Calculate and free post-dominators.

* gcc.dg/torture/pr60183.c: New testcase.

From-SVN: r208118

11 years agore PR target/55426 (gcc.target/arm/neon-vld1_dupQ.c ICEs on armeb)
Kyrylo Tkachov [Tue, 25 Feb 2014 10:25:26 +0000 (10:25 +0000)] 
re PR target/55426 (gcc.target/arm/neon-vld1_dupQ.c ICEs on armeb)

PR target/55426
* config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit
conversions.

From-SVN: r208117

11 years agopa.c (pa_output_move_double): Don't valididate when adjusting offsetable addresses.
John David Anglin [Tue, 25 Feb 2014 00:52:10 +0000 (00:52 +0000)] 
pa.c (pa_output_move_double): Don't valididate when adjusting offsetable addresses.

* config/pa/pa.c (pa_output_move_double): Don't valididate when
adjusting offsetable addresses.

From-SVN: r208102

11 years agoDaily bump.
GCC Administrator [Tue, 25 Feb 2014 00:16:43 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208099

11 years agore PR c++/37140 (type inherited from base class not recognized)
Fabien ChĂȘne [Mon, 24 Feb 2014 20:27:34 +0000 (21:27 +0100)] 
re PR c++/37140 (type inherited from base class not recognized)

2014-02-24  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-24  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: r208093

11 years agoDaily bump.
GCC Administrator [Mon, 24 Feb 2014 00:16:37 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208064

11 years agomicroblaze.md: Correct ashrsi_reg / lshrsi_reg names
David Holsgrove [Sun, 23 Feb 2014 18:59:26 +0000 (18:59 +0000)] 
microblaze.md: Correct ashrsi_reg / lshrsi_reg names

2014-02-23  David Holsgrove <david.holsgrove@xilinx.com>

* config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg names

From-SVN: r208062

11 years ago[multiple changes]
Michael Eager [Sun, 23 Feb 2014 18:54:17 +0000 (18:54 +0000)] 
[multiple changes]

2014-02-23  Edgar E. Iglesias <edgar.iglesias@xilinx.com>

* config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED
definition.

2014-02-23  David Holsgrove <david.holsgrove@xilinx.com>

* gcc/testsuite/gcc.target/microblaze/others/mem_reload.c: New test.

From-SVN: r208060

11 years agomicroblaze.c: Add microblaze_asm_output_mi_thunk and define TARGET_ASM_OUTPUT_MI_THUN...
David Holsgrove [Sun, 23 Feb 2014 18:45:12 +0000 (18:45 +0000)] 
microblaze.c: Add microblaze_asm_output_mi_thunk and define TARGET_ASM_OUTPUT_MI_THUNK and...

2014-02-23  David Holsgrove <david.holsgrove@xilinx.com>

* /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk
and define TARGET_ASM_OUTPUT_MI_THUNK and
TARGET_ASM_CAN_OUTPUT_MI_THUNK.

From-SVN: r208058

11 years agopredicates.md: Add cmp_op predicate.
David Holsgrove [Sun, 23 Feb 2014 18:38:29 +0000 (18:38 +0000)] 
predicates.md: Add cmp_op predicate.

2014-02-23  David Holsgrove <david.holsgrove@xilinx.com>

* config/microblaze/predicates.md: Add cmp_op predicate.
* config/microblaze/microblaze.md: Add branch_compare instruction
which uses cmp_op predicate and emits cmp insn before branch.
* config/microblaze/microblaze.c (microblaze_emit_compare): Rename
to microblaze_expand_conditional_branch and consolidate logic.
(microblaze_expand_conditional_branch): emit branch_compare
insn instead of handling cmp op separate from branch insn.

From-SVN: r208056

11 years agoDaily bump.
GCC Administrator [Sun, 23 Feb 2014 00:16:28 +0000 (00:16 +0000)] 
Daily bump.

From-SVN: r208047