This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30704] [4.2/4.3 Regression] Incorrect constant generation for long long
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Mar 2007 22:16:11 -0000
- Subject: [Bug middle-end/30704] [4.2/4.3 Regression] Incorrect constant generation for long long
- References: <bug-30704-276@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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