From 1a6070bdaf85b384b2e178a361d28d801a6481d3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Dagfinn=20Ilmari=20Manns=C3=A5ker?= Date: Wed, 7 May 2014 19:17:09 -0400 Subject: [PATCH] perl5200delta: Correct which gcc versions we add -fwrapv for --- Porting/perl5200delta.pod | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Porting/perl5200delta.pod b/Porting/perl5200delta.pod index 388d779..36c9a77 100644 --- a/Porting/perl5200delta.pod +++ b/Porting/perl5200delta.pod @@ -1326,12 +1326,12 @@ up as /system/bin/sh, and "sh" as /bin/sh. =item * By default, B 4.9 does some optimizations that break perl. The B<-fwrapv> -option disables those optimizations (and probably others), so for B 4.9 -(and later, since the optimizations probably won't go away), F now -adds B<-fwrapv> unless the user requests B<-fno-wrapv>, which disables -B<-fwrapv>, or B<-fsanitize=undefined>, which turns the overflows B<-fwrapv> -ignores into runtime errors. (This is not done prior to B 4.3, since -B<-fwrapv> was broken then.) +option disables those optimizations (and probably others), so for B 4.3 +and later (since the there might be similar problems lurking on older versions +too, but B<-fwrapv> was broken before 4.3, and the optimizations probably won't +go away), F now adds B<-fwrapv> unless the user requests +B<-fno-wrapv>, which disables B<-fwrapv>, or B<-fsanitize=undefined>, which +turns the overflows B<-fwrapv> ignores into runtime errors. [L] =back -- 2.7.4