This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]