This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/82051] [mips]mips emit different results when compiling union var using -O0/-O2
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 31 Aug 2017 03:36:56 +0000
- Subject: [Bug middle-end/82051] [mips]mips emit different results when compiling union var using -O0/-O2
- Auto-submitted: auto-generated
- References: <bug-82051-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82051
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I don't know if this is defined or not. Basically 0x549E5CE9L is really 0xCE9
which is stored in the bit-field. The rest of the bits might be still
undefined or zero. I don't remember what the C standard says here.