This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/36271] Add -Wsurprising for pointers arguments with INTENT(IN)?
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2009 17:18:54 -0000
- Subject: [Bug fortran/36271] Add -Wsurprising for pointers arguments with INTENT(IN)?
- References: <bug-36271-6318@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2009-03-28 17:18 -------
I'm not sure I like the idea of a warning enabled by -Wall. The code is legal,
and I don't find it too surprising if you think of it. Confirming the bug and
marking as enhancement, though; if others feel like me, the PR can be closed as
WONTFIX.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-03-28 17:18:54
date| |
Summary|Add -Wsurprising for |Add -Wsurprising for
|pointers arguments with |pointers arguments with
|INTENT(IN) |INTENT(IN)?
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36271