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: 12 Mar 2007 22:44:24 -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 #7 from pinskia at gcc dot gnu dot org 2007-03-12 22:44 -------
(In reply to comment #6)
> From native_encode_int, we get:
> (gdb) p/x *(unsigned int[2]*)ptr
> $14 = {0xffff0f00, 0xffffffff}
No that is right, I was looking at while doing a cross so (unsigned int[2]*)
meant we have byte endian swap.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30704