Re: just_select in combine.c:force_to_mode

2018-12-13 Thread Segher Boessenkool
On Fri, Dec 14, 2018 at 06:32:32AM +, senthilkumar.selva...@microchip.com wrote: > Segher Boessenkool writes: > > On Thu, Dec 13, 2018 at 09:39:52AM +, > > senthilkumar.selva...@microchip.com wrote: > >> When debugging PR 88253, I found that force_to_mode uses a parameter > >> (just_s

Re: just_select in combine.c:force_to_mode

2018-12-13 Thread SenthilKumar.Selvaraj
Segher Boessenkool writes: > Hi! > > On Thu, Dec 13, 2018 at 09:39:52AM +, senthilkumar.selva...@microchip.com > wrote: >> When debugging PR 88253, I found that force_to_mode uses a parameter >> (just_select) to prevent the function from returning a const0_rtx even >> if none of the b

gcc-7-20181213 is now available

2018-12-13 Thread gccadmin
Snapshot gcc-7-20181213 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/7-20181213/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-7

Not Sure about best way to fix the Null Pointer

2018-12-13 Thread nick
Greetings All, I seem to have probably traced this bug down but am not sure what is the best way to fix it being new here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88395#add_comment Seems the issue is in va_heap::reserve in vec.h as we aren't checking if v is equal to N like in vaheap::rel

Re: just_select in combine.c:force_to_mode

2018-12-13 Thread Segher Boessenkool
Hi! On Thu, Dec 13, 2018 at 09:39:52AM +, senthilkumar.selva...@microchip.com wrote: > When debugging PR 88253, I found that force_to_mode uses a parameter > (just_select) to prevent the function from returning a const0_rtx even > if none of the bits set by the rtx are needed. The comme

Re: Optimizing C++ Move Functions in Stl

2018-12-13 Thread Jonathan Wakely
On 12/12/18 15:05 -0500, nick wrote: On 2018-12-12 10:24 a.m., Jonathan Wakely wrote: On 12/12/18 17:17 +0200, Ville Voutilainen wrote: On Wed, 12 Dec 2018 at 17:14, nick wrote: > I think there's an attempt to ascertain that mostly constructors and > assignment operators need noexcept-fixe

just_select in combine.c:force_to_mode

2018-12-13 Thread SenthilKumar.Selvaraj
Hi, When debugging PR 88253, I found that force_to_mode uses a parameter (just_select) to prevent the function from returning a const0_rtx even if none of the bits set by the rtx are needed. The comment says "If JUST_SELECT is nonzero, don't optimize by noticing that bits in MASK are

Re: Parallelize the compilation using Threads

2018-12-13 Thread Bin.Cheng
On Wed, Dec 12, 2018 at 11:46 PM Giuliano Augusto Faulin Belinassi wrote: > > Hi, I have some news. :-) > > I replicated the Martin Liška experiment [1] on a 64-cores machine for > gcc [2] and Linux kernel [3] (Linux kernel was fully parallelized), > and I am excited to dive into this problem. As