https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
--- Comment #10 from Jeff Hansen ---
So you're recommending that we add __attribute__((packed)) to the struct?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
--- Comment #9 from Andrew Pinski ---
(In reply to Jeff Hansen from comment #8)
> Why would this be a bug in the kernel?
>
> Why is gcc trying to load a word or short when it's a 4-bit bitfield?? So
> you're recommending that we add
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
Jeff Hansen changed:
What|Removed |Added
CC||sqrammi at hotmail dot com
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
--- Comment #2 from Thomas Martitz kugel at rockbox dot org ---
Thanks for your immediate reply.
In trying to provide a better test case I think I've found what the culprit is.
The full iphdr defintion is:
struct iphdr {
#if
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
Thomas Martitz kugel at rockbox dot org changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
This testcase does not test what you think it tests. Since t is on the stack,
the alignment can (and most likely will be) aligned to a 4 byte boundary.
Also the struct tester has
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
Andreas Schwab sch...@linux-m68k.org changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67246
Thomas Martitz kugel at rockbox dot org changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
10 matches
Mail list logo