This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: patch: [fortran] handle inverses of -ffixed-form and -ffree-form
- From: Steven Bosscher <stevenb at suse dot de>
- To: fortran at gcc dot gnu dot org
- Cc: Aldy Hernandez <aldyh at redhat dot com>, gcc-patches at gcc dot gnu dot org, diego at redhat dot com, jakub at redhat dot com, Richard Henderson <rth at redhat dot com>
- Date: Sun, 11 Dec 2005 02:52:13 +0100
- Subject: Re: patch: [fortran] handle inverses of -ffixed-form and -ffree-form
- Organization: SUSE Labs
- References: <20051211000007.GA7685@redhat.com>
On Sunday 11 December 2005 01:00, Aldy Hernandez wrote:
> Hi folks.
>
> In running SPECgomp, I've noticed some files ending in .f90 have fixed-form
> style comments, so I would like to compile these as fixed-form.
>
> I noticed both -ffree-form and -ffixed-form accept the inverse form, but
> they are completely ignored. So, -fno-free-form and -fno-fixed-form
> still turn on free-form and fixed-form respectively.
>
> The following patch fixes this.
>
> Ok for mainline and gomp?
Not for mainline.
The negatives of -ffree-form and -ffixed-form should be rejected.
Gr.
Steven