[cfe-commits] r167258 - in /cfe/trunk: lib/CodeGen/CGExprScalar.cpp test/CodeGen/trapv.c

Dmitri Gribenko gribozavr at gmail.com
Thu Nov 1 15:26:35 PDT 2012


On Fri, Nov 2, 2012 at 12:13 AM, Richard Smith
<richard-llvm at metafoo.co.uk> wrote:
> Author: rsmith
> Date: Thu Nov  1 17:13:39 2012
> New Revision: 167258
>
> URL: http://llvm.org/viewvc/llvm-project?rev=167258&view=rev
> Log:
> Remove divison-by-zero checks from -ftrapv. These checks were incompatible with
> g++'s -ftrapv, failed to call the -ftrapv overflow handler, and are still
> available under -fcatch-undefined-behavior.

Does this mean that PR11854 is WONTFIX?

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list