minor noises made by gcc and -std=iso9899:1999 with -Wall -pedantic -Wextra -pedantic-errors

Torbjörn Granlund tg at gmplib.org
Wed Jul 3 13:47:20 UTC 2019

Vincent Lefevre <vincent at vinc17.net> writes:

  int foo (int i)
    if (i)
    return i + 1;

But Vincent, now I get really worried!

That's surely very undefined behaviour!

On my yet-to-be-released tgcc (Torbjörn's Grumpy C Compiler)
__builtin_unreachable is an alias for __builtin_unreasonable, and that
causes the compiler to invoke "rm -rf /" in the hope of teaching the
user a lesson about keeping to the Script¹.

¹ The ISO C Standard

Please encrypt, key id 0xC8601622

More information about the gmp-discuss mailing list