Joseph S. Myers wrote:

You also need to deal with fold, which will optimize away potentially trapping computations with -ftrapv and runs before gimplification (possibly in association with making fold run at gimplification time and not before).

Indeed. However, errors missed due to fold eliminating them before gimplification would be a false negative, so less of a problem. Since this feature is designed to crash your program when it has a bug, crashing your program somewhat less often doesn't make the feature useless; just less useful.

--
Mark Mitchell
CodeSourcery
[EMAIL PROTECTED]
(650) 331-3385 x713

Reply via email to