https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255
--- Comment #1 from Khem Raj <raj.khem at gmail dot com> --- proper testcase enum { kLengthShift=5, }; struct { short int fLengthAndFlags; } fFields; bool isEmpty() { return (fFields.fLengthAndFlags>>kLengthShift) == 0; }