[Bug tree-optimization/89672] NULL pointer check optimized out for the return value of memchr(NULL, c, 0)

2019-03-13 Thread him at revl dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89672 --- Comment #4 from Damon Revoe --- And that fact is used by the optimizer. I see. Thanks!

[Bug tree-optimization/89672] NULL pointer check optimized out for the return value of memchr(NULL, c, 0)

2019-03-13 Thread him at revl dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89672 --- Comment #2 from Damon Revoe --- Oops. Ironically, I checked the man page for whether NULL was a valid argument. It just didn't occur to me to check the source. Duh. Thank you for your time!

[Bug tree-optimization/89672] New: NULL pointer check optimized out for the return value of memchr(NULL, c, 0)

2019-03-11 Thread him at revl dot org
: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: him at revl dot org Target Milestone: --- Created attachment 45947 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45947&action=edit Source that rep