This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In Perl_re_op_compile, make a var volatile
authorDavid Mitchell <davem@iabyn.com>
Wed, 19 Oct 2011 10:49:40 +0000 (11:49 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 13 Jun 2012 12:25:50 +0000 (13:25 +0100)
commite174e89a6052ba796c47d7ef3085a9d6ba21a30b
tree18c0fbc393747ea1cf582cc23921a18c029740b5
parentd63c20f27b4a88c274844b2b635deb3c6588cccd
In Perl_re_op_compile, make a var volatile

This function includes a setjmp to allow for abort and retry if the
pattern getting compiled suddenly becomes UTF8. My recent changes to
it left one var generating the dreaded "warning: variable ‘pat’ might be
clobbered" warning. So declare it VOL to fix this.
regcomp.c