diff options
author | Jakub Jelinek <jakub@redhat.com> | 2020-10-08 11:56:15 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2020-10-08 11:56:15 +0200 |
commit | f18eeb6b958acd5e1590ca4a73231486b749be9b (patch) | |
tree | a56f6045df443a81a7ef453af61e6619f02cf133 /gcc/tree-vectorizer.c | |
parent | 9489806fa258b90b02b55804e61e9eb748724ce7 (diff) | |
download | gcc-f18eeb6b958acd5e1590ca4a73231486b749be9b.zip gcc-f18eeb6b958acd5e1590ca4a73231486b749be9b.tar.gz gcc-f18eeb6b958acd5e1590ca4a73231486b749be9b.tar.bz2 |
arm: Fix ICE on glibc compilation after my DIVMOD optimization [PR97322]
The arm target hook for divmod wasn't prepared to handle constants passed to
the function.
2020-10-08 Jakub Jelinek <jakub@redhat.com>
PR target/97322
* config/arm/arm.c (arm_expand_divmod_libfunc): Pass mode instead of
GET_MODE (op0) or GET_MODE (op1) to emit_library_call_value.
* gcc.dg/pr97322.c: New test.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions