This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 target/66922] wrong code for bit-field struct at -O1 and above on x86_64-linux-gnu


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


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