[Bug middle-end/25636] cc1 and cc1plus --help core
drab at kepler dot fjfi dot cvut dot cz
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 01:48:00 GMT 2006
------- Comment #9 from drab at kepler dot fjfi dot cvut dot cz 2006-01-16 01:48 -------
OK, so how about this, couldn't this be an issue?
--- opts.c.old 2006-01-15 23:36:53.000000000 +0100
+++ opts.c 2006-01-16 02:48:17.000000000 +0100
@@ -1291,7 +1291,7 @@ print_filtered_help (unsigned int flag)
unsigned int i, len, filter, indent = 0;
bool duplicates = false;
const char *help, *opt, *tab;
- static char *printed;
+ static char *printed = NULL;
if (flag == CL_COMMON || flag == CL_TARGET)
{
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25636
More information about the Gcc-bugs
mailing list