]> git.ipfire.org Git - thirdparty/gcc.git/commit
uninit-pr108968-register.c: use __UINTPTR_TYPE__ for LLP64
authorJonathan Yong <10walls@gmail.com>
Wed, 31 Jan 2024 13:31:30 +0000 (13:31 +0000)
committerJonathan Yong <10walls@gmail.com>
Wed, 31 Jan 2024 16:12:56 +0000 (16:12 +0000)
commit3fed1609f61088c4e607d6987d86579f684bf4dc
tree96aab0f8617b3bd06966d1cef60fe0f9ea2a0ab8
parentdcf579cb61bc2eb474fd824c19003d2dc17ec24f
uninit-pr108968-register.c: use __UINTPTR_TYPE__ for LLP64

Ensure sp variable is long enough by using __UINTPTR_TYPE__ for
rsp.

gcc/testsuite/ChangeLog:

* c-c++-common/analyzer/uninit-pr108968-register.c:
Use __UINTPTR_TYPE__ instead of unsigned long for LLP64.
gcc/testsuite/c-c++-common/analyzer/uninit-pr108968-register.c