Revert "[flang] GET_COMMAND_ARGUMENT(VALUE) runtime implementation"
authorDiana Picus <diana.picus@linaro.org>
Tue, 28 Sep 2021 12:02:52 +0000 (12:02 +0000)
committerDiana Picus <diana.picus@linaro.org>
Tue, 28 Sep 2021 12:07:27 +0000 (12:07 +0000)
commit6359a4cdbfb83c67a2a776baba4e3f4fb8334853
tree6c1c012178dae0df89fb8c9d0f9d01814af5d7ba
parent7128a545b3baa62c1164843103fb08daeba5cd9d
Revert "[flang] GET_COMMAND_ARGUMENT(VALUE) runtime implementation"

This reverts commit 0446f1299f6be9fd35bc5f458c78b34dca3105f6 and
df6302311f88d0fbc666b6277d029aa371039945.

There's a warning on flang-aarch64-latest-gcc related to strncpy using
the result of strlen as a bound. I'll recommit with a fix.
flang/include/flang/Runtime/magic-numbers.h
flang/runtime/command.cpp
flang/runtime/stat.cpp
flang/runtime/stat.h
flang/test/Runtime/no-cpp-dep.c
flang/unittests/Runtime/CommandTest.cpp