On 2012-12-22 04:15, Gerald Pfeifer wrote:
If someone wants to have a look, this was on
10.0-CURRENT FreeBSD 10.0-CURRENT #6 r243901: Wed Dec 5 21:18:57 UTC 2012
with
FreeBSD clang version 3.2 (branches/release_32 168974) 20121130
Attached you'll find the log and two trace files created by clang.
....
Assertion failed: (CanSROA), function visitUsers, file
/scratch/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/SROA.cpp,
line 2395.
Stack dump:
0. Program arguments: /usr/bin/cc -cc1 -triple i386-unknown-freebsd10.0
-emit-obj -disable-free -main-file-name ptrace.c -mrelocation-model static
-mdisable-fp-elim -relaxed-aliasing -masm-verbose -mconstructor-aliases
-target-cpu i486 -momit-leaf-frame-pointer -coverage-file
/scratch2/tmp/gerald/wine-devel-work/wine-1.5.20/server/ptrace.o -resource-dir
/usr/bin/../lib/clang/3.2 -D __WINESRC__ -I . -I . -I ../include -I ../include
-I /home/gerald/10-i386/include/freetype2 -I /home/gerald/10-i386/include -I
/home/gerald/10-i386/include -fmodule-cache-path /var/tmp/clang-module-cache
-O2 -Wall -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings
-Wpointer-arith -fconst-strings -fdebug-compilation-dir
/scratch2/tmp/gerald/wine-devel-work/wine-1.5.20/server -ferror-limit 19
-fmessage-length 0 -mstackrealign -fobjc-runtime=gnustep
-fdiagnostics-show-option -o ptrace.o -x c ptrace.c
1. <eof> parser at end of file
2. Per-function optimization
3. Running pass 'SROA' on function '@write_process_memory'
Thanks for reporting this, it was due to LLVM PR 14601. It should be
fixed in r244598. The fix will also go into stable/9, when that gets
clang 3.2.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"