[Committed] Add testcase for ccmp ICEs

2014-08-16 Thread Andrew Pinski
Hi all, When I was testing the ccmp set of patches on aarch64, I found a testcase which would ICE. This patch adds the testcase. I don't know if this testcase ICEs due to other local set of patches though. Thanks, Andrew Pinski 2014-08-16 Andrew Pinski * gcc.c-torture/compile/20140

[PATCH] C frontend: cast-expressions sometimes retain type qualifiers

2014-08-16 Thread Patrick Palka
Hi, This patch fixes an issue in the C frontend wherein the result of a cast-expression sometimes retains the type qualifiers of the operand type. It is incorrect for a cast-expression to have a qualified type because cast-expressions are rvalues. This incorrect semantics can be seen through use

Re: [wide-int] template class generic_wide_int in wide-int.h

2014-08-16 Thread Mike Stump
On Aug 16, 2014, at 5:28 PM, Gerald Pfeifer wrote: > The patch below shaves 404 warnings from stage 1 when bootstrapping > with clang 3.4.1 (i386-unknown-freebsd10.0). > > Regardless of whether we agree with that warning in clang, keeping > things consistent and not using struct once and class i

[wide-int] template class generic_wide_int in wide-int.h

2014-08-16 Thread Gerald Pfeifer
The patch below shaves 404 warnings from stage 1 when bootstrapping with clang 3.4.1 (i386-unknown-freebsd10.0). Regardless of whether we agree with that warning in clang, keeping things consistent and not using struct once and class in other places makes sense. And I believe Mike was affirmati

DSE calls to builtins (memset, etc)

