-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
With gcc-10 under -O3
I get:
src/tests.c: In function ‘test_ecmult_multi_batch_single.constprop’:
src/tests.c:2716:9: warning: ‘sc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2716 | *sc = data->sc[idx];
| ~~~~^~~~~~~~~~~~~~~
src/tests.c:2717:9: warning: ‘pt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2717 | *pt = data->pt[idx];
| ~~~~^~~~~~~~~~~~~~~
src/tests.c:2717:9: warning: ‘*((void *)&pt+16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘pt.x.n[4]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘*((void *)&pt+40)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘*((void *)&pt+48)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘*((void *)&pt+64)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘pt.y.n[4]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘*((void *)&pt+88)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
src/tests.c:2717:9: warning: ‘pt.infinity’ may be used uninitialized in this function [-Wmaybe-uninitialized]
CCLD tests
Metadata
Metadata
Assignees
Labels
No labels