diff options
author | Jonathan Yong <10walls@gmail.com> | 2025-04-07 15:40:05 +0000 |
---|---|---|
committer | Jonathan Yong <10walls@gmail.com> | 2025-04-09 14:08:26 +0000 |
commit | 9ea6bdac02af61f360b5741bef978be02924252d (patch) | |
tree | 886ab5c98a0e29a19a7628be77ea6f0c89c902c6 /gcc/fortran/openmp.cc | |
parent | 0f74d1e38a7dd1931ab110c2b64b633393393437 (diff) | |
download | gcc-9ea6bdac02af61f360b5741bef978be02924252d.zip gcc-9ea6bdac02af61f360b5741bef978be02924252d.tar.gz gcc-9ea6bdac02af61f360b5741bef978be02924252d.tar.bz2 |
deref-before-check-pr113253.c: Fix bogus warnings on lp32
Warnings about pointer sizes cause the test to fail
incorrectly. A dummy return value is also added to
set_marker_internal for completeness to suppress a
-Wreturn-type warning even though gcc does not issue
it by default.
Signed-off-by: Jonathan Yong <10walls@gmail.com>
gcc/testsuite/ChangeLog:
PR analyzer/113253
* gcc.dg/analyzer/deref-before-check-pr113253.c:
(ptrdiff_t): use stddef.h type.
(uintptr_t): ditto.
(EMACS_INT): ditto.
(set_marker_internal): Add dummy 0 to suppress -Wreturn-type.
Diffstat (limited to 'gcc/fortran/openmp.cc')
0 files changed, 0 insertions, 0 deletions