public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/27943] New: packed union doesn't make the unaligned magic on sh64-*
@ 2006-06-07 23:19 kkojima at gcc dot gnu dot org
2006-06-08 0:05 ` [Bug middle-end/27943] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: kkojima at gcc dot gnu dot org @ 2006-06-07 23:19 UTC (permalink / raw)
To: gcc-bugs
union unaligned
{
void *ptr;
} __attribute__((__packed__));
void *foo (void *p)
{
return (((union unaligned *) p)->ptr);
}
is compiled to an aligned word access on sh64-*. It was compiled
to an unaligned access before the patch
r114364 | echristo | 2006-06-05 04:50:48 +0900 (Mon, 05 Jun 2006) | 17 lines
--
Summary: packed union doesn't make the unaligned magic on sh64-*
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kkojima at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: sh64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27943
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/27943] packed union doesn't make the unaligned magic on sh64-*
2006-06-07 23:19 [Bug middle-end/27943] New: packed union doesn't make the unaligned magic on sh64-* kkojima at gcc dot gnu dot org
@ 2006-06-08 0:05 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-08 0:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-08 00:01 -------
*** This bug has been marked as a duplicate of 27942 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27943
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-08 0:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-07 23:19 [Bug middle-end/27943] New: packed union doesn't make the unaligned magic on sh64-* kkojima at gcc dot gnu dot org
2006-06-08 0:05 ` [Bug middle-end/27943] " pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).