diff options
author | Alexandre Oliva <oliva@adacore.com> | 2020-04-24 08:32:10 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2020-04-24 08:32:10 -0300 |
commit | 3685c5adf5c0b30268cb8f95c89e4c4a3240ae6f (patch) | |
tree | b63072d91a0b2fdcd2adce6c4fca24952dcd4abd /gcc/tree-ssa-phiopt.c | |
parent | c508fd07d7615443f7a62d6745779ec97514e7a2 (diff) | |
download | gcc-3685c5adf5c0b30268cb8f95c89e4c4a3240ae6f.zip gcc-3685c5adf5c0b30268cb8f95c89e4c4a3240ae6f.tar.gz gcc-3685c5adf5c0b30268cb8f95c89e4c4a3240ae6f.tar.bz2 |
introduce target fileio and require it in tests that use tmpnam
Some target C libraries that aren't recognized as freestanding don't
have filesystem support, so calling tmpnam, fopen/open and
remove/unlink fails to link.
This patch introduces a fileio effective target to the testsuite, and
requires it in the tests that call tmpnam.
for gcc/testsuite/ChangeLog
* lib/target-supports.exp (check_effective_target_fileio): New.
* gcc.c-torture/execute/fprintf-2.c: Require it.
* gcc.c-torture/execute/printf-2.c: Likewise.
* gcc.c-torture/execute/user-printf.c: Likewise.
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions