[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #7 from Martin Sebor --- Whether that's a good or bad decision is a matter of opinion. Most coding guidelines advise against using strcpy even between distinct objects. I happen to think that's unnecessarily restrictive when the siz

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 --- Comment #6 from Jakub Jelinek --- (In reply to Martin Sebor from comment #5) > The warning for attachment 43950 [details] is intended and the bug is > actually in failing to issue it without -fsanitize=undefined. Unlike for > raw memory func

[Bug tree-optimization/85420] missing -Wrestrict with -fsanitize=undefined

2018-04-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85420 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|