* [testsuite,committed]: Fix gcc.dg/torture/pr49030.c for int < 32 bits
@ 2011-09-09 18:56 Georg-Johann Lay
0 siblings, 0 replies; only message in thread
From: Georg-Johann Lay @ 2011-09-09 18:56 UTC (permalink / raw)
To: gcc-patches; +Cc: Richard Sandiford
This test cases files with
gcc/testsuite/gcc.dg/torture/pr49030.c: In function 'sample_move_d32u24_sS':
gcc/testsuite/gcc.dg/torture/pr49030.c:10:2: warning: overflow in implicit
constant conversion [-Woverflow]
Fixed as obvious, tests pass now for int=16 (tested with avr).
http://gcc.gnu.org/viewcvs?view=revision&revision=178736
Johann
* gcc.dg/torture/pr49030.c: Run only if target int32plus.
--- trunk/gcc/testsuite/gcc.dg/torture/pr49030.c 2011/09/09 16:12:50 178735
+++ trunk/gcc/testsuite/gcc.dg/torture/pr49030.c 2011/09/09 17:00:26 178736
@@ -1,3 +1,5 @@
+/* { dg-require-effective-target int32plus } */
+
void
sample_move_d32u24_sS (char *dst, float *src, unsigned long nsamples,
unsigned long dst_skip)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-09 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 18:56 [testsuite,committed]: Fix gcc.dg/torture/pr49030.c for int < 32 bits Georg-Johann Lay
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).