aboutsummaryrefslogtreecommitdiff
path: root/gcc/genflags.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-10-14 10:37:09 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-10-14 10:37:09 +0000
commitbf94d1ecc773351392f54859e697f557ba097ed8 (patch)
tree45dc8fa31accc97f689780edab32eb15d9b3b9f0 /gcc/genflags.c
parentc9ab1458499b9a3e3fcb398cf29e3349e775ee9b (diff)
downloadgcc-bf94d1ecc773351392f54859e697f557ba097ed8.zip
gcc-bf94d1ecc773351392f54859e697f557ba097ed8.tar.gz
gcc-bf94d1ecc773351392f54859e697f557ba097ed8.tar.bz2
Add ATTRIBUTE_NORETURN in a bunch of places:
* cppalloc.c (memory_full): Mark function prototype with ATTRIBUTE_NORETURN. * demangle.h (collect_exit): Likewise. * fix-header.c (v_fatal, fatal): Likewise. * gcc.c (pfatal_with_name, pfatal_pexecute, fatal, fancy_abort): Likewise. * gcov.c (print_usage): Likewise. * genattr.c (fatal, fancy_abort): Likewise. * genattrtab.c (fatal, fancy_abort): Likewise. * gencodes.c (fatal, fancy_abort): Likewise. * genconfig.c (fatal, fancy_abort): Likewise. * genemit.c (fatal, fancy_abort): Likewise. * genextract.c (fatal, fancy_abort): Likewise. * genflags.c (fatal, fancy_abort): Likewise. * genopinit.c (fatal, fancy_abort): Likewise. * genoutput.c (fatal, fancy_abort): Likewise. * genpeep.c (fatal, fancy_abort): Likewise. * genrecog.c (fatal, fancy_abort): Likewise. * libgcc2.c (__eprintf, __default_terminate, __sjthrow, __sjpopnthrow, __throw): Likewise. * objc/objc-act.c (objc_fatal): Likewise. * protoize.c (usage, aux_info_corrupted, declare_source_confusing): Likewise. * rtl.c (dump_and_abort): Likewise. * rtl.h (sets_cc0_p): Likewise. * toplev.c (float_signal, pipe_closed): Likewise. From-SVN: r23084
Diffstat (limited to 'gcc/genflags.c')
-rw-r--r--gcc/genflags.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/genflags.c b/gcc/genflags.c
index dee8128..c9214ab 100644
--- a/gcc/genflags.c
+++ b/gcc/genflags.c
@@ -34,8 +34,9 @@ struct obstack *rtl_obstack = &obstack;
#define obstack_chunk_free free
char *xmalloc PROTO((unsigned));
-static void fatal PVPROTO ((char *, ...)) ATTRIBUTE_PRINTF_1;
-void fancy_abort PROTO((void));
+static void fatal PVPROTO ((char *, ...))
+ ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN;
+void fancy_abort PROTO((void)) ATTRIBUTE_NORETURN;
/* Names for patterns. Need to allow linking with print-rtl. */
char **insn_name_ptr;