RE: Using DejaGNU on GCC's Testsuite

2012-08-21 Thread PARAT Didier
Thanks, but how come nobody noticed that some of these tests (gcc.dg/pr27528.c and some others) needed the line { dg-options "-O0" } instead of { dg-options "" } ? - From : Jonathan Wakely On : 20/08/2012 On 20/08/2012, PARAT Didier wrote: > Hi, > > I am using DejaGNU on GCC's Testsuite a

Re: at exit alternative for AIX

2012-08-21 Thread Jonathan Wakely
On 21 August 2012 00:55, Perry Smith wrote: > > I have added __cxa_atexit and __cxa_finalize in the libstdc++ library > instead of the libgcc library because it is only used by g++ and not gcc. That doesn't sound right, not all C++ programs link to libstdc++ and not all C++ programs are compiled

Re: Using DejaGNU on GCC's Testsuite

2012-08-21 Thread Jonathan Wakely
On 21 August 2012 09:20, PARAT Didier wrote: > > Thanks, but how come nobody noticed that some of these tests > (gcc.dg/pr27528.c and some others) needed the line > { dg-options "-O0" } instead of { dg-options "" } ? Probably because they're not failing for most people, see e.g. http://gcc.gnu.or

Re: Using DejaGNU on GCC's Testsuite

2012-08-21 Thread Andreas Schwab
PARAT Didier writes: > For example: The test gcc.dg/pr27528.c has the line " /* { dg-options > "" } */ " which means that this test should be compiled without any > options, right? But DejaGNU seems to pass some basic options anyway > (for ex. -O1, -O2, etc...) Does it? Only c-torture tests nor

RE: Using DejaGNU on GCC's Testsuite

2012-08-21 Thread PARAT Didier
If no options are passed to DejaGNU for the GCC testsuite, it will take default ones in testsuite/lib/gcc-dg.exp and testsuite/lib/c-torture.exp. So 'dg' tests, as well as c-torture, use basic options. By the way, I'm working on gcc-4.5.2 (gnat-6.4.2) - FromĀ : Andreas Schwab OnĀ 21/08/2012

Re: Using DejaGNU on GCC's Testsuite

2012-08-21 Thread Andreas Schwab
PARAT Didier writes: > If no options are passed to DejaGNU for the GCC testsuite, > it will take default ones in testsuite/lib/gcc-dg.exp and > testsuite/lib/c-torture.exp. So 'dg' tests, as well as c-torture, > use basic options. gcc.dg/dg.exp doesn't use gcc-dg-runtest (and never did). Andre

Optimising/cleaning-up GSOC summary. What was done, future directions.

2012-08-21 Thread Dimitrios Apostolou
This year's GSOC has come to an end. In a very brief summary, I achieved a few things this summer: Ported patches from last year - some made it to mainline, extended old patches and resubmitted them, wrote new but mostly small clean-ups/speed-ups. In a nutshell: [DF] Generate REFs in REGNO o

Auto-stuff in GCC

2012-08-21 Thread Dimitrios Apostolou
Hi, I was planning to include this in my final report, but it turned out big enough as a rant to send it separately. About my patch at [1], since I was using strnlen() in one of my dwarf2out patches I had to also make sure configure tested for its availability, and also provide it in libiberty

Re: Optimising/cleaning-up GSOC summary. What was done, future directions.

2012-08-21 Thread Ian Lance Taylor
On Tue, Aug 21, 2012 at 10:26 AM, Dimitrios Apostolou wrote: > > In a very brief summary, I achieved a few things this summer: Ported patches > from last year - some made it to mainline, extended old patches and > resubmitted them, wrote new but mostly small clean-ups/speed-ups.k Thanks for all y