diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2025-07-09 10:06:39 +0200 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2025-07-09 10:20:23 +0200 |
commit | c6ca6e57004653b787d2d6243fe5ee00cda8aad0 (patch) | |
tree | 25b196445a47f0aae808e50a51392979a61c8868 /libcpp/files.cc | |
parent | ff6c323997f9543b4706c63d2c3e8fb83312470e (diff) | |
download | gcc-c6ca6e57004653b787d2d6243fe5ee00cda8aad0.zip gcc-c6ca6e57004653b787d2d6243fe5ee00cda8aad0.tar.gz gcc-c6ca6e57004653b787d2d6243fe5ee00cda8aad0.tar.bz2 |
Fix 'main' function in 'gcc.dg/builtin-dynamic-object-size-pr120780.c'
Fix-up for commit 72e85d46472716e670cbe6e967109473b8d12d38
"tree-optimization/120780: Support object size for containing objects".
'size_t sz' is unused here, and GCC/nvptx doesn't accept this:
spawn -ignore SIGHUP [...]/nvptx-none-run ./builtin-dynamic-object-size-pr120780.exe
error : Prototype doesn't match for 'main' in 'input file 1 at offset 1924', first defined in 'input file 1 at offset 1924'
nvptx-run: cuLinkAddData failed: unknown error (CUDA_ERROR_UNKNOWN, 999)
FAIL: gcc.dg/builtin-dynamic-object-size-pr120780.c execution test
gcc/testsuite/
* gcc.dg/builtin-dynamic-object-size-pr120780.c: Fix 'main' function.
Diffstat (limited to 'libcpp/files.cc')
0 files changed, 0 insertions, 0 deletions