aboutsummaryrefslogtreecommitdiff
path: root/qbe.c
diff options
context:
space:
mode:
Diffstat (limited to 'qbe.c')
-rw-r--r--qbe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/qbe.c b/qbe.c
index 0e57819..f3a6f44 100644
--- a/qbe.c
+++ b/qbe.c
@@ -560,11 +560,6 @@ mkfunc(struct decl *decl, char *name, struct type *t, struct scope *s)
d = mkdecl(DECLOBJECT, t, QUALNONE, LINKNONE);
d->value = mkglobal("__func__", true);
scopeputdecl(s, "__func__", d);
- /*
- needed for glibc's assert definition with __GNUC__=2 __GNUC_MINOR__=4
- XXX: this should also work at file scope, where it should evaluate to "toplevel"
- */
- scopeputdecl(s, "__PRETTY_FUNCTION__", d);
f->namedecl = d;
funclabel(f, mkblock("body"));