aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2008-03-21 13:18:35 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2008-03-21 13:18:35 +0000
commitf4351641f0c9a8d7d0962da084bb9127ce41bef8 (patch)
tree7dd9334039fab5a07642c27136c90dcf452b6bc4 /libgfortran/libgfortran.h
parent10c5d1a0a8cf531acc940ca357894e807f1b90d8 (diff)
downloadgcc-f4351641f0c9a8d7d0962da084bb9127ce41bef8.zip
gcc-f4351641f0c9a8d7d0962da084bb9127ce41bef8.tar.gz
gcc-f4351641f0c9a8d7d0962da084bb9127ce41bef8.tar.bz2
trans.c (Attribute_to_gnu): Compute as (hb < lb) ? 0 : hb - lb + 1 instead of max (hb - lb + 1, 0).
2008-03-21 Olivier Hainque <hainque@adacore.com> ada/ * trans.c (Attribute_to_gnu) <'length>: Compute as (hb < lb) ? 0 : hb - lb + 1 instead of max (hb - lb + 1, 0). testsuite/ * gnat.dg/empty_vector_length.adb: New testcase. From-SVN: r133423
Diffstat (limited to 'libgfortran/libgfortran.h')
0 files changed, 0 insertions, 0 deletions