From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3098 invoked by alias); 13 Mar 2007 22:16:21 -0000 Received: (qmail 3059 invoked by uid 48); 13 Mar 2007 22:16:11 -0000 Date: Tue, 13 Mar 2007 22:16:00 -0000 Message-ID: <20070313221611.3058.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug middle-end/30704] [4.2/4.3 Regression] Incorrect constant generation for long long In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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: 2007-03/txt/msg01219.txt.bz2 ------- Comment #12 from pinskia at gcc dot gnu dot org 2007-03-13 22:16 ------- Another testcase but it is not fixed by my patch as I did not fix the other side: int main(void) { double b = 234.0; long long c; double d = b; __builtin_memcpy(&c, &b, sizeof(double)); long long e = c; if (__builtin_memcmp (&e, &d, sizeof(double)) != 0) __builtin_abort (); return 0; } -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |blocker GCC target triplet|hppa64-hp-hpux11.00, |FLOAT_WORDS_BIG_ENDIAN |powerpc64-linux-gnu |targets http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30704