Commit 28c14a04 by Alexandre Oliva Committed by Alexandre Oliva

* gcc.c (driver_handle_option): Fix disabling of -fcompare-debug.

From-SVN: r174492
parent 70efc82d
2011-05-31 Alexandre Oliva <aoliva@redhat.com>
* gcc.c (driver_handle_option): Fix disabling of -fcompare-debug.
2011-05-31 Alexandre Oliva <aoliva@redhat.com>
* gengtype-state.c (read_state_params_structs): Initialize
previous.
......
......@@ -3277,7 +3277,7 @@ driver_handle_option (struct gcc_options *opts,
compare_debug_with_arg:
gcc_assert (decoded->canonical_option_num_elements == 1);
gcc_assert (arg != NULL);
if (arg)
if (*arg)
compare_debug = 1;
else
compare_debug = -1;
......
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