[Bug tree-optimization/42821] [4.5 Regression] TCL is miscompiled

2010-01-21 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to work||4.4.2 Target Milestone|--- |4.5.0

[Bug tree-optimization/42821] [4.5 Regression] TCL is miscompiled

2010-01-21 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-21 11:19 --- Looking into it. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/42821] [4.5 Regression] TCL is miscompiled

2010-01-21 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-01-21 11:31 --- We seem to test for this feature in gcc.dg/builtin-object-size-6.c struct D { int i; struct D1 { char b; char a[10]; } j; }; void __attribute__ ((noinline)) test6 (struct D *d) { if

[Bug tree-optimization/42821] [4.5 Regression] TCL is miscompiled

2010-01-21 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-01-21 11:34 --- Or even struct X { struct Y { char s[4]; } y; }; void * __attribute__((noinline,noclone)) myalloc (unsigned int sz) { return __builtin_malloc (sz); } int main() { struct X *p = myalloc (sizeof

[Bug tree-optimization/42821] [4.5 Regression] TCL is miscompiled

2010-01-21 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-21 12:02 --- Whatever. We do this on purpose. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added