This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50660] warning about pass NULL to non pointer argument happens twice
- From: "paolo.carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Oct 2011 10:42:19 +0000
- Subject: [Bug c++/50660] warning about pass NULL to non pointer argument happens twice
- Auto-submitted: auto-generated
- References: <bug-50660-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50660
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|warning about pass NULL to |warning about pass NULL to
|non pointer argument |non pointer argument
|happens twice for template |happens twice
|function call |
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-09 10:42:19 UTC ---
Note, happens twice also for non-template:
int g(const int&);
int m2()
{
return g(__null);
}