[Bug target/42689] New: bad formatting of specs diagnostics

jsm28 at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jan 11 14:56:00 GMT 2010


Various diagnostics produced from specs with %e and %n are badly formatted.

There should be no \n or other whitespace at the end of these diagnostics,
since the driver inserts a newline at the end automatically.

A single diagnostic should not be split across multiple messages, for
the sake of translation; put it on one source line, one message, even
if long.

config/i386/linux-unwind.h should be in gcc/po/EXCLUDES to avoid
a non-diagnostic being wrongly extracted for translation.

#line 50 "config/vax/vax.h"
_("profiling not supported with -mg\n")
#line 51 "config/vax/vax.h"
_("profiling not supported with -mg\n")
#line 186 "config/i386/linux-unwind.h"
_("ax ; {int $0x80 | syscall")
#line 87 "config/pa/pa-hpux10.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 88 "config/pa/pa-hpux10.h"
_("  profiling support are only provided in archive format")
#line 90 "config/pa/pa-hpux10.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 91 "config/pa/pa-hpux10.h"
_("  profiling support are only provided in archive format")
#line 98 "config/pa/pa-hpux10.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 99 "config/pa/pa-hpux10.h"
_("  profiling support are only provided in archive format")
#line 101 "config/pa/pa-hpux10.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 102 "config/pa/pa-hpux10.h"
_("  profiling support are only provided in archive format")
#line 108 "config/pa/pa-hpux11.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 109 "config/pa/pa-hpux11.h"
_("  profiling support are only provided in archive format")
#line 111 "config/pa/pa-hpux11.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 112 "config/pa/pa-hpux11.h"
_("  profiling support are only provided in archive format")
#line 34 "config/i386/nwld.h"
_("Static linking is not supported.\n")
#line 30 "config/pa/pa64-hpux.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 31 "config/pa/pa64-hpux.h"
_("  profiling support are only provided in archive format")
#line 33 "config/pa/pa64-hpux.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 34 "config/pa/pa64-hpux.h"
_("  profiling support are only provided in archive format")
#line 42 "config/pa/pa64-hpux.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 43 "config/pa/pa64-hpux.h"
_("  profiling support are only provided in archive format")
#line 45 "config/pa/pa64-hpux.h"
_("Warning: consider linking with `-static' as system libraries with\n")
#line 46 "config/pa/pa64-hpux.h"
_("  profiling support are only provided in archive format")
#line 31 "config/arm/freebsd.h"
_("consider using `-pg' instead of `-p' with gprof(1) ")
#line 543 "config/i386/i386.h"
_("`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.\n")
#line 546 "config/i386/i386.h"
_("`-mintel-syntax' is deprecated. Use `-masm=intel' instead.\n")
#line 548 "config/i386/i386.h"
_("'-msse5' was removed.\n")
#line 550 "config/i386/i386.h"
_("`-mno-intel-syntax' is deprecated. Use `-masm=att' instead.\n")


-- 
           Summary: bad formatting of specs diagnostics
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
OtherBugsDependingO 40883
             nThis:


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



More information about the Gcc-bugs mailing list