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: [gfortran, patch] PR29441: Error out for non-standard intrinsics in initialization expression


We used to only error out for code such as
real, parameter :: pi = 4.*atan(1.0)
if -pedantic was given, even with -std=f95. This patch fixes this by removing pedantic from the condition leading to the error.

We have nice gfc_notify_std routines, why can't we use them here? That will help getting a consistent behaviour between different cases.


Testcase included in diff, built & tested on i686-darwin.

(FX makes a mental note. Tobias has a MacIntel...)


Would you consider building gfortran packages on a monthly (or less) basis? I can send you my completely-automated-build-and-packaging script if you want...

FX


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