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]

[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.


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

- Tobi

2006-11-22 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>

PR fortran/29441
* intrinsic.c (gfc_intrinsic_func_interface): Always check if intrinsic is
allowed in initialization expression.



---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.

Attachment: 29441.txt
Description: Text document


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