bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/14019] New: Potential bug with on stack allocated variable


From: makhaloff at gmail dot com
Subject: [Bug gas/14019] New: Potential bug with on stack allocated variable
Date: Tue, 24 Apr 2012 23:01:44 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14019

             Bug #: 14019
           Summary: Potential bug with on stack allocated variable
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


gas/read.c:1771

  if (line_label != NULL)
    {
      expressionS exp;
      exp.X_op = O_symbol;
      exp.X_add_symbol = sym;
      exp.X_add_number = 0;
      symbol_set_value_expression (line_label, &exp);
      symbol_set_frag (line_label, &zero_address_frag);
      S_SET_SEGMENT (line_label, expr_section);
    }

line_label is global, exp is local on stack allocated.
I might be reason of bug later.

Perhaps I wrong?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]