aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/iresolve.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2020-10-16 15:02:42 -0400
committerAndrew MacLeod <amacleod@redhat.com>2020-10-16 15:05:11 -0400
commit4a135bd987e7bff6d3b94efa085e0c246348b486 (patch)
tree2b9ce23bed5a4a1e81d411e70ffa119a934f2e7c /gcc/fortran/iresolve.c
parentccb4f20cbee1756c464033bbdda2f27b6aa2a63f (diff)
downloadgcc-4a135bd987e7bff6d3b94efa085e0c246348b486.zip
gcc-4a135bd987e7bff6d3b94efa085e0c246348b486.tar.gz
gcc-4a135bd987e7bff6d3b94efa085e0c246348b486.tar.bz2
Don't assert on a negative shift.
Don't assert, simply Return false for negative shifts as we can't tell anything about the operand. PR tree-optimization/97462 gcc/ * range-op.cc (operator_lshift::op1_range): Don't trap on negative shifts. gcc/testsuite/ * gcc.dg/pr97462.c: New file.
Diffstat (limited to 'gcc/fortran/iresolve.c')
0 files changed, 0 insertions, 0 deletions