| Store | Cart

Re: [perl #121505] Can't build perl with gcc4.9 due to UB in sv.c

From: Reini Urban <rur...@x-ray.at>
Fri, 18 Apr 2014 14:29:34 -0500
I'm following this thread with more and more disgust.
Are your really advocating keeping wrong and UB? This will turn into
security issues, I'll promise you.
You really don't want to fix the signed integers to unsigned when you
wrap it, and you rather want to hurt all of integer arithmetic
optimizations by forcing -fwrapv onto us?

Seriously, fix the problems as patched by Mark Polacek who knows what
he is doing, and don't cover it up with -fwrapv.
Optimizers rely on proper signed vs unsigned types, and if you treat
it as unsigned declare it as such, so that the optimizer knows about
it.

Recent Messages in this Thread
Tony Cook via RT May 05, 2014 12:27 am
Steve Hay May 06, 2014 05:14 pm
Tony Cook via RT May 08, 2014 04:42 am
Steve Hay May 09, 2014 01:38 pm
Tony Cook via RT May 12, 2014 12:07 am
Tony Cook via RT Apr 14, 2014 03:35 am
Steve Hay via RT Apr 18, 2014 03:25 pm
Reini Urban Apr 18, 2014 07:29 pm
Tony Cook via RT Apr 21, 2014 11:32 pm
Tony Cook via RT Apr 21, 2014 11:05 pm
Steve Hay via RT Apr 22, 2014 12:10 pm
Steve Hay via RT Apr 22, 2014 05:12 pm
Steve Hay Apr 22, 2014 07:37 pm
Tony Cook via RT Apr 09, 2014 01:59 am
H.Merijn Brand Apr 09, 2014 06:09 am
Tony Cook Apr 09, 2014 06:36 am
Zefram Apr 09, 2014 09:15 am
H.Merijn Brand Apr 09, 2014 09:32 am
Zefram Apr 09, 2014 09:33 am
H.Merijn Brand Apr 09, 2014 06:38 pm
Tony Cook via RT Apr 09, 2014 09:55 pm
Zefram Apr 10, 2014 09:05 am
Tony Cook via RT Apr 09, 2014 11:57 pm
Steve Hay Apr 10, 2014 07:02 am
Marek Polacek (via RT) Mar 25, 2014 05:28 pm
Messages in this thread