public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-19980508 warning patches part 4/5
@ 1998-05-12 12:36 Kaveh R. Ghazi
  0 siblings, 0 replies; only message in thread
From: Kaveh R. Ghazi @ 1998-05-12 12:36 UTC (permalink / raw)
  To: egcs

	This is patch part 4/5.  Okay to install?

Note: I tried to only use ATTRIBUTE_UNUSED where the function call
interface was mandated by outside constraints.  Also, the ChangeLog
is for all parts 1 to 4.



Mon May 11 21:28:22 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

	* Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
	(c-lex.o): Depend on output.h.
	(c-common.o): Likewise.
	(stmt.o): Likewise.
	(calls.o): Likewise.
	(integrate.o): Depend on toplev.h.
	(regclass.o): Depend on output.h.
	(final.o): Depend on reload.h.

	* c-common.c: Include output.h.
	(check_format_info): Remove unused variable `integral_format'.

	* c-decl.c (print_lang_decl): Mark parameters `file', `node' and
	`indent' with ATTRIBUTE_UNUSED.
	(print_lang_type): Likewise.
	(maybe_build_cleanup): Likewise for parameter `decl'.
	(copy_lang_decl): Likewise for parameter `node'.

	* c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
	(lang_print_xnode): Mark parameters `file', `node' and `indent'
 	with ATTRIBUTE_UNUSED.
	(lookup_interface): Likewise for parameter `arg'.
	(is_class_name): Likewise.
	(maybe_objc_check_decl): Likewise for parameter `decl'.
	(maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
	`reflexive'.
	(maybe_objc_method_name): Likewise for parameter `decl'.
	(build_objc_string): Likewise for parameters `len' and `str'.

	* c-lex.c: Include output.h.

	* c-lex.h (position_after_white_space): Correct typo in prototype.

	* c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
 	c_expand_end_cond, init_iterators): Add prototypes.

	* caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
	with ATTRIBUTE_UNUSED.

	* calls.c: Include output.h.

	* cccp.c (pipe_closed): Mark parameter `signo' with
 	ATTRIBUTE_UNUSED.

	* combine.c: Move inclusion of expr.h to after insn-config.h.

	* iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
	as empty, rather define as ((void)0).

	* sparc.c (sparc_check_64): Add braces around ambiguous `else'.
	Add parentheses around assignment used as truth value.

	* cplus-dem.c (squangle_mop_up): Change return type to void.
	(internal_cplus_demangle): Remove unused parameter `options'.
	All callers changed.
	(cplus_demangle_opname): Remove function wide variable `int i' and
 	replace with `size_t i' at each location where it is used.
	(cplus_demangle_opname): change type of `i' from int to size_t.

	* cppexp.c (right_shift): Mark parameter `pfile' with
	ATTRIBUTE_UNUSED.

	* cpphash.c (cpp_lookup): Likewise.
	(cpp_hash_cleanup): Likewise.

	* cpplib.c (parse_name): Add a prototype and make it static.
	(null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
	(null_cleanup): Likewise for parameters `pbuf' and `pfile'.
	(macro_cleanup): Likewise for parameter `pfile'.
	(file_cleanup): Likewise.

	* cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
 	cpp_read_check_assertion, skip_rest_of_line): Add prototypes.

	* crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
	__DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.

	* cse.c (cse_check_loop_start): Mark parameter `set' with
 	ATTRIBUTE_UNUSED.

	* dbxout.c (flag_minimal_debug, have_used_extensions,
	source_label_number): Move inside macro wrapper check against
	defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).

	* dwarf2out.c (gen_entry_point_die): Hide prototype and definition.

	* except.h (doing_eh): Provide prototype.

	* expr.c: Move inclusion of expr.h to after insn-config.h.

	* final.c: Include reload.h.
	(shorten_branches): Cast the first argument of bzero to char *.

	* fix-header.c (cpp_print_containing_files): Mark parameter
 	`pfile' with ATTRIBUTE_UNUSED.
	(cpp_fatal): Likewise.

	* flow.c (find_basic_blocks_1): Cast the first argument of bzero
	to char *.

	* genattrtab.c (make_length_attrs): Change the type of variable
	`i' from int to size_t.
	(zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
	(one_fn): Likewise.
	
	* genextract.c (main): When generating insn-extract.c, mark
	variable `junk' with ATTRIBUTE_UNUSED.

	* gengenrtl.c (gencode): When generating genrtl.c, cast the first
	argument of bzero to char*.

	* integrate.c: Include toplev.h.

	* libgcc2.c: Wrap `struct exception_table' and
	`find_exception_handler' in macro DWARF2_UNWIND_INFO.

	* objc/Make-lang.in (objc-act.o): Depend on toplev.h.
	
	* objc/objc-act.c: Include toplev.h.
	(lang_print_xnode): Mark parameters `file', `node' and `indent'
	with ATTRIBUTE_UNUSED.
	(finish_protocol): Likewise for parameter `protocol'.

	* output.h (declare_weak): Add prototype.
	(decode_reg_name): Don't wrap with TREE_CODE macro.
	(assemble_alias): Add prototype.

	* regclass.c: Include output.h.

	* reload.h (reloads_conflict): Add prototype.

	* rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
	output_func_start_profiler): Add prototypes.

	* rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
 	ATTRIBUTE_UNUSED.

	* scan-decls.c: Include scan.h.

	* scan.h (recognized_function, recognized_extern): Add prototypes.

	* stmt.c: Include output.h.

	* toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
	(output_lang_identify): Hide prototype and definition.
	(float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
	(pipe_closed): Likewise.

	* toplev.h (count_error, strip_off_ending, error_for_asm,
 	warning_for_asm): Add prototypes.



diff -rup orig/egcs-19980508/gcc/objc/Make-lang.in egcs-19980508/gcc/objc/Make-lang.in
--- orig/egcs-19980508/gcc/objc/Make-lang.in	Wed May  6 13:05:38 1998
+++ egcs-19980508/gcc/objc/Make-lang.in	Sun May 10 20:22:13 1998
@@ -88,7 +88,7 @@ $(srcdir)/objc/objc-parse.y: $(srcdir)/c
 
 objc-act.o : $(srcdir)/objc/objc-act.c \
    $(CONFIG_H) $(TREE_H) $(RTL_H) system.h \
-   $(srcdir)/c-tree.h $(srcdir)/c-lex.h \
+   $(srcdir)/c-tree.h $(srcdir)/c-lex.h $(srcdir)/toplev.h \
    $(srcdir)/flags.h $(srcdir)/objc/objc-act.h $(srcdir)/input.h \
    $(srcdir)/function.h $(srcdir)/output.h $(srcdir)/c-parse.h
 	$(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -I$(srcdir)/objc \
diff -rup orig/egcs-19980508/gcc/objc/objc-act.c egcs-19980508/gcc/objc/objc-act.c
--- orig/egcs-19980508/gcc/objc/objc-act.c	Wed May  6 04:57:18 1998
+++ egcs-19980508/gcc/objc/objc-act.c	Sun May 10 20:27:47 1998
@@ -49,6 +49,7 @@ Boston, MA 02111-1307, USA.  */
 #include "except.h"
 #include "function.h"
 #include "output.h"
+#include "toplev.h"
 
 /* This is the default way of generating a method name.  */
 /* I am not sure it is really correct.
@@ -695,9 +696,9 @@ lang_decode_option (p)
 
 void
 lang_print_xnode (file, node, indent)
-     FILE *file;
-     tree node;
-     int indent;
+     FILE *file ATTRIBUTE_UNUSED;
+     tree node ATTRIBUTE_UNUSED;
+     int indent ATTRIBUTE_UNUSED;
 {
 }
 
@@ -6419,7 +6420,7 @@ start_protocol (code, name, list)
 
 void
 finish_protocol (protocol)
-	tree protocol;
+	tree protocol ATTRIBUTE_UNUSED;
 {
 }
 
diff -rup orig/egcs-19980508/gcc/output.h egcs-19980508/gcc/output.h
--- orig/egcs-19980508/gcc/output.h	Fri Apr  3 11:36:22 1998
+++ egcs-19980508/gcc/output.h	Sun May 10 19:00:16 1998
@@ -155,6 +155,10 @@ extern void exception_section		PROTO((vo
    The rtl is stored into DECL.  */
 extern void make_function_rtl		PROTO((tree));
 
+/* Declare DECL to be a weak symbol.  */
+extern void declare_weak		PROTO ((tree));
+#endif /* TREE_CODE */
+
 /* Decode an `asm' spec for a declaration as a register name.
    Return the register number, or -1 if nothing specified,
    or -2 if the ASMSPEC is not `cc' or `memory' and is not recognized,
@@ -164,6 +168,7 @@ extern void make_function_rtl		PROTO((tr
    Prefixes such as % are optional.  */
 extern int decode_reg_name		PROTO((char *));
 
+#ifdef TREE_CODE
 /* Create the DECL_RTL for a declaration for a static or external variable
    or static or external function.
    ASMSPEC, if not 0, is the string which the user specified
@@ -180,6 +185,8 @@ extern void make_var_volatile		PROTO((tr
 /* Output alignment directive to align for constant expression EXP.  */
 extern void assemble_constant_align	PROTO((tree));
 
+extern void assemble_alias		PROTO((tree, tree));
+
 /* Output a string of literal assembler code
    for an `asm' keyword used between functions.  */
 extern void assemble_asm		PROTO((tree));
@@ -232,7 +239,7 @@ extern void assemble_variable		PROTO((tr
    (Most assemblers don't need this, so we normally output nothing.)
    Do nothing if DECL is not external.  */
 extern void assemble_external		PROTO((tree));
-#endif
+#endif /* TREE_CODE */
 
 #ifdef RTX_CODE
 /* Similar, for calling a library function FUN.  */
diff -rup orig/egcs-19980508/gcc/regclass.c egcs-19980508/gcc/regclass.c
--- orig/egcs-19980508/gcc/regclass.c	Wed May  6 00:53:53 1998
+++ egcs-19980508/gcc/regclass.c	Sun May 10 18:56:18 1998
@@ -35,6 +35,7 @@ Boston, MA 02111-1307, USA.  */
 #include "reload.h"
 #include "real.h"
 #include "toplev.h"
+#include "output.h"
 
 #ifndef REGISTER_MOVE_COST
 #define REGISTER_MOVE_COST(x, y) 2
diff -rup orig/egcs-19980508/gcc/reload.h egcs-19980508/gcc/reload.h
--- orig/egcs-19980508/gcc/reload.h	Tue May  5 19:17:23 1998
+++ egcs-19980508/gcc/reload.h	Sun May 10 19:19:45 1998
@@ -217,6 +217,8 @@ extern int regno_clobbered_p PROTO((int,
 
 /* Functions in reload1.c:  */
 
+extern int reloads_conflict		PROTO ((int, int));
+
 int count_occurrences            PROTO((rtx, rtx));
 
 /* Initialize the reload pass once per compilation.  */
diff -rup orig/egcs-19980508/gcc/rtl.h egcs-19980508/gcc/rtl.h
--- orig/egcs-19980508/gcc/rtl.h	Wed May  6 04:36:01 1998
+++ egcs-19980508/gcc/rtl.h	Sun May 10 19:28:19 1998
@@ -1202,6 +1202,7 @@ extern void debug_rtx_list		PROTO ((rtx,
 extern rtx debug_rtx_find		PROTO ((rtx, int));
 #ifdef BUFSIZ
 extern void print_rtl			PROTO ((FILE *, rtx));
+extern void print_rtl_single		PROTO ((FILE *, rtx));
 extern void print_inline_rtx		PROTO ((FILE *, rtx, int));
 #endif
 
@@ -1292,12 +1293,14 @@ extern rtx expand_mult_highpart		PROTO (
 						int, int));
 
 /* In global.c */
+extern void mark_elimiation		PROTO ((int, int));
 #ifdef BUFSIZ
 extern int global_alloc			PROTO ((FILE *));
 extern void dump_global_regs		PROTO ((FILE *));
 #endif
 
 /* In regclass.c */
+extern int reg_class_subset_p		PROTO ((enum reg_class, enum reg_class));
 extern void globalize_reg		PROTO ((int));
 extern void init_regs			PROTO ((void));
 extern void init_reg_sets		PROTO ((void));
@@ -1329,6 +1332,7 @@ extern void init_caller_save		PROTO ((vo
 
 /* In profile.c */
 extern void init_branch_prob		PROTO ((char *));
+extern void output_func_start_profiler	PROTO ((void));
 
 /* In reg-stack.c */
 #ifdef BUFSIZ
diff -rup orig/egcs-19980508/gcc/rtlanal.c egcs-19980508/gcc/rtlanal.c
--- orig/egcs-19980508/gcc/rtlanal.c	Thu Apr 16 20:40:35 1998
+++ egcs-19980508/gcc/rtlanal.c	Sun May 10 18:33:21 1998
@@ -455,7 +455,8 @@ static int reg_set_flag;
 
 static void
 reg_set_p_1 (x, pat)
-     rtx x, pat;
+     rtx x;
+     rtx pat ATTRIBUTE_UNUSED;
 {
   /* We don't want to return 1 if X is a MEM that contains a register
      within REG_SET_REG.  */
diff -rup orig/egcs-19980508/gcc/scan-decls.c egcs-19980508/gcc/scan-decls.c
--- orig/egcs-19980508/gcc/scan-decls.c	Fri Apr  3 11:36:54 1998
+++ egcs-19980508/gcc/scan-decls.c	Sun May 10 21:00:48 1998
@@ -20,6 +20,7 @@ Foundation, 59 Temple Place - Suite 330,
 #include "hconfig.h"
 #include "system.h"
 #include "cpplib.h"
+#include "scan.h"
 
 int brace_nesting = 0;
 
diff -rup orig/egcs-19980508/gcc/scan.h egcs-19980508/gcc/scan.h
--- orig/egcs-19980508/gcc/scan.h	Fri Apr  3 11:36:57 1998
+++ egcs-19980508/gcc/scan.h	Sun May 10 21:04:08 1998
@@ -60,6 +60,8 @@ extern int read_upto _PARAMS((FILE *, ss
 extern char *xmalloc _PARAMS((unsigned));
 extern char *xrealloc _PARAMS((char *, unsigned));
 extern unsigned long hash _PARAMS((const char *));
+extern void recognized_function _PARAMS((char *, int, int, char *, int, int, char *, int));
+extern void recognized_extern _PARAMS((char *, int, char *, int));
 
 /* get_token is a simple C lexer. */
 #define IDENTIFIER_TOKEN 300
diff -rup orig/egcs-19980508/gcc/stmt.c egcs-19980508/gcc/stmt.c
--- orig/egcs-19980508/gcc/stmt.c	Wed May  6 18:03:20 1998
+++ egcs-19980508/gcc/stmt.c	Sun May 10 18:21:17 1998
@@ -51,6 +51,7 @@ Boston, MA 02111-1307, USA.  */
 #include "recog.h"
 #include "machmode.h"
 #include "toplev.h"
+#include "output.h"
 
 #define obstack_chunk_alloc xmalloc
 #define obstack_chunk_free free
diff -rup orig/egcs-19980508/gcc/toplev.c egcs-19980508/gcc/toplev.c
--- orig/egcs-19980508/gcc/toplev.c	Thu May  7 07:44:08 1998
+++ egcs-19980508/gcc/toplev.c	Sun May 10 19:15:50 1998
@@ -153,12 +153,10 @@ extern void print_rtl_with_bb ();
 void rest_of_decl_compilation ();
 void error_with_file_and_line PVPROTO((char *file, int line, char *s, ...));
 void error_with_decl PVPROTO((tree decl, char *s, ...));
-void error_for_asm PVPROTO((rtx insn, char *s, ...));
 void error PVPROTO((char *s, ...));
 void fatal PVPROTO((char *s, ...));
 void warning_with_file_and_line PVPROTO((char *file, int line, char *s, ...));
 void warning_with_decl PVPROTO((tree decl, char *s, ...));
-void warning_for_asm PVPROTO((rtx insn, char *s, ...));
 void warning PVPROTO((char *s, ...));
 void pedwarn PVPROTO((char *s, ...));
 void pedwarn_with_decl PVPROTO((tree decl, char *s, ...));
@@ -189,7 +187,9 @@ static void vsorry PROTO((char *, va_lis
 static void v_really_sorry PROTO((char *, va_list));
 static void float_signal PROTO((int));
 static void pipe_closed PROTO((int));
+#if 0
 static void output_lang_identify PROTO((FILE *));
+#endif
 static void open_dump_file PROTO((char *, char *));
 static void close_dump_file PROTO((void (*) (FILE *, rtx), rtx));
 static void dump_rtl PROTO((char *, tree, void (*) (FILE *, rtx), rtx));
@@ -1989,7 +1989,7 @@ jmp_buf float_handler;
 static void
 float_signal (signo)
      /* If this is missing, some compilers complain.  */
-     int signo;
+     int signo ATTRIBUTE_UNUSED;
 {
   if (float_handled == 0)
     abort ();
@@ -2056,7 +2056,7 @@ pop_float_handler (handled, handler)
 static void
 pipe_closed (signo)
      /* If this is missing, some compilers complain.  */
-     int signo;
+     int signo ATTRIBUTE_UNUSED;
 {
   fatal ("output pipe has been closed");
 }
@@ -2138,6 +2138,7 @@ output_file_directive (asm_file, input_n
 \f
 /* Routine to build language identifier for object file.  */
 
+#if 0
 static void
 output_lang_identify (asm_out_file)
      FILE *asm_out_file;
@@ -2147,6 +2148,7 @@ output_lang_identify (asm_out_file)
   sprintf (s, "__gnu_compiled_%s", lang_identify ());
   ASM_OUTPUT_LABEL (asm_out_file, s);
 }
+#endif
 
 /* Routine to open a dump file.  */
 static void
diff -rup orig/egcs-19980508/gcc/toplev.h egcs-19980508/gcc/toplev.h
--- orig/egcs-19980508/gcc/toplev.h	Wed May  6 16:53:57 1998
+++ egcs-19980508/gcc/toplev.h	Sun May 10 20:25:40 1998
@@ -5,6 +5,8 @@
 #ifndef __GCC_TOPLEV_H__
 #define __GCC_TOPLEV_H__
 
+extern int count_error			PROTO ((int));
+extern void strip_off_ending		PROTO ((char *, int));
 extern void print_time			PROTO ((char *, int));
 extern int get_run_time			PROTO ((void));
 extern void debug_start_source_file	PROTO ((char *));
@@ -40,4 +42,8 @@ extern void warning_with_decl		PVPROTO (
 extern void error_with_decl		PVPROTO ((union tree_node *, char *, ...));
 extern void announce_function		PROTO ((union tree_node *));
 
+extern void error_for_asm		PVPROTO((struct rtx_def *, char *, ...))
+						ATTRIBUTE_PRINTF_2;
+extern void warning_for_asm		PVPROTO((struct rtx_def *, char *, ...))
+						ATTRIBUTE_PRINTF_2;
 #endif /* __GCC_TOPLEV_H */







Tue May 12 09:37:07 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * cplus-dem.c (squangle_mop_up): Change return type to void.
        (internal_cplus_demangle): Remove unused parameter `options'.
        All callers changed.
        (cplus_demangle_opname): Remove function wide variable `int i' and
        replace with `size_t i' at each location where it is used.
        (cplus_demangle_opname): change type of `i' from int to size_t.


diff -rup orig/egcs-19980508/libiberty/cplus-dem.c egcs-19980508/libiberty/cplus-dem.c
--- orig/egcs-19980508/libiberty/cplus-dem.c	Mon Apr 27 08:59:47 1998
+++ egcs-19980508/libiberty/cplus-dem.c	Sun May 10 19:29:44 1998
@@ -230,7 +234,7 @@ typedef struct string		/* Beware: these 
 static char *
 mop_up PARAMS ((struct work_stuff *, string *, int));
 
-static char *
+static void
 squangle_mop_up PARAMS ((struct work_stuff *));
 
 #if 0
@@ -239,7 +243,7 @@ demangle_method_args PARAMS ((struct wor
 #endif
 
 static char *
-internal_cplus_demangle PARAMS ((struct work_stuff *, const char *, int));
+internal_cplus_demangle PARAMS ((struct work_stuff *, const char *));
 
 static int
 demangle_template_template_parm PARAMS ((struct work_stuff *work, 
@@ -422,7 +426,7 @@ cplus_demangle_opname (opname, result, o
      char *result;
      int options;
 {
-  int len, i, len1, ret;
+  int len, len1, ret;
   string type;
   struct work_stuff work[1];
   const char *tem;
@@ -453,6 +457,7 @@ cplus_demangle_opname (opname, result, o
       if (opname[4] == '\0')
 	{
 	  /* Operator.  */
+	  size_t i;
 	  for (i = 0; i < sizeof (optable) / sizeof (optable[0]); i++)
 	    {
 	      if (strlen (optable[i].in) == 2
@@ -470,6 +475,7 @@ cplus_demangle_opname (opname, result, o
 	  if (opname[2] == 'a' && opname[5] == '\0')
 	    {
 	      /* Assignment.  */
+	      size_t i;
 	      for (i = 0; i < sizeof (optable) / sizeof (optable[0]); i++)
 		{
 		  if (strlen (optable[i].in) == 3
@@ -493,6 +499,7 @@ cplus_demangle_opname (opname, result, o
       if (len >= 10 /* op$assign_ */
 	  && memcmp (opname + 3, "assign_", 7) == 0)
 	{
+	  size_t i;
 	  for (i = 0; i < sizeof (optable) / sizeof (optable[0]); i++)
 	    {
 	      len1 = len - 10;
@@ -509,6 +516,7 @@ cplus_demangle_opname (opname, result, o
 	}
       else
 	{
+	  size_t i;
 	  for (i = 0; i < sizeof (optable) / sizeof (optable[0]); i++)
 	    {
 	      len1 = len - 3;
@@ -551,7 +559,7 @@ cplus_mangle_opname (opname, options)
      const char *opname;
      int options;
 {
-  int i;
+  size_t i;
   int len;
 
   len = strlen (opname);
@@ -605,7 +613,7 @@ cplus_demangle (mangled, options)
   if ((work -> options & DMGL_STYLE_MASK) == 0)
     work -> options |= (int) current_demangling_style & DMGL_STYLE_MASK;
 
-  ret = internal_cplus_demangle (work, mangled, options);
+  ret = internal_cplus_demangle (work, mangled);
   squangle_mop_up (work);
   return (ret);
 }
@@ -618,10 +626,9 @@ cplus_demangle (mangled, options)
    calls go directly to this routine to avoid resetting that info. */
 
 static char *
-internal_cplus_demangle (work, mangled, options)
+internal_cplus_demangle (work, mangled)
      struct work_stuff *work;
      const char *mangled;
-     int options;
 {
 
   string decl;
@@ -679,7 +686,7 @@ internal_cplus_demangle (work, mangled, 
 
 
 /* Clear out and squangling related storage */
-static char *
+static void
 squangle_mop_up (work)
      struct work_stuff *work;
 {
@@ -1340,7 +1347,7 @@ demangle_template_value_parm (work, mang
 	  char *p = xmalloc (symbol_len + 1), *q;
 	  strncpy (p, *mangled, symbol_len);
 	  p [symbol_len] = '\0';
-	  q = internal_cplus_demangle (work, p, work->options);
+	  q = internal_cplus_demangle (work, p);
 	  string_appendn (s, "&", 1);
 	  if (q)
 	    {
@@ -2073,7 +2080,7 @@ gnu_special (work, mangled, declp)
   else if (strncmp (*mangled, "__thunk_", 8) == 0)
     {
       int delta = ((*mangled) += 8, consume_count (mangled));
-      char *method = internal_cplus_demangle (work, ++*mangled, work->options);
+      char *method = internal_cplus_demangle (work, ++*mangled);
       if (method)
 	{
 	  char buf[50];

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-05-12 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-12 12:36 egcs-19980508 warning patches part 4/5 Kaveh R. Ghazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).