[Bug c++/71069] -Waddress didn't catch all cases

2016-07-06 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug c++/71069] -Waddress didn't catch all cases

2016-07-04 Thread eugene.zelenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069 --- Comment #3 from Eugene Zelenko --- (In reply to Andrew Pinski from comment #2) > -fsantize=undefined will catch this at runtime. What is undefined is > passing a NULL to setData. It'll be much better to report such problems during

[Bug c++/71069] -Waddress didn't catch all cases

2016-07-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069 --- Comment #2 from Andrew Pinski --- -fsantize=undefined will catch this at runtime. What is undefined is passing a NULL to setData.

[Bug c++/71069] -Waddress didn't catch all cases

2016-05-11 Thread eugene.zelenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069 --- Comment #1 from Eugene Zelenko --- Sorry for mistake in original report. -Waddress should report such problems.