Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/usr.bin/c++



Module Name:    src
Committed By:   rin
Date:           Wed Sep 24 13:52:25 UTC 2025

Modified Files:
        src/tests/usr.bin/c++: t_static_destructor.sh

Log Message:
t_static_destructor: pic: Appease GCC14 -Wreturn-type

by adding explicit `return 0;` to int functions.

Otherwise, GCC14 even emits `ud2` insn for amd64 with -O0!

Fixes pic variants of tests. pic_profile_32 test on amd64 still
crashes in rtld although...


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/tests/usr.bin/c++/t_static_destructor.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index