]> gcc.gnu.org Git - gcc.git/commit
backport: re PR c/89520 (ICE tree check: accessed operand 4 of call_expr with 3 opera...
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Apr 2019 20:33:24 +0000 (22:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Apr 2019 20:33:24 +0000 (22:33 +0200)
commit7861d4706b23cb53df4789ea750f0900d38d085e
tree54a612179130ba26ebede3eee96e82b845f03275
parent89daeee2531091202e4950ea4f1173769149101c
backport: re PR c/89520 (ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668)

Backported from mainline
2019-02-28  Jakub Jelinek  <jakub@redhat.com>

PR c/89520
* convert.c (convert_to_real_1, convert_to_integer_1): Punt for
builtins if they don't have a single scalar floating point argument.
Formatting fixes.

* gcc.dg/pr89520-1.c: New test.
* gcc.dg/pr89520-2.c: New test.

From-SVN: r270717
gcc/ChangeLog
gcc/convert.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr89520-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr89520-2.c [new file with mode: 0644]
This page took 0.071394 seconds and 5 git commands to generate.