This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605
- From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Jan 2008 22:18:54 -0000
- Subject: [Bug middle-end/34483] wo_prof_two_strs.c:56: internal compiler error: in find_new_var_of_type, at ipa-struct-reorg.c:605
- References: <bug-34483-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #64 from dave at hiauly1 dot hia dot nrc dot ca 2008-01-31 22:18 -------
Subject: Re: wo_prof_two_strs.c:56: internal compiler error: in
find_new_var_of_type, at ipa-struct-reorg.c:605
> 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.
Test passes if the comparison is changed. For example,
if (p[i].a != (int) (p[i].b + 1))
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34483