[Bug middle-end/71942] [ARM] Zero-extending whats allready zero-extended even when -O3

2017-11-07 Thread mikael.rosbacke at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71942 --- Comment #8 from Mikael Rosbacke --- Previous bug i filed was marked as a duplicate of this. Collecting my information from that report here. Same basic problem, slightly different symptom. --- old text --- I used the following code on arm-gc

[Bug target/82871] New: Unneeded lsls lsrs instructions generated on half word access for arm cortex-m4 target.

2017-11-06 Thread mikael.rosbacke at gmail dot com
Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: mikael.rosbacke at gmail dot com Target Milestone: --- I used the following code on arm-gcc 6.3 compiler (using Matt godbolts compiler explorer) #include