--- Comment #59 from alond at il dot ibm dot com 2008-01-29 10:01 ---
(In reply to comment #58)
> On hppa2.0w-hp-hpux11.11, we are down to:
Dave,
Can you please try this patch:
Index: ipa-struct-reorg.c
===
---
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alond at il dot ibm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35041
--- Comment #61 from alond at il dot ibm dot com 2008-01-31 18:07 ---
> Done. Still have same fails on hppa2.0w-hp-hpux11.11.
Dave,
can you please perform an initial debugging?
I think it will make it easier to loacte the bug if we had some debugging
information, like where is
tree-ssa-ccp.c with -fipa-struct-reorg
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alond at il dot ibm dot
--- Comment #1 from alond at il dot ibm dot com 2008-01-07 09:47 ---
(In reply to comment #0)
When looking into try2.c.051i.ipa_struct_reorg, there is something strange like
10=40 there:
:
D.1885_2 = malloc (440);
str1.0_3 = (struct type_struct *) D.1885_2;
10 = 40;
D.1904_18
--- Comment #3 from alond at il dot ibm dot com 2008-01-07 13:01 ---
I have tested the following patch. It fixes the problem. All struct-reorg tests
has also passed on my machine.
It looks like the input to malloc was not calculated correctly in case the size
of the structure is not