bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/32077] New: gas garbles multibyte UTF-8 characters in listing o


From: j at uriah dot heep.sax.de
Subject: [Bug gas/32077] New: gas garbles multibyte UTF-8 characters in listing on long lines
Date: Mon, 12 Aug 2024 19:35:57 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=32077

            Bug ID: 32077
           Summary: gas garbles multibyte UTF-8 characters in listing on
                    long lines
           Product: binutils
           Version: 2.40
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: j at uriah dot heep.sax.de
  Target Milestone: ---

Created attachment 15667
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15667&action=edit
Test case source code file

When long (e.g. comment) lines contain multibyte UTF-8 characters, gas
arbitrarily cuts them off at the line length limit, irrespective of whether the
current chacters is within a multibyte sequence.

This generates listing files with invalid characters.

The test case file generates the following:

   3                            # This is a very lengthy comment that contains
lots of strange characters xツア邃「竇昶慊」竇慊、竇
   4                            # This is a very lengthy comment that contains
lots of strange characters xツア邃「竇昶慊」竇慊、竇

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]