On Sat, Mar 23, 2002 at 08:53:16PM -0800, Jeffrey Friedl wrote: > With the latest bleedperl, this program segfaults if 're debug' is used. > > use overload; > BEGIN { > overload::constant qr => sub { return $_[0] } > }
Only 'use overload' is necessary for me. It segfaults @15421 without -DDEBUGGING. Can't tell exactly where since it's not -g. @15421 with -DDEBUGGING it works fine. This appears to be the opposite of what you're seeing since line 1592 is right in the middle of an #ifdef DEBUGGING block. > cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -DDEBUGGING >-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 >-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE >-D_FILE_OFFSET_BITS=64 -DDEBUGGING -fno-strict-aliasing -I/usr/local/include >-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING -fno-strict-aliasing >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing >-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' err.. what happened there? -- Michael G. Schwern <[EMAIL PROTECTED]> http://www.pobox.com/~schwern/ Perl Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One ....and that, children, is how to clean and load a .38 revolver. Questions?