aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-08-25 11:23:24 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-08-26 10:03:55 +0200
commit7421802276e737c2da297599121480833db92de9 (patch)
treecd6cbc5a311c559679c6d3743940a6fb4a6ffc9e /gcc/dwarf2out.c
parent1db88844a22f75b13ced224415f645680784d354 (diff)
downloadgcc-7421802276e737c2da297599121480833db92de9.zip
gcc-7421802276e737c2da297599121480833db92de9.tar.gz
gcc-7421802276e737c2da297599121480833db92de9.tar.bz2
d: Use read() to load contents of stdin into memory.
This would be an improvement over reading one character at a time. An ICE was discovered when mixing reading from stdin with `-v', this has been fixed in upstream DMD and backported as well. Reviewed-on: https://github.com/dlang/dmd/pull/11620 gcc/d/ChangeLog: * d-lang.cc (d_parse_file): Use read() to load contents from stdin, allow the front-end to free the memory after parsing. * dmd/MERGE: Merge upstream dmd 2cc25c219.
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions