Re: [PATCH] tell gcc optimizer to never introduce new data races

2014-06-17 Thread Jiri Kosina
On Mon, 16 Jun 2014, Dan Carpenter wrote: > Adding "--param allow-store-data-races=0" to the GCC options for the > kernel breaks C=1 because Sparse isn't expecting a GCC option with that > format. > > It thinks allow-store-data-races=0 is the name of the file we are trying > to test. Try use Spa

RE: Register Pressure guided Unroll and Jam in GCC !!

2014-06-17 Thread Bingfeng Mei
That is true. Early estimation of register pressure should be improved. Right now I am looking at an example IVOPTS produces too many induction variables and causes a lot of register spilling. Though ivopts pass called estimate_reg_pressure_cost function, results are not even close to real situ

Re: [GSoC] decision tree first steps

2014-06-17 Thread Richard Biener
On Tue, Jun 17, 2014 at 12:21 AM, Prathamesh Kulkarni wrote: > On Mon, Jun 16, 2014 at 4:45 PM, Richard Biener > wrote: >> >> > * Patterns requiring GENERIC support like cond_expr >> > I am not sure about how to handle these patterns. I was thinking about >> > handling them after we have >> > GEN

Re: C++ interop issue due to non-null pointers

2014-06-17 Thread Florian Weimer
On 06/12/2014 12:04 PM, Jonathan Wakely wrote: What can we do about it? How common is it to use std::vector with qsort, rather than std::sort(vec.begin(), vec.end()), which does the right thing? Our very own vec::qsort has the same problem, so I'd wager that it's fairly common. We coul

Re: C++ interop issue due to non-null pointers

2014-06-17 Thread Trevor Saunders
On Tue, Jun 17, 2014 at 02:41:38PM +0200, Florian Weimer wrote: > On 06/12/2014 12:04 PM, Jonathan Wakely wrote: > > >> What can we do about it? > > > >How common is it to use std::vector with qsort, rather than > >std::sort(vec.begin(), vec.end()), which does the right thing? > > Our very own v

Re: C++ interop issue due to non-null pointers

2014-06-17 Thread Florian Weimer
On 06/17/2014 04:24 PM, Trevor Saunders wrote: On Tue, Jun 17, 2014 at 02:41:38PM +0200, Florian Weimer wrote: On 06/12/2014 12:04 PM, Jonathan Wakely wrote: What can we do about it? How common is it to use std::vector with qsort, rather than std::sort(vec.begin(), vec.end()), which does t

Re: C++ interop issue due to non-null pointers

2014-06-17 Thread Jakub Jelinek
On Tue, Jun 17, 2014 at 04:34:16PM +0200, Florian Weimer wrote: > >I'm not that familiar with the exact requirements of std::vector, could > >we use the same trick as > >http://mxr.mozilla.org/mozilla-central/source/xpcom/glue/nsTArray.h#275 > >that is instead of pointing at null point at a global

Re: C++ interop issue due to non-null pointers

2014-06-17 Thread Florian Weimer
On 06/17/2014 04:39 PM, Jakub Jelinek wrote: On Tue, Jun 17, 2014 at 04:34:16PM +0200, Florian Weimer wrote: I'm not that familiar with the exact requirements of std::vector, could we use the same trick as http://mxr.mozilla.org/mozilla-central/source/xpcom/glue/nsTArray.h#275 that is instead of

regs_used estimation in IVOPTS seriously flawed

2014-06-17 Thread Bingfeng Mei
Hi, I am looking at a performance regression in our code. A big loop produces and uses a lot of temporary variables inside the loop body. The problem appears that IVOPTS pass creates even more induction variables (from original 2 to 27). It causes a lot of register spilling later and performance ta

Re: C++ interop issue due to non-null pointers

2014-06-17 Thread Jakub Jelinek
On Tue, Jun 17, 2014 at 04:52:29PM +0200, Florian Weimer wrote: > On 06/17/2014 04:39 PM, Jakub Jelinek wrote: > >On Tue, Jun 17, 2014 at 04:34:16PM +0200, Florian Weimer wrote: > >>>I'm not that familiar with the exact requirements of std::vector, could > >>>we use the same trick as > >>>http://mx

Issue with attribute ((aligned)) ?

2014-06-17 Thread Ulrich Weigand
Hello, in comparing ABI conformance across compilers I ran across an issue where GCC's behavior does appear to deviate from the manual. In http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html, we have: aligned (alignment) This attribute specifies a minimum alignment for the variable or

Re: Stamping Inquiry/Land Rover/Changdong Co., Ltd.

2014-06-17 Thread Lin Shelton
Dear Manager, Good Day. This is jewel from Changdong Stamping Die Co,.Ltd. We are one of leading manufacturer of Smping Dies(Press Tools), especially for the Jaguar & Land Rovert and Volkswagen cars projects, Progression dies,tranfer dies, process simulation and other technical are all availabl

Cross-compiler GCC 4.8.3 for AArch64 port (aarch64-linux-gnu) - successfully built and installed

2014-06-17 Thread Raghu L
Dear GCC Team, I would like to report that cross-compiler GCC 4.8.3 for AArch64 port (aarch64-linux-gnu) is successfully built and installed on Ubuntu 12.04.3 LTS Buildstat Info: user1@linux:~/aarch64-crossbuild-gcc4.8.3/gcc/gcc-4.8.3$ ./config.guess i686-pc-linux-gnu user1@linux:~/aarch64-

Ada and CFLAGS_FOR_TARGET

2014-06-17 Thread Joel Sherrill
Hi I was updating the RTEMS scripts to build GNAT and it appears that passing CFLAGS_FOR_TARGET in to add a -I option to the build no longer works. We were using it so the Ada build could find the networking .h files. What's the current way of doing this? Thanks. -- Joel Sherrill, Ph.D.