In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/248ec5921d4dcf7e0bc87ed86231768fd3d0c60d?hp=2000dc211bab554f6ffba69e510ae90f85f8c931>
- Log ----------------------------------------------------------------- commit 248ec5921d4dcf7e0bc87ed86231768fd3d0c60d Author: Lukas Mai <l....@web.de> Date: Mon Feb 1 23:42:08 2016 +0100 op.c: update comment about compiler warnings ----------------------------------------------------------------------- Summary of changes: op.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/op.c b/op.c index bd7ca88..ecd6259 100644 --- a/op.c +++ b/op.c @@ -14471,10 +14471,12 @@ Perl_custom_op_get_field(pTHX_ const OP *o, const xop_flags_enum field) } } } - /* Some gcc releases emit a warning for this function: + /* On some platforms (HP-UX, IA64) gcc emits a warning for this function: * op.c: In function 'Perl_custom_op_get_field': * op.c:...: warning: 'any.xop_name' may be used uninitialized in this function [-Wmaybe-uninitialized] - * Whether this is true, is currently unknown. */ + * This is because on those platforms (with -DEBUGGING) NOT_REACHED + * expands to assert(0), which expands to ((0) ? (void)0 : + * __assert(...)), and gcc doesn't know that __assert can never return. */ return any; } } -- Perl5 Master Repository