summaryrefslogtreecommitdiff
path: root/gcc/varray.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-21 07:10:36 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2000-07-21 07:10:36 +0000
commit19fafbd363af0c07562e77595fc94ad786c4e00f (patch)
treed19f337e85d3fb553f6806af5174bc4df981e7c8 /gcc/varray.h
parent0dcbd3b4c4705dde230ddad2938b4d54344725d6 (diff)
downloadgcc-19fafbd363af0c07562e77595fc94ad786c4e00f.tar.gz
* diagnostic.c (trim_filename, fancy_abort): Moved here from
rtl.c. (fatal_function, set_fatal_function): Removed. (fatal): Don't prepare for or call the fatal_function. (diagnostic_lock, error_recursion): New. (diagnostic_for_decl, report_diagnostic): Guard against re-entering the error reporting routines. (fancy_abort): Assume function is not NULL. * errors.c (fancy_abort): New. Assume function is not NULL. * tradcpp.c (fancy_abort): Assume function is not NULL. * system.h: Provide default definition of __FUNCTION__. * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout. Always use __FUNCTION__ in definition of abort. * tree.h: Likewise. * varray.h: Likewise. * toplev.h: Likewise. Don't prototype set_fatal_function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35170 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varray.h')
-rw-r--r--gcc/varray.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/varray.h b/gcc/varray.h
index aafedb0cf4e..1456ffebe45 100644
--- a/gcc/varray.h
+++ b/gcc/varray.h
@@ -180,8 +180,7 @@ extern void varray_check_failed PARAMS ((varray_type, size_t,
(*({ varray_type _va = VA; \
size_t _n = N; \
if (_n >= _va->num_elements) \
- varray_check_failed (_va, _n, __FILE__, __LINE__, \
- __PRETTY_FUNCTION__); \
+ varray_check_failed (_va, _n, __FILE__, __LINE__, __FUNCTION__); \
&_va->data.T[_n]; }))
#else
#define VARRAY_CHECK(VA, N, T) ((VA)->data.T[N])