2014-08-16 Thread Marc Glisse
Hello, here is a patch extending DSE to handle calls to memset, memcpy and memmove. A number of alias functions didn't have a version taking an ao_ref*, so I added those. Instead of naming things _1, _2, etc I took advantage of C++ and overloaded. I kept ref_maybe_used_by_call_p so we are sti

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Jan-Benedict Glaw
On Sat, 2014-08-16 22:01:40 +0200, Marc Glisse wrote: > For your tests, I thought the sequence was: > > checkout some revision of gcc > build a native gcc at this revision > use it to build a bunch of cross-compilers at the same revision There are actually two different build strategies implemen

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Marc Glisse
On Sat, 16 Aug 2014, Jan-Benedict Glaw wrote: On Sat, 2014-08-16 17:10:12 +0200, Manuel López-Ibáñez wrote: On 16 August 2014 16:56, Jan-Benedict Glaw wrote: There's --enable-werror-always, though that didn't trigger before (et least not for the printf'ish checks.) So what's specifically di

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Jan-Benedict Glaw
On Sat, 2014-08-16 18:35:41 +0200, Manuel López-Ibáñez wrote: > On 16 August 2014 17:19, Manuel López-Ibáñez wrote: > > Actually, I just noticed I committed the wrong patch and afterwards I > > was not building Fortran. > > I spoke too fast. Although it is true I haven't build Fortran after > t

[committed] Use ASM_OUTPUT_ADDR_VEC and ASM_OUTPUT_ADDR_DIFF_VEC to output branch tables

2014-08-16 Thread John David Anglin
This patch fixes a regression introduced in 4.9 in reworking the handling of branch tables. The branch table markers inserted by pa_reorg prevent the removal of jump tables in the delayed branch pass. This results in the branch table being left in the instruction stream when it should have

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Manuel López-Ibáñez
On 16 August 2014 17:19, Manuel López-Ibáñez wrote: > Actually, I just noticed I committed the wrong patch and afterwards I > was not building Fortran. I spoke too fast. Although it is true I haven't build Fortran after the patch went it, I just did and I didn't get the above errors. Can anyone

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Manuel López-Ibáñez
Actually, I just noticed I committed the wrong patch and afterwards I was not building Fortran. I will revert the patch and fix it. Sorry! Thanks for noticing this! Cheers, Manuel. On 16 August 2014 17:10, Manuel López-Ibáñez wrote: > On 16 August 2014 16:56, Jan-Benedict Glaw wrote: >> Ther

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Jan-Benedict Glaw
On Sat, 2014-08-16 17:10:12 +0200, Manuel López-Ibáñez wrote: > On 16 August 2014 16:56, Jan-Benedict Glaw wrote: > > There's --enable-werror-always, though that didn't trigger before (et > > least not for the printf'ish checks.) So what's specifically different > > with this new function? > >

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Manuel López-Ibáñez
On 16 August 2014 16:56, Jan-Benedict Glaw wrote: > There's --enable-werror-always, though that didn't trigger before (et > least not for the printf'ish checks.) So what's specifically different > with this new function? Sorry, I don't find that option here: https://gcc.gnu.org/install/configure.

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Jan-Benedict Glaw
On Sat, 2014-08-16 16:22:13 +0200, Manuel López-Ibáñez wrote: > Could you explain a bit the setup of the buildbot? > > >From the logs, it is not evident that it is bootstrapping the > compiler, and the first stage compiler should not be using -Werror. If > not that, there must be some difference

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Manuel López-Ibáñez
A wild guess, Perhaps you are re-building from a partially build tree, and c-format.c is not being recompiled? That sounds weird but I cannot think about anything else. Cheers, Manuel. On 16 August 2014 16:22, Manuel López-Ibáñez wrote: > Hi JBG, > > Could you explain a bit the setup of the b

Re: [jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Manuel López-Ibáñez
Hi JBG, Could you explain a bit the setup of the buildbot? From the logs, it is not evident that it is bootstrapping the compiler, and the first stage compiler should not be using -Werror. If not that, there must be some difference between the buildbot setup and the default setup in x86_64-gnu-li

[jbg...@lug-owl.de: Re: r214024 - in /trunk/gcc: ChangeLog c-family/Cha...]

2014-08-16 Thread Jan-Benedict Glaw
Hi! Wrongly replied to the CVS list. Maybe we'd have a reply-to header there? MfG, JBG - Forwarded message from Jan-Benedict Glaw - Date: Sat, 16 Aug 2014 15:50:41 +0200 From: Jan-Benedict Glaw To: m...@gcc.gnu.org Cc: gcc-...@gcc.gnu.org Subject: Re: r214024 - in /trunk/gcc: ChangeLo

[PATCH, i386]: Fix PR62011, False data dependency in popcnt instruction

2014-08-16 Thread Uros Bizjak
Hello! Attached patch fixes the problem with false data dependency on output register for popcnt, lzcnt and tzcnt insns on sandybridge and haswell targets. The new insn pattern shadows existing one, and after reload, the clearing isns is split out of the insn. This way the clearing insn can be sc

Re: [PATCH] Bump BASE-VER, change snapshots to gcc-5-2014xxxxx

2014-08-16 Thread Gerald Pfeifer
On Thu, 14 Aug 2014, Richard Biener wrote: > See $subject. > > Ok? I had the same change, but did not get to submit it while traveling last week. Is there anything else we need to do for the version change? Gerald

Re: [GSoC] Elimination of CLooG library installation dependency

2014-08-16 Thread Tobias Grosser
On 16/08/2014 13:28, Roman Gareev wrote: Richard, could you please review these patches? We would be very glad for your comments. P.S: I’ve attached an improved ChangeLog_entry. The patch and changelog looks good to me, but we still need a non-graphite reviewer oking the changes. Tobias

ipa-devirt TLC

2014-08-16 Thread Jan Hubicka
Hi, this patch wraps ipa_polymorphic_call_context into a C++ class. There are no functional changes. I am heading to restructure the code in a way so call contextes can be used in forward propagation and replace current ipa-cp BINFO walk. The goal is to split get_polymorphic_call_info in a way