Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-19 Thread Richard Biener
On Fri, Mar 18, 2016 at 6:55 AM, Prathamesh Kulkarni wrote: > On 15 March 2016 at 20:46, Richard Biener wrote: >> On Mon, Mar 14, 2016 at 7:27 PM, Michael Matz wrote: >>> Hi, >>> >>> On Thu, 10 Mar 2016, Richard Biener wrote: >>> Then I'd like to be able to re-construct SSA without jumping

Mysterious decision in combine

2016-03-19 Thread Dominik Vogt
Well, at least what combine does here is a mystery to me (s390x with -O3 in case it matters). Rtl before combine: -- snip -- (insn 6 3 7 2 (parallel [ (set (reg:SI 64) (and:SI (mem:SI (reg/v/f:DI 63 [ a ]) [1 *a_2(D)+0 S4 A32]) (const_int -65521 [0x

Leaking bitmap data in ree.c?

2016-03-19 Thread Jeff Law
Is it just me, or does find_removable_extensions leak bitmap data for INIT, KILL, GEN and TMP? It calls bitmap_initialize on all of them, but never clears the bitmaps... Am I missing something? jeff

Re: Is test case with 700k lines of code a valid test case?

2016-03-19 Thread Jakub Jelinek
On Fri, Mar 18, 2016 at 05:16:50PM +, paul_kon...@dell.com wrote: > > > On Mar 18, 2016, at 12:53 PM, Paulo Matos wrote: > > > > > > > > On 18/03/16 15:02, Jonathan Wakely wrote: > >> > >> It's probably crashing because it's too large, so if you reduce it > >> then it won't crash. > >> >

Aggressive load in gcc when accessing escaped pointer?

2016-03-19 Thread Cy Cheng
Hi, Please look at this c code: typedef struct _PB { void* data; /* required.*/ int f1_; float f2_; } PB; PB** bar(PB** t); void qux(PB* c) { bar(&c); /* c is escaped because of bar */ c->f1_ = 0; c->f2_ = 0.f; } // gcc-5.2.1 with -fno-strict-aliasing -O2 on x86 cal

Re: Mysterious decision in combine

2016-03-19 Thread Richard Henderson
On 03/16/2016 11:35 PM, Dominik Vogt wrote: > How does combine get this idea (it's the only match in the > function)? > > Trying 7 -> 12: > Successfully matched this instruction: > (set (reg/i:DI 2 %r2) > (and:DI (subreg:DI (reg:SI 64) 0) > (const_int 4294901775 [0x000f])

Re: Is test case with 700k lines of code a valid test case?

2016-03-19 Thread Paulo Matos
On 18/03/16 15:02, Jonathan Wakely wrote: > > It's probably crashing because it's too large, so if you reduce it > then it won't crash. > Would be curious to see what's the limit though, or if it depends on the machine he's running GCC on. -- Paulo Matos signature.asc Description: OpenPGP

Re: [gimplefe] [gsoc16] Gimple Front End Project

2016-03-19 Thread Prathamesh Kulkarni
On 15 March 2016 at 20:46, Richard Biener wrote: > On Mon, Mar 14, 2016 at 7:27 PM, Michael Matz wrote: >> Hi, >> >> On Thu, 10 Mar 2016, Richard Biener wrote: >> >>> Then I'd like to be able to re-construct SSA without jumping through >>> hoops (usually you can get close but if you require copie

Re: Is test case with 700k lines of code a valid test case?

2016-03-19 Thread Paulo Matos
On 14/03/16 16:31, Andrey Tarasevich wrote: > Hi, > > I have a source file with 700k lines of code 99% of which are printf() > statements. Compiling this test case crashes GCC 5.3.0 with segmentation > fault. > Can such test case be considered valid or source files of size 35 MB are too > mu

February/March 2016 GNU Toolchain Update

2016-03-19 Thread Nick Clifton
Hi Guys, There are lots of new features to report about this time, so here goes: * GDB 7.11 has been released. This release brings many new features and enhancements, including: + Per-inferior thread numbers. (thread numbers are now per inferior instead of being global).

Re: Is test case with 700k lines of code a valid test case?

2016-03-19 Thread Jonathan Wakely
On 18 March 2016 at 12:45, Paulo Matos wrote: > > > On 14/03/16 16:31, Andrey Tarasevich wrote: >> Hi, >> >> I have a source file with 700k lines of code 99% of which are printf() >> statements. Compiling this test case crashes GCC 5.3.0 with segmentation >> fault. >> Can such test case be consid

Re: ipa vrp implementation in gcc

2016-03-19 Thread kugan
On 18/01/16 20:42, Richard Biener wrote: I have (very incomplete) prototype patches to do a dominator-based approach instead (what is refered to downthread as non-iterating approach). That's cheaper and is what I'd like to provide as an "utility style" interface to things liker niter analysis whi

Re: Is test case with 700k lines of code a valid test case?

2016-03-19 Thread Paul_Koning
> On Mar 18, 2016, at 12:53 PM, Paulo Matos wrote: > > > > On 18/03/16 15:02, Jonathan Wakely wrote: >> >> It's probably crashing because it's too large, so if you reduce it >> then it won't crash. >> > > Would be curious to see what's the limit though, or if it depends on the > machine he'

gcc-4.9-20160316 is now available

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

Re: Is test case with 700k lines of code a valid test case?

2016-03-19 Thread Jakub Jelinek
On Fri, Mar 18, 2016 at 02:02:48PM +, Jonathan Wakely wrote: > On 18 March 2016 at 12:45, Paulo Matos wrote: > >> I have a source file with 700k lines of code 99% of which are printf() > >> statements. Compiling this test case crashes GCC 5.3.0 with segmentation > >> fault. > >> Can such test