Date: Tue, 22 Feb 2011 13:44:01 -0800 (PST) From: "Pedro F. Giffuni" <giffunip@tutopia.com> To: freebsd-toolchain@FreeBSD.org Subject: BSD format-extensions break the gcc testsuite Message-ID: <729674.24938.qm@web113508.mail.gq1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Hello; I have been trying to build kernels with llvm-gcc4 so I took the code to add -fformat-extensions from our system gcc and I added it to llvm-gcc4. Unfortunately, even when format-extensions are not set, it seems to alter gcc's behaviour. The llvm committer reported this issue: _______ ... I applied the three patches in PR9097, and ran the LLVM test suite and the GCC test suite. The news is generally positive, but this test case: .../llvmgcc42.test/gcc/testsuite/gcc.dg/format/attr-3.c now segfaults on this declaration: extern void fe0 (const char *, ...) __attribute__((format(12345, 1, 2))); Both the patched and unpatched compiler generate lots of diagnostics for this test case, but the unpatched compiler doesn't segfault. ... _____ Anyone that can help? I suspect this issue may also be causing trouble in our base compiler. cheers, Pedro.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?729674.24938.qm>