[Bug fortran/67250] gfortran does not faithfully preprocess the way cpp does

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 18 06:13:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67250

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jeff Hammond from comment #9)
> First, you will not accept the fusion of cpp+gfortran behavior as a feature
> request?  Is there a reason other than you do not want to do it because you
> are already busy?

Because you are mixing two different things together.  Patches are welcome
really.

> 
> Second, true, but that doesn't stop gcc from supporting inline assembly
> outside of ISO C11, or stop gfortran from being compatible with vendor
> implementations of
> https://gcc.gnu.org/onlinedocs/gfortran/Cray-pointers.html, or of supporting
> any number of other non-standard features.
> 
> In short, "it's not in the standard, therefore it's fine to break user
> experience" seems pretty weak here.  It's fine if you tell me that you do
> not care about my needs and will not implement it, but please don't use ISO
> as the excuse.

No that is not what I am saying.  What I am saying is since it is non-standard
different compilers will decide to support it differently.  In this case
gfortran is following what was done for g77.  So changing it will break user
experience for folks who have used g77.



More information about the Gcc-bugs mailing list