[cfe-dev] Clang on SL5

Dmitri Gribenko gribozavr at gmail.com
Mon Apr 15 07:49:28 PDT 2013


On Mon, Apr 15, 2013 at 5:42 PM, Miguel Aguilar
<miguel.aguilar at ice.rwth-aachen.de> wrote:
> Is the libc buggy in sl5 itself or the interaction with clang?

libc expects different semantics from some C constructs.  System gcc
implements them as expected by libc, so it was unnoticed.

> By stage two do you mean preprocesing?

By stage 2 I mean second stage during bootstrap.

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-dev mailing list