| #
8cbc788f |
| 10-Nov-2023 |
christos <christos@NetBSD.org> |
PR/57689: RVP: getcwd() not overridable with -D_FORTIFY_SOURCE
|
| #
c4b7a9e7 |
| 03-Jun-2023 |
lukem <lukem@NetBSD.org> |
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPL
bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
show more ...
|
| #
de11d876 |
| 13-Oct-2019 |
mrg <mrg@NetBSD.org> |
introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRI
introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
show more ...
|
| #
21303c93 |
| 29-Sep-2019 |
mrg <mrg@NetBSD.org> |
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
|
| #
5bb852d0 |
| 04-Feb-2019 |
mrg <mrg@NetBSD.org> |
- tests explicitly check failure modes, ignore those warnings
|
| #
658a209c |
| 06-Apr-2014 |
christos <christos@NetBSD.org> |
add stp*cpy() tests
|
| #
2b3d1ee8 |
| 23-Sep-2012 |
joerg <joerg@NetBSD.org> |
Update LLVM/Clang snapshot to r164464. This adopts the GCC options for the SSP parameters and a not-yet-default rewrite of SROA.
|
| #
b757af43 |
| 04-Apr-2012 |
joerg <joerg@NetBSD.org> |
Disable new -Wstring-plus-int warning where needed for now. Adjust various places that add GCC-only options to check for the active compiler first.
|
| #
33a7866d |
| 12-Jun-2011 |
plunky <plunky@NetBSD.org> |
reinstate ssp:raw test, slightly differently.. this one is built with -fstack-protector-all and tests that the compiler built in stack protection works, by poking directly outside the buffer
|
| #
042cae44 |
| 12-Jun-2011 |
plunky <plunky@NetBSD.org> |
don't pass -fstack-protector for these, the tests are actually for the __*_chk functions included by -D_FORTIFY_SOURCE=2, and if the compiler provides additional protection, it can mask broken functi
don't pass -fstack-protector for these, the tests are actually for the __*_chk functions included by -D_FORTIFY_SOURCE=2, and if the compiler provides additional protection, it can mask broken functions..
(none of the _chk functions will return or process any data if the length given is known to be larger than the buffer)
show more ...
|
| #
bb1ec3c8 |
| 26-Feb-2011 |
pgoyette <pgoyette@NetBSD.org> |
The ssp/raw test is useless. Remove it.
|
| #
575e75ff |
| 27-Dec-2010 |
pgoyette <pgoyette@NetBSD.org> |
Migrate the ssp tests from regress to atf.
Of the 17 tests, 4 fail in both the regress and atf style. 3 additional tests fails in atf that did NOT fail in regress: gets, fgets, and read. I will inv
Migrate the ssp tests from regress to atf.
Of the 17 tests, 4 fail in both the regress and atf style. 3 additional tests fails in atf that did NOT fail in regress: gets, fgets, and read. I will investigate why, and update when I can, but it is still useful to get these tests into the new format where they can be exercised.
show more ...
|