Commit 43a8f6d5 by Jason Merrill Committed by Jason Merrill

toplev.c (main): Only warn about options for other languages.

	* toplev.c (main): Only warn about options for other languages.
	* collect2.c (main): Pass -w to sub-gcc.

From-SVN: r29991
parent ff666313
Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
* toplev.c (main): Only warn about options for other languages.
* collect2.c (main): Pass -w to sub-gcc.
Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
* flow.c (propagate_block): Add call-clobbered registers to
......@@ -8,10 +13,6 @@ Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
(invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
(mark_set_1, mark_used_regs): Likewise.
Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
* toplev.c (main): Don't complain about options for other languages.
Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
* m68k.md (zero_extendsidi2): Add missing output reload constraint.
......
......@@ -927,7 +927,9 @@ main (argc, argv)
num_c_args++;
}
obstack_free (&temporary_obstack, temporary_firstobj);
++num_c_args;
/* -fno-exceptions -w */
num_c_args += 2;
c_ptr = (const char **)
(c_argv = (char **) xcalloc (sizeof (char *), num_c_args));
......@@ -1107,6 +1109,7 @@ main (argc, argv)
}
obstack_free (&temporary_obstack, temporary_firstobj);
*c_ptr++ = "-fno-exceptions";
*c_ptr++ = "-w";
/* !!! When GCC calls collect2,
it does not know whether it is calling collect2 or ld.
......
......@@ -5394,9 +5394,11 @@ main (argc, argv)
i += (lang_processed > indep_processed
? lang_processed : indep_processed);
else
/* This option applies to some other language; ignore it. */
{
warning ("ignoring option `%s'", argv[i]);
i++;
}
}
/* Checker uses the frame pointer. */
if (flag_check_memory_usage)
......@@ -5520,7 +5522,7 @@ main (argc, argv)
if (sorrycount)
return (FATAL_EXIT_CODE);
return (SUCCESS_EXIT_CODE);
}
}
/* Decode -m switches. */
/* Decode the switch -mNAME. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment