[Patch,Fortran] PR 44945 - Fix DECL of module variables (wrong-code "regression")

Jakub Jelinek jakub@redhat.com
Fri Jul 16 14:48:00 GMT 2010


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



More information about the Gcc-patches mailing list