https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #11 from Rimvydas (RJ) ---
(In reply to Steve Kargl from comment #10)
> Yes, I know -std=legacy implies -fallow-argument-mismatch. The
> option degrades an ERROR to a WARNING. That is all it does.
> With -std=legacy, gfortran is a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #10 from Steve Kargl ---
On Sun, Sep 12, 2021 at 11:40:31PM +, rimvydas.jas at gmail dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
> > -fallow-argument-mismatch was added to allow users,
> > who refuse to f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #9 from Rimvydas (RJ) ---
(In reply to Steve Kargl from comment #8)
> Yes, it should behave like -pedantic-errors.
Actually no, -pedantic is equivalent to -Wpedantic, while -pedantic-errors is
-Werror=pedantic. Rest is interpretatio
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #8 from Steve Kargl ---
On Sun, Sep 12, 2021 at 07:34:17PM +, rimvydas.jas at gmail dot com wrote:
>
> > No, it is not. The -fallow-argument-match option was given to
> > user to allow them to compile their broken code. It was
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #7 from Rimvydas (RJ) ---
(In reply to kargl from comment #6)
> Well, that's what it should do! Argument mismatch has never
> been permitted by any Fortran standard. So, PEDANTICALLY
> speaking it is an error to allow.
Pedantically
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #6 from kargl at gcc dot gnu.org ---
(In reply to Rimvydas (RJ) from comment #4)
> (In reply to ripero84 from comment #0)
> > In the presence of -pedantic, -fallow-argument-mismatch fails to degrade the
> > mismatch errors to warnings
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #5 from Rimvydas (RJ) ---
Created attachment 51441
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51441&action=edit
old WIP for arg mismatch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
Rimvydas (RJ) changed:
What|Removed |Added
CC||rimvydas.jas at gmail dot com
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #3 from Steve Kargl ---
On Wed, Sep 08, 2021 at 02:14:26PM +, ripero84 at gmail dot com wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
>
> --- Comment #2 from ripero84 at gmail dot com ---
> 1) The gfortran manual
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
--- Comment #2 from ripero84 at gmail dot com ---
1) The gfortran manual has its own entries for -pedantic and -pedantic-errors:
-Wpedantic
-pedantic
Issue warnings for uses of extensions to Fortran. -pedantic also
applies to C-langua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102145
kargl at gcc dot gnu.org changed:
What|Removed |Added
Severity|normal |enhancement
C
11 matches
Mail list logo