gcc-5-20150728 is now available

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

Re: Re: ira.c update_equiv_regs patch causes gcc/testsuite/gcc.target/arm/pr43920-2.c regression

2015-07-28 Thread Alex Velenko
On 21/04/15 06:27, Jeff Law wrote: On 04/20/2015 01:09 AM, Shiva Chen wrote: Hi, Jeff Thanks for your advice. can_replace_by.patch is the new patch to handle both cases. pr43920-2.c.244r.jump2.ori is the original jump2 rtl dump pr43920-2.c.244r.jump2.patch_can_replace_by is the jump2 rtl du

Re: Expectations for 0/0

2015-07-28 Thread Andrew Haley
On 07/28/2015 04:40 PM, Paulo Matos wrote: > The block skips the test for ((unsigned int) xx << 1 == 0 && yy == -1), > should we skip it if they're both zero as well? Yes. It's undefined behaviour. If we don't want to invoke nasal daemons we shouldn't do this. Andrew.

Re: Preserving tree node fields for access in LTO?

2015-07-28 Thread Uday Khedker
On 07/28/2015 08:10 PM, Richard Biener wrote: On July 28, 2015 4:37:15 PM GMT+02:00, "Uday P. Khedker" wrote: Richard Biener wrote on Tuesday 28 July 2015 01:12 PM: On Mon, Jul 27, 2015 at 7:14 PM, Uday Khedker wrote: We have added a new field (bool ptr_arith in struct tree_base) to the

Expectations for 0/0

2015-07-28 Thread Paulo Matos
Hi, What are the expectations for the 0/0 division? Test execute.exp=arith-rand.c generates two integers, both being 0 and one of the testing blocks is: { signed int xx = x, yy = y, r1, r2; if ((unsigned int) xx << 1 == 0 && yy == -1) continue; r1 = xx / yy;

Re: Preserving tree node fields for access in LTO?

2015-07-28 Thread Richard Biener
On July 28, 2015 4:37:15 PM GMT+02:00, "Uday P. Khedker" wrote: > > >Richard Biener wrote on Tuesday 28 July 2015 01:12 PM: >> On Mon, Jul 27, 2015 at 7:14 PM, Uday Khedker >wrote: >>> We have added a new field (bool ptr_arith in struct tree_base) to >the tree >>> node. We are assigning values t

Re: Preserving tree node fields for access in LTO?

2015-07-28 Thread Uday P. Khedker
Richard Biener wrote on Tuesday 28 July 2015 01:12 PM: On Mon, Jul 27, 2015 at 7:14 PM, Uday Khedker wrote: We have added a new field (bool ptr_arith in struct tree_base) to the tree node. We are assigning values to this field in a gimple pass in non-LTO mode and would like to access them in

Re: Debug assertion and constexpr

2015-07-28 Thread Jonathan Wakely
On 27/07/15 21:16 +0200, François Dumont wrote: Hello There are at the moment several failures in the libstdc++ testsuite when run in debug mode (_GLIBCXX_DEBUG). This is so because debug assertions are not const expressions. Several debug assertions have been removed because of this issue.

Re: making the new if-converter not mangle IR that is already vectorizer-friendly

2015-07-28 Thread Richard Biener
On Tue, Jul 21, 2015 at 10:19 PM, Abe wrote: > First: my apologies for the delay in this reply. Likewise ;) > > [Richard wrote:] >> >> Well, but we do have a pretty strong if-converter on RTL > >> which has access to target specific information. > > Yes, I have had a quick look at it. It looks

[C++ Patch, preapproved] Prefer DECL_SOURCE_LOCATION to "+D" and "+#D" (2/n)

2015-07-28 Thread Paolo Carlini
Hi, other bits. Tested x86_64-linux. Thanks, Paolo. // 2015-07-28 Paolo Carlini * call.c (build_op_delete_call, convert_like_real, build_over_call): Use Use DECL_SOURCE_LOCATION and "%qD" in inform and pedwarn instead of "%q+D". * constexp

Re: Preserving tree node fields for access in LTO?

2015-07-28 Thread Richard Biener
On Mon, Jul 27, 2015 at 7:14 PM, Uday Khedker wrote: > > We have added a new field (bool ptr_arith in struct tree_base) to the tree > node. We are assigning values to this field in a gimple pass in non-LTO mode > and would like to access them in LTO mode in our ipa passes. It appears that > all fi

Re: Typecasting information in MEM[...] GIMPLE

2015-07-28 Thread Richard Biener
On Mon, Jul 27, 2015 at 4:43 PM, Uday P. Khedker wrote: > > > Jakub Jelinek wrote on Monday 27 July 2015 03:50 PM: >> >> On Mon, Jul 27, 2015 at 03:35:45PM +0530, Uday Khedker wrote: >>> >>> We are interested in extracting the type of a tree node that appears >>> within >>> MEM_REF. >>> >>> Given