[Bug c++/91445] New: After memset, logical && operator produces false result, optimization level >=O1

2019-08-14 Thread frishy at gmail dot com
UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: frishy at gmail dot com Target Milestone: --- Produces expected result in 8.3.0. Appears to be a regression in 9.2.0. Running on CentOS 7.6.1810. Comm

[Bug c++/91445] After memset, logical && operator produces false result, optimization level >=O1

2019-08-14 Thread frishy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91445 --- Comment #1 from Ryan Frishberg --- Created attachment 46708 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46708=edit test1.cpp Test case #1

[Bug c++/91445] After memset, logical && operator produces false result, optimization level >=O1

2019-08-14 Thread frishy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91445 --- Comment #2 from Ryan Frishberg --- Created attachment 46709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46709=edit test2.cpp Test case #2

[Bug c++/91445] After memset, logical && operator produces false result, optimization level >=O1

2019-08-14 Thread frishy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91445 --- Comment #3 from Ryan Frishberg --- Created attachment 46710 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46710=edit test1.ii Test case #1 pre-processed file

[Bug c++/91445] After memset, logical && operator produces false result, optimization level >=O1

2019-08-14 Thread frishy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91445 --- Comment #4 from Ryan Frishberg --- Created attachment 46711 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46711=edit test2.ii Test case #2 pre-processed file