This is the mail archive of the gcc-bugs@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]

[Bug c++/50660] warning about pass NULL to non pointer argument happens twice


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);
}


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