aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/pr21785.java
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2005-06-01 19:17:37 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2005-06-01 19:17:37 +0000
commitc3a29423de8cfb7e2b5642b9d44eb21e4b286aec (patch)
treeaca5715d2e2402e23f8d6fcb8a69bdb7516dab2e /libjava/testsuite/libjava.lang/pr21785.java
parentcdeee6d28017c9c881d2395645b3314fa575e59b (diff)
downloadgcc-c3a29423de8cfb7e2b5642b9d44eb21e4b286aec.zip
gcc-c3a29423de8cfb7e2b5642b9d44eb21e4b286aec.tar.gz
gcc-c3a29423de8cfb7e2b5642b9d44eb21e4b286aec.tar.bz2
intrinsic.c (add_conv): No longer take a "simplify" argument as its always gfc_convert_constant...
* intrinsic.c (add_conv): No longer take a "simplify" argument as its always gfc_convert_constant, instead take a "standard" argument. (add_conversions): Change all existing calls of add_conv to pass GFC_STD_F77 as appropriate. Additionally, if we're allowing GNU extensions support integer-logical and logical-integer conversions. (gfc_convert_type_warn): Warn about use the use of these conversions as a extension when appropriate, i.e. with -pedantic. * simplify.c (gfc_convert_constant): Add support for integer to logical and logical to integer conversions, using gfc_int2log and gfc_log2int. * arith.c (gfc_log2int, gfc_int2log): New functions. * arith.h (gfc_log2int, gfc_int2log): Prototype here. * gfortran.texi: Document this new GNU extension. * gfortran.dg/logint-1.f: New test case. * gfortran.dg/logint-2.f: Likewise. * gfortran.dg/logint-3.f: Likewise. From-SVN: r100461
Diffstat (limited to 'libjava/testsuite/libjava.lang/pr21785.java')
0 files changed, 0 insertions, 0 deletions