diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2023-06-15 11:59:55 -0400 |
---|---|---|
committer | Andrew MacLeod <amacleod@redhat.com> | 2023-06-15 12:37:08 -0400 |
commit | 6c121a2c687c56b09ecc11ef6ae1893ec5006325 (patch) | |
tree | fdcd2bc82d31b109e3e3a9f337da2ac5a1501f16 /libgomp/target.c | |
parent | 37f373e974ac0a272b0e2b24e27c08833ad43470 (diff) | |
download | gcc-6c121a2c687c56b09ecc11ef6ae1893ec5006325.zip gcc-6c121a2c687c56b09ecc11ef6ae1893ec5006325.tar.gz gcc-6c121a2c687c56b09ecc11ef6ae1893ec5006325.tar.bz2 |
Check for integer only complex.
With the expanded capabilities of range-op dispatch, floating point
complex objects can appear when folding, whic they couldn't before.
In the processig for extracting integers from complex ints, make sure it
is an integer complex.
PR tree-optimization/110266
gcc/
* gimple-range-fold.cc (adjust_imagpart_expr): Check for integer
complex type.
(adjust_realpart_expr): Ditto.
gcc/testsuite/
* gcc.dg/pr110266.c: New.
Diffstat (limited to 'libgomp/target.c')
0 files changed, 0 insertions, 0 deletions