[Bug c++/89056] New: Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread darryl_okahata at keysight dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: darryl_okahata at keysight dot com Target Milestone: --- Created attachment 45530 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45530&action=edit preprocess

[Bug c++/89056] Optimizer generates bad code for non-void function that fails to return a value

2019-01-24 Thread darryl_okahata at keysight dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 --- Comment #4 from Darryl Okahata --- This seems rather draconian but, if the standard allows for that, so be it. Thanks.

[Bug c++/89056] Optimizer generates bad code for non-void function that fails to return a value

2019-01-25 Thread darryl_okahata at keysight dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89056 --- Comment #6 from Darryl Okahata --- (OK, at this point, I'm just whinging, so please feel free to ignore this.) I just wish the C++ standard instead just allowed an undefined value to be returned, instead of generating bad optimized code. Wi

[Bug c++/90349] missing return with turned on 03 causes infinite loop

2019-05-08 Thread darryl_okahata at keysight dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90349 Darryl Okahata changed: What|Removed |Added CC||darryl_okahata at keysight dot com