and builds with -O2, and ... the assert doesn't trigger, because it's
optimized away by gcc.
- There's no suppported recipe to prevent the assertion from being optimized
+ There's no supported recipe to prevent the assertion from being optimized
away (other than: build with -O0, or remove the nonnull attribute). Note
that -fno-delete-null-pointer-checks does not help. A patch was submitted
to improve gcc documentation to point this out more clearly (
])
dnl Check that the provided value ($1) is either "yes" or "no". If not,
-dnl emit an error message mentionning the configure option $2, and abort
+dnl emit an error message mentioning the configure option $2, and abort
dnl the script.
AC_DEFUN([GDB_CHECK_YES_NO_VAL],
[
])
dnl Check that the provided value ($1) is either "yes", "no" or "auto". If not,
-dnl emit an error message mentionning the configure option $2, and abort
+dnl emit an error message mentioning the configure option $2, and abort
dnl the script.
AC_DEFUN([GDB_CHECK_YES_NO_AUTO_VAL],
[
m_val = val;
#endif
- /* Ensure size and aligment are what we expect. */
+ /* Ensure size and alignment are what we expect. */
static_assert (sizeof (packed) == Bytes);
static_assert (alignof (packed) == 1);