OSDN Git Service

Backport from 2012-09-28 trunk r191821.
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Sep 2012 08:58:36 +0000 (08:58 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Sep 2012 08:58:36 +0000 (08:58 +0000)
* config/avr/avr.c (avr_pgm_check_var_decl): Fix non-error diagnostic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@191822 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/avr/avr.c

index f619d91..767e1df 100644 (file)
@@ -1,3 +1,8 @@
+2012-09-28  Georg-Johann Lay  <avr@gjlay.de>
+
+       Backport from 2012-09-28 trunk r191821.
+       * config/avr/avr.c (avr_pgm_check_var_decl): Fix non-error diagnostic.
+
 2012-09-27  Jakub Jelinek  <jakub@redhat.com>
 
        PR target/54703
index a95ae30..02accf2 100644 (file)
@@ -6978,9 +6978,6 @@ avr_pgm_check_var_decl (tree node)
 
   if (reason)
     {
-      avr_edump ("%?: %s, %d, %d\n",
-                 avr_addrspace[as].name,
-                 avr_addrspace[as].segment, avr_current_device->n_flash);
       if (avr_addrspace[as].segment >= avr_current_device->n_flash)
         {
           if (TYPE_P (node))