[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional

2018-12-14 Thread heinrich.seebauer at swistec dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481 Heinrich Seebauer changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional

2018-12-13 Thread heinrich.seebauer at swistec dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481 --- Comment #8 from Heinrich Seebauer --- Sorry, my comment was lost completely after uploading the attachment. Try again... So I hope, I got this right. -fdbg-cnt=if_conversion:xx,if_after_combine:yy xx yy result ---

[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional

2018-12-13 Thread heinrich.seebauer at swistec dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481 --- Comment #7 from Heinrich Seebauer --- Created attachment 45232 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45232&action=edit zipped asm files for three cases

[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional

2018-12-13 Thread heinrich.seebauer at swistec dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481 --- Comment #4 from Heinrich Seebauer --- To isolate the cause, I suppressed several optimization options from thge -O1 group. Adding -fno-if-conversion to the options got the code correct, other -O1 options didn't change anything. I think, this

[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional

2018-12-13 Thread heinrich.seebauer at swistec dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481 --- Comment #3 from Heinrich Seebauer --- Thanks, Alexander, for your advice, I will try to isolate this symptom further. Added the attachment ...

[Bug c/88481] -O1 causes optimizer to drop 'then' clause in conditional

2018-12-13 Thread heinrich.seebauer at swistec dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88481 --- Comment #2 from Heinrich Seebauer --- Created attachment 45227 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45227&action=edit precompiled source of fsch.c

[Bug c/88481] New: -O1 causes optimizer to drop 'then' clause in conditional

2018-12-13 Thread heinrich.seebauer at swistec dot de
ty: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: heinrich.seebauer at swistec dot de Target Milestone: --- Compiling with option -O1 causes the optimizer to drop code for the 'then' branch. Verified for targets gnueabi-l