[Bug regression/95673] Inconsistent optimization behavior when there is a buffer overflow

2020-06-19 Thread dn2sp-dev at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95673 --- Comment #3 from dn2sp-dev at yahoo dot fr --- (In reply to Martin Sebor from comment #2) > When the result of strncmp is only used to test for equality to zero that it > determines must evaluate to either true or false GCC 10 issu

[Bug regression/95673] New: Inconsistent optimization behavior when there is a buffer overflow

2020-06-14 Thread dn2sp-dev at yahoo dot fr
Priority: P3 Component: regression Assignee: unassigned at gcc dot gnu.org Reporter: dn2sp-dev at yahoo dot fr Target Milestone: --- Created attachment 48728 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48728&action=edit Example code He