Branch: refs/heads/yves/LTRIE
  Home:   https://github.com/Perl/perl5
  Commit: c9356a84bdad37af2526ae0251881c81433b690a
      
https://github.com/Perl/perl5/commit/c9356a84bdad37af2526ae0251881c81433b690a
  Author: Yves Orton <[email protected]>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M regcomp_trie.c

  Log Message:
  -----------
  add an assert

Tony Cook has reported a case where the TRIE_DATA_SLOT_set(stclass, data_slot) 
warns
about


  Commit: 9812224c3bf46521cec19cf771091c42ada7991a
      
https://github.com/Perl/perl5/commit/9812224c3bf46521cec19cf771091c42ada7991a
  Author: Yves Orton <[email protected]>
  Date:   2026-07-09 (Thu, 09 Jul 2026)

  Changed paths:
    M regcomp.h
    M regcomp_trie.c

  Log Message:
  -----------
  maybe silence compiler warning on win32?

The comment says it all, some compilers dont understand this code and think
it will write out of bounds so we unroll the TRIE_DATA_SLOT_set() macro
to allow us to resuse just the part we need here.


Compare: https://github.com/Perl/perl5/compare/7b73ad81d8c2...9812224c3bf4

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to