When building GCC with Clang, disable optimizations for tree.c until I
can figure out what is responsible for the miscompilation.
This commit is contained in:
parent
d54dab14a9
commit
2c9706a997
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: TODO.clang,v 1.11 2014/07/05 20:45:49 joerg Exp $
|
||||
$NetBSD: TODO.clang,v 1.12 2014/07/06 00:21:24 joerg Exp $
|
||||
|
||||
Hacks for the clang integration
|
||||
-------------------------------
|
||||
|
@ -8,3 +8,6 @@ for the incomplete explicit positioning support in LLVM MC.
|
|||
|
||||
Workaround for .fpu handling in src/sys/lib/libunwind for ARM by forcing
|
||||
GNU as.
|
||||
|
||||
src/external/gpl3/gcc/usr.bin/backend forces tree.c to be compiled with -O0.
|
||||
g++ otherwise on trivial input.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2014/03/15 20:46:38 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2014/07/06 00:21:24 joerg Exp $
|
||||
|
||||
LIBISPRIVATE= yes
|
||||
|
||||
|
@ -402,5 +402,7 @@ COPTS.lambda-code.c= -O0
|
|||
COPTS.tree-loop-linear.c= -O0
|
||||
.endif
|
||||
|
||||
COPTS.tree.c= ${${ACTIVE_CC} == "clang" :? -O0 :}
|
||||
|
||||
.PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
|
||||
.PATH: ${DIST}/gcc/config
|
||||
|
|
Loading…
Reference in New Issue