This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sim/7515] sim mips uses lhs casts which makes strict-aliasingangry


http://sourceware.org/bugzilla/show_bug.cgi?id=7515

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-fstrict-aliasing and sim   |sim mips uses lhs casts
                   |badness                     |which makes strict-aliasing
                   |                            |angry

--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> 2011-11-06 07:02:57 UTC ---
i'm guessing you mean the code in sim/mips/interp.c:sim_fetch_register()
...
*(unsigned64*)memory = H2T_8 ((unsigned32) (cpu->fgr[rn - FGR_BASE]));
...

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]