From c5a0d299674ef9070b4cdb92ec8610f3746ede06 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 28 Aug 2015 19:04:45 +0000 Subject: [PATCH] matrix-1.c: Use plain printf. * gcc/testsuite/gcc.dg/torture/matrix-1.c: Use plain printf. * gcc/testsuite/gcc.dg/torture/matrix-2.c: Likewise. * gcc/testsuite/gcc.dg/torture/matrix-5.c: Likewise. * gcc/testsuite/gcc.dg/torture/matrix-6.c: Likewise. * gcc/testsuite/gcc.dg/torture/transpose-1.c: Likewise. * gcc/testsuite/gcc.dg/torture/transpose-2.c: Likewise. * gcc/testsuite/gcc.dg/torture/transpose-3.c: Likewise. * gcc/testsuite/gcc.dg/torture/transpose-4.c: Likewise. * gcc/testsuite/gcc.dg/torture/transpose-5.c: Likewise. * gcc/testsuite/gcc.dg/torture/transpose-6.c: Likewise. From-SVN: r227309 --- gcc/testsuite/ChangeLog | 13 +++++++++++++ gcc/testsuite/gcc.dg/torture/matrix-1.c | 3 +-- gcc/testsuite/gcc.dg/torture/matrix-2.c | 3 +-- gcc/testsuite/gcc.dg/torture/matrix-5.c | 3 +-- gcc/testsuite/gcc.dg/torture/matrix-6.c | 3 +-- gcc/testsuite/gcc.dg/torture/transpose-1.c | 3 +-- gcc/testsuite/gcc.dg/torture/transpose-2.c | 3 +-- gcc/testsuite/gcc.dg/torture/transpose-3.c | 3 +-- gcc/testsuite/gcc.dg/torture/transpose-4.c | 3 +-- gcc/testsuite/gcc.dg/torture/transpose-5.c | 3 +-- gcc/testsuite/gcc.dg/torture/transpose-6.c | 3 +-- 11 files changed, 23 insertions(+), 20 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8d4c3f6bf14..47eae853fe3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,16 @@ +2015-08-28 Nathan Sidwell + + * gcc/testsuite/gcc.dg/torture/matrix-1.c: Use plain printf. + * gcc/testsuite/gcc.dg/torture/matrix-2.c: Likewise. + * gcc/testsuite/gcc.dg/torture/matrix-5.c: Likewise. + * gcc/testsuite/gcc.dg/torture/matrix-6.c: Likewise. + * gcc/testsuite/gcc.dg/torture/transpose-1.c: Likewise. + * gcc/testsuite/gcc.dg/torture/transpose-2.c: Likewise. + * gcc/testsuite/gcc.dg/torture/transpose-3.c: Likewise. + * gcc/testsuite/gcc.dg/torture/transpose-4.c: Likewise. + * gcc/testsuite/gcc.dg/torture/transpose-5.c: Likewise. + * gcc/testsuite/gcc.dg/torture/transpose-6.c: Likewise. + 2015-08-28 Jeff Law PR lto/66752 diff --git a/gcc/testsuite/gcc.dg/torture/matrix-1.c b/gcc/testsuite/gcc.dg/torture/matrix-1.c index 1b88599bdcd..7be912e356d 100644 --- a/gcc/testsuite/gcc.dg/torture/matrix-1.c +++ b/gcc/testsuite/gcc.dg/torture/matrix-1.c @@ -62,8 +62,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/matrix-2.c b/gcc/testsuite/gcc.dg/torture/matrix-2.c index 5013671af5c..8aaf7c60f75 100644 --- a/gcc/testsuite/gcc.dg/torture/matrix-2.c +++ b/gcc/testsuite/gcc.dg/torture/matrix-2.c @@ -73,8 +73,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/matrix-5.c b/gcc/testsuite/gcc.dg/torture/matrix-5.c index 9b17567f442..e8f2deb6ae6 100644 --- a/gcc/testsuite/gcc.dg/torture/matrix-5.c +++ b/gcc/testsuite/gcc.dg/torture/matrix-5.c @@ -67,8 +67,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/matrix-6.c b/gcc/testsuite/gcc.dg/torture/matrix-6.c index cad63ddabfc..e01e5311cd8 100644 --- a/gcc/testsuite/gcc.dg/torture/matrix-6.c +++ b/gcc/testsuite/gcc.dg/torture/matrix-6.c @@ -68,8 +68,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/transpose-1.c b/gcc/testsuite/gcc.dg/torture/transpose-1.c index 188f3b51b13..20651be0795 100644 --- a/gcc/testsuite/gcc.dg/torture/transpose-1.c +++ b/gcc/testsuite/gcc.dg/torture/transpose-1.c @@ -69,8 +69,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/transpose-2.c b/gcc/testsuite/gcc.dg/torture/transpose-2.c index bff6a3ababc..0e08feaa500 100644 --- a/gcc/testsuite/gcc.dg/torture/transpose-2.c +++ b/gcc/testsuite/gcc.dg/torture/transpose-2.c @@ -66,8 +66,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/transpose-3.c b/gcc/testsuite/gcc.dg/torture/transpose-3.c index da7e887013c..8b55a2efbcd 100644 --- a/gcc/testsuite/gcc.dg/torture/transpose-3.c +++ b/gcc/testsuite/gcc.dg/torture/transpose-3.c @@ -71,8 +71,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/transpose-4.c b/gcc/testsuite/gcc.dg/torture/transpose-4.c index 5a96a5163fd..0d9c1df02b2 100644 --- a/gcc/testsuite/gcc.dg/torture/transpose-4.c +++ b/gcc/testsuite/gcc.dg/torture/transpose-4.c @@ -69,8 +69,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/transpose-5.c b/gcc/testsuite/gcc.dg/torture/transpose-5.c index 049d7b03e23..8ed39534598 100644 --- a/gcc/testsuite/gcc.dg/torture/transpose-5.c +++ b/gcc/testsuite/gcc.dg/torture/transpose-5.c @@ -66,8 +66,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } diff --git a/gcc/testsuite/gcc.dg/torture/transpose-6.c b/gcc/testsuite/gcc.dg/torture/transpose-6.c index 9b3329b5361..0ef6aa9ae9a 100644 --- a/gcc/testsuite/gcc.dg/torture/transpose-6.c +++ b/gcc/testsuite/gcc.dg/torture/transpose-6.c @@ -66,8 +66,7 @@ mem_init (void) vel[i] = (int **) malloc (3 * sizeof (int *)); if (vel[i] == (int **) NULL) { - fprintf (stderr, "malloc failed for vel[%d]\n", i); - fflush (stderr); + printf ("malloc failed for vel[%d]\n", i); exit (0); } } -- 2.30.2