public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [avr,committed]: Fix ICE with -mdeb
@ 2014-11-17  9:53 Georg-Johann Lay
  0 siblings, 0 replies; only message in thread
From: Georg-Johann Lay @ 2014-11-17  9:53 UTC (permalink / raw)
  To: Denis Chertykov; +Cc: GCC Patches

-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.  */

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

only message in thread, other threads:[~2014-11-17  9:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-17  9:53 [avr,committed]: Fix ICE with -mdeb Georg-Johann Lay

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).