This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gfortran-dg-runtest, torture options
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Thomas Schwinge <thomas at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, mikestump at comcast dot net, ro at CeBiTec dot Uni-Bielefeld dot DE, janisjo at codesourcery dot com, mikael dot morin at sfr dot fr, rth at redhat dot com
- Date: Thu, 3 Jul 2014 13:09:57 +0200
- Subject: Re: gfortran-dg-runtest, torture options
- Authentication-results: sourceware.org; auth=none
- References: <87y5853l55 dot fsf at schwinge dot name> <87k37uvhjr dot fsf at schwinge dot name> <20140703105832 dot GF31640 at tucnak dot redhat dot com> <87ha2yvgzb dot fsf at schwinge dot name>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Jul 03, 2014 at 01:06:48PM +0200, Thomas Schwinge wrote:
> On Thu, 3 Jul 2014 12:58:32 +0200, Jakub Jelinek <jakub@redhat.com> wrote:
> > On Thu, Jul 03, 2014 at 12:54:32PM +0200, Thomas Schwinge wrote:
> > > Thanks Janis and Mikael for your replies (nearly a year ago...), but
> > > still my questions remain to be answered: in my understanding, the
> > > libgomp testsuite is not the place for compiler torture testing
> > > (different optimization flags and all that -- and, that is done for
> > > Fortran only; gfortran-dg-runtest), but rather, I understand the libgomp
> > > testsuite to be the place for libgomp library testing ;-), and hence I
> > > propose to remove that special casing of Fortran test cases:
> >
> > No, it is intentional that we torture test those, libgomp is the place
> > for all OpenMP runtime tests, not just for library testing.
>
> But then, the obvious question: why for Fortran only, but not for C and
> C++?
Fortran has far more tests with arrays etc. that testing just -O0 or -O2 is
insufficient, that is typically not the case for C/C++.
Jakub