aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/intrinsics/env.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-02-16 12:23:12 -0800
committerNathan Sidwell <nathan@acm.org>2021-02-16 12:26:51 -0800
commitb37695c9bf101a3a30a231cfeb6da7a6c17657d6 (patch)
tree20733ade4d65e611ce39800abc5ac2403c440bfd /libgfortran/intrinsics/env.c
parent30a4d95bf76b0a0fdb66ac0211589a4434c83af3 (diff)
downloadgcc-b37695c9bf101a3a30a231cfeb6da7a6c17657d6.zip
gcc-b37695c9bf101a3a30a231cfeb6da7a6c17657d6.tar.gz
gcc-b37695c9bf101a3a30a231cfeb6da7a6c17657d6.tar.bz2
c++: directives-only preprocessing and include translation [PR 99050]
We make sure files end in \n by placing one at the limit of the buffer (just past the end of what is read). We need to do the same for buffers generated via include-translation. Fortunately they have space. libcpp/ * files.c (_cpp_stack_file): Make buffers end in unread \n. gcc/testsuite/ * g++.dg/modules/pr99050_a.H: New. * g++.dg/modules/pr99050_b.C: New.
Diffstat (limited to 'libgfortran/intrinsics/env.c')
0 files changed, 0 insertions, 0 deletions