From 004ad42d8f0f6e3b14d68fb0b51e016f2d0afbf6 Mon Sep 17 00:00:00 2001 From: Florian Liekweg Date: Fri, 14 Jan 2005 14:14:43 +0000 Subject: [PATCH] fix gnu extension [r4923] --- ir/ana2/ecg.c | 5 +++++ ir/ana2/pto_util.c | 7 ++++++- ir/ana2/typalise.c | 7 ++++++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ir/ana2/ecg.c b/ir/ana2/ecg.c index 0cfce80cc..47bd86e00 100644 --- a/ir/ana2/ecg.c +++ b/ir/ana2/ecg.c @@ -40,6 +40,8 @@ # include "typalise.h" # include "lset.h" +# include "gnu_ext.h" + # define HERE(msg) fprintf (stdout, "%s:%i %s\n", __FUNCTION__, __LINE__, msg) /* @@ -1193,6 +1195,9 @@ void ecg_ecg (void) /* $Log$ + Revision 1.18 2005/01/14 14:14:43 liekweg + fix gnu extension + Revision 1.17 2005/01/14 13:34:25 liekweg Factor out call_info_t ctor; fix mallocs; fix initialisation diff --git a/ir/ana2/pto_util.c b/ir/ana2/pto_util.c index 3b900f082..b73c4d6d2 100644 --- a/ir/ana2/pto_util.c +++ b/ir/ana2/pto_util.c @@ -27,6 +27,7 @@ # include "xmalloc.h" # include "pto_debug.h" +# include "gnu_ext.h" /* Local Defines: */ # ifndef TRUE @@ -119,7 +120,8 @@ entity *get_ptr_ent (ir_node *ptr) } break; default: { - fprintf (stderr, "get_ptr_ent: no ent for ptr=%s[%ld]\n", + fprintf (stderr, "%s: no ent for ptr=%s[%ld]\n", + __FUNCTION__, get_op_name (get_irn_op (ptr)), get_irn_node_nr (ptr)); assert (0); @@ -152,6 +154,9 @@ int is_dummy_load_ptr (ir_node *ptr) /* $Log$ + Revision 1.16 2005/01/14 14:13:32 liekweg + fix gnu extension + Revision 1.15 2005/01/10 17:26:34 liekweg fixup printfs, don't put environments on the stack diff --git a/ir/ana2/typalise.c b/ir/ana2/typalise.c index 2dc9f7391..42e3e52d6 100644 --- a/ir/ana2/typalise.c +++ b/ir/ana2/typalise.c @@ -33,6 +33,7 @@ # include "irnode_t.h" # include "irgwalk.h" # include "xmalloc.h" +# include "gnu_ext.h" /* @@ -680,7 +681,8 @@ typalise_t *typalise (ir_node *node) res = ta_type (tp); /* can't use ta_exact */ } else { - fprintf (stdout, "can't handle SymConst %s?\n", + fprintf (stdout, "%s (%s:%i): can't handle SymConst %s?\n", + __FUNCTION__, __FILE__, __LINE__, get_op_name (get_irn_op (node))); res = NULL; } @@ -706,6 +708,9 @@ typalise_t *typalise (ir_node *node) /* $Log$ + Revision 1.8 2005/01/14 14:13:24 liekweg + fix gnu extension + Revision 1.7 2005/01/10 17:26:34 liekweg fixup printfs, don't put environments on the stack -- 2.20.1