[Bug target/66922] wrong code for bit-field struct at -O1 and above on x86_64-linux-gnu

uros at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jul 18 09:51:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66922

--- Comment #2 from uros at gcc dot gnu.org ---
Author: uros
Date: Sat Jul 18 09:50:37 2015
New Revision: 225980

URL: https://gcc.gnu.org/viewcvs?rev=225980&root=gcc&view=rev
Log:
        PR target/66922
        * config/i386/i386.c (ix86_expand_pextr): Reject extractions
        from misaligned positions.
        (ix86_expand_pinsr): Reject insertions to misaligned positions.

testsuite/ChangeLog:

        PR target/66922
        * gcc.target/i386/pr66922.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr66922.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list