[llvm-commits] [PATCH] Configure: if we compile with clang, check that it is not broken
Dmitri Gribenko
gribozavr at gmail.com
Wed Jan 9 07:28:39 PST 2013
On Wed, Jan 9, 2013 at 6:40 AM, NAKAMURA Takumi <geek4civic at gmail.com> wrote:
> Could we enhance it to detect also broken gccs?
Sorry, I don't think the check would be that simple (for GCC the issue
is miscompiles).
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 llvm-commits
mailing list