Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000180 [libFirm] optimisations minor always 2016-10-04 15:26 2017-05-08 16:13
Reporter zwinkau View Status public  
Assigned To
Priority low Resolution open  
Status new   Product Version development
Summary 0000180: shape-blocks optimization is broken
Description In ir/opt/opt_blocks.c, we have the optimization "shape_blocks", which seems to always die with a segfault. See for example: makereport --cflags="-fshape-blocks"

Cparser has this optimization in its list, but not even -O3 enables it.

As far as we know, nobody uses it. Delete it?

Alternatively, any volunteers to fix it? ;)
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0000273)
mohr (developer)
2016-10-04 17:10

I just did a quick grep check and other optimizations (besides "shape-blocks") that seem to be always-off (except when using the corresponding -f switches) are: "gvn-pre", "unroll-loops", and "opt-proc-clone".

Each break (and, interestingly, repair) at least one test case from libfirm's testsuite when enabled via their corresponding -f switches.
(0000291)
waldgrasgeniesser (reporter)
2017-05-08 16:13

I don't care that you broke your elbow.

- Issue History
Date Modified Username Field Change
2016-10-04 15:26 zwinkau New Issue
2016-10-04 17:10 mohr Note Added: 0000273
2017-05-08 16:13 waldgrasgeniesser Note Added: 0000291


Mantis 1.1.5[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker