https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
--- Comment #8 from Roland Illig ---
When I compile the attached code with "ARM GCC 10.5.0" and "-O2 -fPIE -ftrapv"
on godbolt.org, the generated code is correct (you can search for "#327" in the
output and then go back one branch).
The code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
--- Comment #7 from Roland Illig ---
Created attachment 55612
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55612=edit
Preprocessed source from comment 5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
Roland Illig changed:
What|Removed |Added
Attachment #55598|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
--- Comment #5 from Roland Illig ---
Sorry for the confusing description. Let me try again.
NetBSD lint includes a yacc parser for C code. This parser contains the rules
'block_item_list' and 'block_item':
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
--- Comment #4 from Andrew Pinski ---
Note 10.5.0 was the last release in the GCC 10.x series, can you test out GCC
11.4.0 out?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110772
--- Comment #2 from Andrew Pinski ---
I am trying to understand what you think is wrong here?
lsrsr3, r3, #7
means logical shift right by 7 and compare against 0.
Also this is big-endian arm so the order of bit fields will be different