From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22788 invoked by alias); 31 Jan 2008 22:19:37 -0000 Received: (qmail 22341 invoked by alias); 31 Jan 2008 22:18:54 -0000 Date: Thu, 31 Jan 2008 22:30:00 -0000 Message-ID: <20080131221854.22340.qmail@sourceware.org> X-Bugzilla-Reason: CC References: 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 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dave at hiauly1 dot hia dot nrc dot ca" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-01/txt/msg03825.txt.bz2 ------- 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