[llvm-commits] CVS: llvm-gcc/gcc/llvm-expand.c
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 30 23:17:25 PST 2004
Changes in directory llvm-gcc/gcc:
llvm-expand.c updated: 1.73 -> 1.74
---
Log message:
Two changes,
The first hunk is just tidyness, no functionality changes.
The second hunk disables a very important optimization that breaks libstdc++
horribly. Until its safe or we can find cases where it is safe, we cannot
use it.
---
Diffs of the changes: (+3 -2)
Index: llvm-gcc/gcc/llvm-expand.c
diff -u llvm-gcc/gcc/llvm-expand.c:1.73 llvm-gcc/gcc/llvm-expand.c:1.74
--- llvm-gcc/gcc/llvm-expand.c:1.73 Wed Dec 1 01:09:25 2004
+++ llvm-gcc/gcc/llvm-expand.c Wed Dec 1 01:17:10 2004
@@ -6059,7 +6059,8 @@
EXPR_WFL doesn't seem to be used in C much.
*/
- if (EXPR_WFL_EMIT_LINE_NOTE (exp)){
+ if (debug_info_level > DINFO_LEVEL_NONE &&
+ EXPR_WFL_EMIT_LINE_NOTE(exp)) {
llvm_emit_dbg_stoppoint(Fn, EXPR_WFL_LINENO(exp), EXPR_WFL_COLNO(exp));
}
Result = llvm_expand_expr(Fn, EXPR_WFL_NODE(exp), DestLoc);
@@ -7258,7 +7259,7 @@
G->Init = llvm_decode_string_constant(DECL_INITIAL(decl), Len, ElTy);
}
} else {
- if (TYPE_NEEDS_CONSTRUCTING(TREE_TYPE(decl))) {
+ if (0 && TYPE_NEEDS_CONSTRUCTING(TREE_TYPE(decl))) {
/* This global has a ctor that will initialize it. For now, init to
* undef.
*/
More information about the llvm-commits
mailing list