This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/13464] [gfortran options] -d8, -i8 and -r8 not passed correctly to compiler proper.
- From: "neil at daikokuya dot co dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2003 20:37:27 -0000
- Subject: [Bug driver/13464] [gfortran options] -d8, -i8 and -r8 not passed correctly to compiler proper.
- References: <20031222115039.13464.toon@moene.indiv.nluug.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From neil at daikokuya dot co dot uk 2003-12-22 20:37 -------
Subject: Re: New: [gfortran options] -d8, -i8 and -r8 not passed correctly to compiler proper.
toon at moene dot indiv dot nluug dot nl wrote:-
> The Fortran options -d8, -i8 and -r8 are not passed to f951 correctly.
>
> The option processor thinks that -d8 is a form of the -d dump options, in spite
> of the fact that there is no such -d8 option. -i8 is simply consumed without
> ever resurfacing. -r8 is simply an `unrecognized option'.
>
> I tried to debug this, but got lost in all the routines that look at or mangle
> the options. However, one thing is clear:
>
> In options.c we find:
>
> { "-d8",
> N_("Set the default real and integer kinds to double precision"),
> OPT_d, 2, CL_F95 | CL_REJECT_NEGATIVE },
> ^^^^^ this is wrong.
I don't believe I introduced this problem; indeed this switch is new to
me. I suggest you speak to the g95 people.
Neil.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13464