------- Comment #62 from dave at hiauly1 dot hia dot nrc dot ca  2008-01-31 
22:00 -------
Subject: Re:  wo_prof_two_strs.c:56: internal
        compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605

On Thu, 31 Jan 2008, alond at il dot ibm dot com wrote:

> 
> 
> ------- 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 have attached a somewhat annotated assembler output for the
wo_prof_global_var.c test.

The test aborts in the second loop at i = 968.

In the first loop, malloc gives us p[968].b == 0x400050d4 or 2.00493336.
We add 1.0, convert it a fixed value of 3, and save it in p[968].a.

Then, in the second loop, we load p[968].a and convert it to a float
value of 3.  We do a floating-point compare of this value with
p[968].b + 1.0 = 3.0049336, and the compare fails.

> If you can also check the sizeof: HOST_WIDE_INT, int, unsigned HOST_WIDE_INT.

These should all be 4 on hppa2.0w-hp-hpux11.11.  They should be 8 on
hppa64-hp-hpux11.11.  Don't think the problem is here.

Dave


------- Comment #63 from dave at hiauly1 dot hia dot nrc dot ca  2008-01-31 
22:00 -------
Created an attachment (id=15069)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15069&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483

Reply via email to