[cfe-commits] r171755 - in /cfe/trunk: lib/AST/ExprConstant.cpp lib/CodeGen/CGExprScalar.cpp lib/Sema/SemaExpr.cpp test/CodeGen/catch-undef-behavior.c test/CodeGenOpenCL/shifts.cl test/Sema/shiftOpenCL.cl

Dmitri Gribenko gribozavr at gmail.com
Tue Jan 8 07:11:04 PST 2013


On Tue, Jan 8, 2013 at 5:07 PM, David Tweed <David.Tweed at arm.com> wrote:
>
> |This test breaks on a Release-Asserts build with CMake+ninja.  The
> |generated IR is:
>
> Thanks for reporting. I'll change the name regexps to be more general, but I wonder why it's happening? I'd thought the command line was suitably specific, though I'm using configure+make. It'd be a bit concerning if the choice of build system changed the compiler at all.

I think that it is -Asserts that changes the output.  Anyway,
Nakamura-san has already fixed this in r171820.

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