Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: da8f48c9d782ac33e669007bd2cdcda6236dbade
https://github.com/Perl/perl5/commit/da8f48c9d782ac33e669007bd2cdcda6236dbade
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M dump.c
Log Message:
-----------
dump.c: Collapse duplicate macro calls
Instead store the result of the first one in a variable, and use that
going forward.
Commit: 3df09681ccfe9f9a1b033f9b94b1b5040373bc09
https://github.com/Perl/perl5/commit/3df09681ccfe9f9a1b033f9b94b1b5040373bc09
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M op.c
Log Message:
-----------
op.c: Collapse duplicate macro calls
Instead, store the result of the first one in a variable, and use that
going forward
Commit: ce6f623a99361dfe3ba6b920b68825ca09bbc6ee
https://github.com/Perl/perl5/commit/ce6f623a99361dfe3ba6b920b68825ca09bbc6ee
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M op.h
Log Message:
-----------
op.h: Remove some code duplication
There are two sets of macros here, the raw version does no checking; and
the non-raw, which does. Instead of duplicating the complicated
expressions, use the raw version inside the non-raw one to make it a bit
easier to read
Commit: c187612bd25d2dcd05a0d57d4f05f8b3dff83939
https://github.com/Perl/perl5/commit/c187612bd25d2dcd05a0d57d4f05f8b3dff83939
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M pp_ctl.c
Log Message:
-----------
pp_ctl.c: Use saved value instead of recomputing
Suggested by Tony Cook
Commit: cba208fd4f773306f5f2713529feb3a0da201cc0
https://github.com/Perl/perl5/commit/cba208fd4f773306f5f2713529feb3a0da201cc0
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M op.c
M peep.c
Log Message:
-----------
Avoid repeated calls to OpSIBLING
Instead store the result of the first one, and use that.
Commit: 161e334d60656d6618eb26c8f54da80fa012701a
https://github.com/Perl/perl5/commit/161e334d60656d6618eb26c8f54da80fa012701a
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M regen/embed.pl
Log Message:
-----------
regen/embed.pl: Move 'my' declaration
The next commit will want this to be available earlier.
Commit: 5898988743166c69c290c1d6e140ef460de807ab
https://github.com/Perl/perl5/commit/5898988743166c69c290c1d6e140ef460de807ab
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M regen/embed.pl
Log Message:
-----------
regen/embed.pl: Avoid trailing blank
Though code later strips this off, it's best to not put it in in the
first place
Commit: 03ff4d79ec768246cf247cc12c9116280e8519d9
https://github.com/Perl/perl5/commit/03ff4d79ec768246cf247cc12c9116280e8519d9
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M regen/embed.pl
Log Message:
-----------
regen/embed.pl: Indent here-doc for clarity
Commit: 5d085e34ee2e99935d4f7deda36a3484e9d06999
https://github.com/Perl/perl5/commit/5d085e34ee2e99935d4f7deda36a3484e9d06999
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M embed.h
M perl.h
Log Message:
-----------
perl.h: Add some missing pTHX_n (n is a number)
This makes sure these macros exist for every current usage.
Commit: 3ab6549fdd9ab5982c5769f511f3728d348dc18c
https://github.com/Perl/perl5/commit/3ab6549fdd9ab5982c5769f511f3728d348dc18c
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M cflags.SH
Log Message:
-----------
cflags.SH: Turn off attribute_nonnull warnings
gcc emits a bunch of warnings under -Wall for functions that have
declared that parameter 'n' is never going to be NULL, and then have the
temerity to make sure that that is true.
The problem is that we have many macros that are generalized enough to
handle the case where the parameter is NULL. It just happens that
sometimes they get called as well from code where it is known to be not
NULL. We could write additional macros that are known to take a
non-NULL parameter and don't do the test. The existing macros would be
rewritten to just call the new ones after checking for non-NULL.
But that would complicate our code, and a main point of compilers doing
optimization is to figure out and remove impossible cases, without the
programmers having to be concerned with that.
Just turn off these warnings
Commit: 60934b7afcb35dff9de55af974175231b89c8aa4
https://github.com/Perl/perl5/commit/60934b7afcb35dff9de55af974175231b89c8aa4
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M proto.h
M regen/embed.pl
Log Message:
-----------
proto.h: Use __attribute__nonnull__ if available
proto.h contains a generated PERL_ARGS_ASSERT macro for every function.
It asserts that each parameter that isn't allowed to be NULL actually
isn't.
These asserts are disabled when not DEBUGGING. But many compilers allow
a compile-time assertion to be made for this situation, so we can add an
extra measure of protection for free. And this gives hints to the
compiler for optimizations when the asserts() aren't there.
Commit: 23da14807b020d938ba03238ca1b78128822ac1d
https://github.com/Perl/perl5/commit/23da14807b020d938ba03238ca1b78128822ac1d
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M proto.h
M regen/embed.pl
Log Message:
-----------
Add __attribute_nonnull__ to aTHX parameter
This parameter is always non-null when built with MULTIPLICITY. At no
runtime cost, make sure the compiler knows that.
Commit: d1a42b4c06f6d18835ecb826c84478061ee69299
https://github.com/Perl/perl5/commit/d1a42b4c06f6d18835ecb826c84478061ee69299
Author: Karl Williamson <[email protected]>
Date: 2026-02-07 (Sat, 07 Feb 2026)
Changed paths:
M embed.fnc
Log Message:
-----------
embed.fnc: Update to document '__attribute__nonnull__'
Compare: https://github.com/Perl/perl5/compare/a4fb384b292e...d1a42b4c06f6
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications