develooper Front page | perl.perl5.changes | Postings from September 2021

[Perl/perl5] 0ce638: gh19100: avoid buggy "maybe used uninitialized"wa...

Hugo van der Sanden via perl5-changes
September 17, 2021 12:10
[Perl/perl5] 0ce638: gh19100: avoid buggy "maybe used uninitialized"wa...
Message ID:
  Branch: refs/heads/hv/init_myperl
  Commit: 0ce638951b075ffaf34d8c4d68ca876625503563
  Author: Hugo van der Sanden <>
  Date:   2021-09-17 (Fri, 17 Sep 2021)

  Changed paths:
    M perl.c

  Log Message:
  gh19100: avoid buggy "maybe used uninitialized" warning

New warnings introduced around gcc-10 or -11 assume that the call to
pthread_getspecific() in S_init_tls_and_interp may read through the
my_perl pointer provided; writing to any element of the structure
is enough to shut it up. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About