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:
96ff97f
)
harden-sls-6.c: Fix warning on LLP64
author
Jonathan Yong
<10walls@gmail.com>
Wed, 15 Feb 2023 13:42:12 +0000
(13:42 +0000)
committer
Jonathan Yong
<10walls@gmail.com>
Wed, 1 Mar 2023 13:42:37 +0000
(13:42 +0000)
gcc/testsuite/ChangeLog:
* gcc.target/i386/harden-sls-6.c: Fix warning on LLP64
targets.
Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/testsuite/gcc.target/i386/harden-sls-6.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/i386/harden-sls-6.c
b/gcc/testsuite/gcc.target/i386/harden-sls-6.c
index
9068eb6
..
3b27021
100644
(file)
--- a/
gcc/testsuite/gcc.target/i386/harden-sls-6.c
+++ b/
gcc/testsuite/gcc.target/i386/harden-sls-6.c
@@
-11,7
+11,7
@@
struct _Unwind_Context {
struct _Unwind_Context cur_contextcur_context =
_Unwind_Resume_or_Rethrow_this_context;
offset(0);
- __builtin_eh_return ((
long
) offset, 0);
+ __builtin_eh_return ((
__INTPTR_TYPE__
) offset, 0);
}
/* { dg-final { scan-assembler "jmp\[ \t\]+\\*%rcx" } } */