projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fef084d
)
testsuite: suppress cast warnings in pr100563.c [PR100563]
author
Richard Earnshaw
<rearnsha@arm.com>
Thu, 13 May 2021 13:52:05 +0000
(14:52 +0100)
committer
Richard Earnshaw
<rearnsha@arm.com>
Thu, 13 May 2021 14:02:46 +0000
(15:02 +0100)
Fix a warning when building on machines that don't have 32-bit pointers
gcc/testsuite:
PR target/100563
* gcc.dg/pr100563.c (dg-options): Add -wno-pointer-to-int-cast.
gcc/testsuite/gcc.dg/pr100563.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/pr100563.c
b/gcc/testsuite/gcc.dg/pr100563.c
index
812eb9e
..
f6a5fcd
100644
(file)
--- a/
gcc/testsuite/gcc.dg/pr100563.c
+++ b/
gcc/testsuite/gcc.dg/pr100563.c
@@
-1,5
+1,5
@@
/* { dg-do compile } */
-/* { dg-options "-Og" } */
+/* { dg-options "-Og
-Wno-pointer-to-int-cast
" } */
unsigned long long e(void);
void f(int);
void a() {