http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46705

--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2010-12-11 
16:02:51 UTC ---
This appears to resolve the double warning issue.  Regression testing now.

Index: scanner.c
===================================================================
--- scanner.c    (revision 167624)
+++ scanner.c    (working copy)
@@ -1147,7 +1147,7 @@ restart:
       if (in_string)
         {
           if (gfc_option.warn_ampersand)
-        gfc_warning_now ("Missing '&' in continued character "
+        gfc_warning ("Missing '&' in continued character "
                  "constant at %C");
           gfc_current_locus.nextc--;
         }

Reply via email to