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

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 9 10:42:00 GMT 2011


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



More information about the Gcc-bugs mailing list