http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57708
Bug ID: 57708
Summary: function clobbers callee saved register on ARM
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: mikulas at artax dot karlin.mff.cuni.cz
Compile the attached code with -O3 -mcpu=cortex-a15 -marm on ARM EABI (the bug
happens with hardfp or without). The functions html_h3, html_h4, html_h5,
html_h6 clobber the register r5 and do not save it. They save only r4. The bug
is present in gcc-4.8 and gcc-4.8.1