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