re PR target/89093 (C++ exception handling clobbers d8 VFP register)
authorJakub Jelinek <jakub@redhat.com>
Sat, 13 Apr 2019 15:20:46 +0000 (17:20 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 13 Apr 2019 15:20:46 +0000 (17:20 +0200)
commit6cf5881044dcf60e556c9667a878bcb7e5834017
tree19fa2ceacecbdf98c717f900f9f2266f1376d131
parent917971706faf51ccb0c7e369e139dbd63c3160a7
re PR target/89093 (C++ exception handling clobbers d8 VFP register)

PR target/89093
* config/arm/arm.c (arm_valid_target_attribute_rec): Use strcmp
instead of strncmp when checking for thumb and arm.  Formatting fixes.

* gcc.target/arm/pr89093.c: New test.

From-SVN: r270339
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr89093.c [new file with mode: 0644]