This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch,Fortran] PR 44945 - Fix DECL of module variables (wrong-code "regression")
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 16 Jul 2010 16:50:36 +0200
- Subject: Re: [Patch,Fortran] PR 44945 - Fix DECL of module variables (wrong-code "regression")
- References: <4C4066F9.80902@net-b.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jul 16, 2010 at 04:04:41PM +0200, Tobias Burnus wrote:
> 2010-07-16 Tobias Burnus <burnus@net-b.de>
>
> PR fortran/44945
> * gfortran.dg/char_array_structure_constructor.f90: Add
> -fwhole-file as dg-option as it otherwise fails on some
> systems.
>
> --- gcc/testsuite/gfortran.dg/char_array_structure_constructor.f90 (revision 162255)
> +++ gcc/testsuite/gfortran.dg/char_array_structure_constructor.f90 (working copy)
> @@ -1,4 +1,9 @@
> ! { dg-do run }
> +! { dg-options "-O3 -fwhole-file" }
Shouldn't this be just "-fwhole-file"? Otherwise you test 4 times the same
command line, as -O3 comes after the -O? from cycling through the
optimization options.
Jakub