This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[avr,committed]: Fix ICE with -mdeb
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: Denis Chertykov <chertykov at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 17 Nov 2014 10:41:40 +0100
- Subject: [avr,committed]: Fix ICE with -mdeb
- Authentication-results: sourceware.org; auth=none
-mdeb ran into a null pointer, hence applied the following fix.
http://gcc.gnu.org/r217651
Johann
gcc/
* config/avr/avr-log.c (avr_log_set_avr_log) [TARGET_ALL_DEBUG]:
Set avr_log_details to "all".
Index: avr-log.c
===================================================================
--- avr-log.c (revision 217649)
+++ avr-log.c (working copy)
@@ -316,6 +316,9 @@ avr_log_set_avr_log (void)
{
bool all = TARGET_ALL_DEBUG != 0;
+ if (all)
+ avr_log_details = "all";
+
if (all || avr_log_details)
{
/* Adding , at beginning and end of string makes searching easier. */