From cdc6e2c50f96119bdc4c1205ff5901ca82ec8357 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Wed, 29 Jan 2020 18:17:43 -0600 Subject: add old compiler with ARM support --- gcc_arm/testsuite/gcc.c-torture/unsorted/sound.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 gcc_arm/testsuite/gcc.c-torture/unsorted/sound.c (limited to 'gcc_arm/testsuite/gcc.c-torture/unsorted/sound.c') diff --git a/gcc_arm/testsuite/gcc.c-torture/unsorted/sound.c b/gcc_arm/testsuite/gcc.c-torture/unsorted/sound.c new file mode 100755 index 0000000..be727e3 --- /dev/null +++ b/gcc_arm/testsuite/gcc.c-torture/unsorted/sound.c @@ -0,0 +1,13 @@ + +main () +{ + char audio[8192]; + int i; + + for (i = 0; i < 4095; i += 1) + audio[i] = i / 8, + audio[8191 - i] = i / 8; + + for (;;) + write (1, audio, 8192); +} -- cgit v1.2.3