aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-sccvn.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-05-14 02:00:27 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2009-05-14 02:00:27 +0200
commit7e2791428f91a88bfe3762fa1456f435fc25e2b0 (patch)
tree939aa9b645af6be87061269b8b1cd513bd796d30 /gcc/tree-ssa-sccvn.c
parent00b0c19b4bbfa483925a177ed3e6ce2e1f42444b (diff)
downloadgcc-7e2791428f91a88bfe3762fa1456f435fc25e2b0.zip
gcc-7e2791428f91a88bfe3762fa1456f435fc25e2b0.tar.gz
gcc-7e2791428f91a88bfe3762fa1456f435fc25e2b0.tar.bz2
re PR fortran/39865 (ICE in gfc_conv_scalarized_array_ref)
PR fortran/39865 * io.c (resolve_tag_format): CHARACTER array in FMT= argument isn't an extension. Reject non-CHARACTER array element of assumed shape or pointer or assumed size array. * trans-array.c (array_parameter_size): New function. (gfc_conv_array_parameter): Add size argument. Call array_parameter_size if it is non-NULL. * trans-array.h (gfc_conv_array_parameter): Adjust prototype. * trans-expr.c (gfc_conv_function_call, gfc_trans_arrayfunc_assign): Adjust callers. * trans-intrinsic.c (gfc_conv_intrinsic_loc): Likewise. * trans-io.c (gfc_convert_array_to_string): Rewritten. * gfortran.dg/pr39865.f90: New test. * gfortran.dg/hollerith.f90: Don't expect errors for CHARACTER arrays in FMT=. * gfortran.dg/hollerith_f95.f90: Likewise. * gfortran.dg/hollerith6.f90: New test. * gfortran.dg/hollerith7.f90: New test. From-SVN: r147507
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
0 files changed, 0 insertions, 0 deletions