[current tinderbox] failure on ia64/ia64

Dag-ErlingSmørgrav des at des.no
Wed Mar 17 03:59:31 PST 2004

Ruslan Ermilov <ru at freebsd.org> writes:
> I cannot reproduce it either, but perhaps this is the same reason why
> we still have -Wno-uninitialized in <bsd.sys.mk> for normal WARNS
> levels.

No, we use -Wno-uninitialized because of cases where it is obvious to
humans but not to gcc that a variable is initialized, such as:

    if (foo != NULL)
        bar = baz(foo);
    /* some code that doesn't change foo */
    if (foo != NULL)
        printf("%d\n", bar);

If you remove the code between the two ifs, gcc will coalesce them and
realize nothing fishy is going on (unless you compile with -O0).

Dag-Erling Smørgrav - des at des.no

More information about the freebsd-tinderbox mailing list