1 # gcc -O3 (and higher) can cause Storable.xs to produce code that
2 # dumps core immediately in recurse.t and retrieve.t, in is_storing()
3 # and last_op_in_netorder(), respectively. In both cases the cxt is
4 # full of junk (and according to valgrind the cxt was never stack'd,
5 # malloc'd or free'd). Observed in Debian 3.0 x86, both with gccs
6 # 2.95.4 20011002 and 3.3.
8 $self->{OPTIMIZE} = '-O2'
9 if -f '/etc/debian_version' &&
10 ($Config{gccversion} =~ /^2\.95\.4 20011002 / ||
11 $Config{gccversion} eq '3.3');