Created attachment 15430 [details] Reduced test case Initial reduction of the test case is attached, build with: --target powerpc--netbsd -O2 Bisect points to r239552.
Another Platform: Macintosh (PowerMac G5) 11.0-CURRENT FreeBSD. Block's "buildworld". I had submitted a clang crash report in to FreeBSD for its system clang (3.7) in 11.0-CURRENT on powerpc64 (an old PowerMac G5 is my example), where it crashed during the attempt to "buildworld". (See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205183 .) Roman Divacky reports that my submittal is an example of this 25802 issue. On 2015-Dec-10, at 2:19 PM, Roman Divacky <rdivacky@vlakno.cz> wrote: This is https://llvm.org/bugs/show_bug.cgi?id=25802 That was in response to: On Thu, Dec 10, 2015 at 11:56:55AM -0800, Mark Millard wrote: I have submitted bug 205183 for powerpc64's 11.0-CURRENT r291745 system clang 3.7 crashing when compiling contrib/atf/atf-sh/atf-check.cpp during buildworld. The backtrace and a .zip of the atf-check-a96a93.cpp and atf-check-a96a93.sh provided were submitted. The "Affects Only Me" status might need to change if others also see the crash. In my context it is reproducible.
Created attachment 15606 [details] this crashes llc
think the assert is just bogus. The assembly has .long .Ltmp8-.Ltmp13 # Call between .Ltmp13 and .Ltmp8 And Ltmp8 is befor Ltmp13, which is fine. I will try to reduce the testcase a bit more.
Fixed in r257412.