Branch: refs/heads/yves/hpux_build_warning_suppression Home: https://github.com/Perl/perl5 Commit: 5a6e2fc754eacfa2bbc86c7ad137140f2d0f3278 https://github.com/Perl/perl5/commit/5a6e2fc754eacfa2bbc86c7ad137140f2d0f3278 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths: M op.c Log Message: ----------- op.c - deal with not-reached statement warning Change this to test on o, and if it goes null to panic. We used to assume that o was a valid pointer and loop infinitely, but this meant that the old return statement at the bottom of function was never reached. Commit: b7ddd010f64f459ccc2ff15d6d9c8223cd095ce5 https://github.com/Perl/perl5/commit/b7ddd010f64f459ccc2ff15d6d9c8223cd095ce5 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M pp_sys.c Log Message: ----------- pp_sys.c - suppress warning about comparison to unsigned value Commit: fc22fb56e03b8ebbbe84604fb9a8065683553807 https://github.com/Perl/perl5/commit/fc22fb56e03b8ebbbe84604fb9a8065683553807 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M regcomp.c Log Message: ----------- regcomp.c - simplify logic to eliminate unreached code We always goto out of this if, so eliminate the unreached code and also eliminate the useless else block. Commit: 31ccf30a0002bb7ce1cb208de1278ecd31f1bf5f https://github.com/Perl/perl5/commit/31ccf30a0002bb7ce1cb208de1278ecd31f1bf5f Author: Yves Orton <demer...@gmail.com> Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M regexec.c Log Message: ----------- regexec.c - mark the bottom of a sub as never reached We used to have a return statement here that picky compilers would complain about. Commit: 0f605b02fc36da3a0b563bb67284350101b570d9 https://github.com/Perl/perl5/commit/0f605b02fc36da3a0b563bb67284350101b570d9 Author: Yves Orton <demer...@gmail.com> Date: 2023-03-22 (Wed, 22 Mar 2023) Changed paths: M sv.c Log Message: ----------- sv.c - don't cast SVTYPEMASK to svtype. svtype is an enum with 18 values. SVTYPEMASK is 31. A picky compiler will complain that casting 31 to a svtype is an error. Casting both sides to a U8 should silence this. Compare: https://github.com/Perl/perl5/compare/b01dd2fbf1e6...0f605b02fc36