aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2024-04-05 19:25:13 -0700
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2024-04-06 06:55:45 -0700
commit93adf88cc6744aa2c732b765e1e3b96e66cb3300 (patch)
treed39c79f18a09953b9d277139223c409a3df0d7e2 /libgcc
parent09992f8b881aa2dfbee1e9d6954c3ca90cd3fe41 (diff)
downloadgcc-93adf88cc6744aa2c732b765e1e3b96e66cb3300.zip
gcc-93adf88cc6744aa2c732b765e1e3b96e66cb3300.tar.gz
gcc-93adf88cc6744aa2c732b765e1e3b96e66cb3300.tar.bz2
libfortran: Fix handling of formatted separators.
PR libfortran/114304 PR libfortran/105473 libgfortran/ChangeLog: * io/list_read.c (eat_separator): Add logic to handle spaces preceding a comma or semicolon such that that a 'null' read occurs without error at the end of comma or semicolon terminated input lines. Add check and error message for ';'. (list_formatted_read_scalar): Treat comma as a decimal point when specified by the decimal mode on the first item. gcc/testsuite/ChangeLog: * gfortran.dg/pr105473.f90: Modify to verify new error message. * gfortran.dg/pr114304.f90: New test.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions