https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17141
Bug 17141 depends on bug 15459, which changed state.
Bug 15459 Summary: [meta-bug] there should be a tree combiner like the rtl one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15459
What|Removed |Added
--
What|Removed |Added
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17141
--- Additional Comments From law at redhat dot com 2005-05-17 16:39 ---
Fixed with this patch:
http://gcc.gnu.org/ml/gcc-patches/2005-05/msg01726.html
--
What|Removed |Added
---
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-23
20:10 ---
And here is a testcase for a missed optimization on the TREE level:
void abort (void);
struct a
{
int i;
} *a;
int f(void)
{
int *ii = &a->i;
void *l;
a->i = 1;
if (*ii)
l = &&l1;
else
l =