c++/4428: libgcc (unwind-dw2-fde.c) uses signed arithmetic for address comparison

jason@gcc.gnu.org jason@gcc.gnu.org
Mon Mar 18 08:16:00 GMT 2002


Synopsis: libgcc (unwind-dw2-fde.c) uses signed arithmetic for address comparison

Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: jason
Responsible-Changed-When: Mon Mar 18 07:58:27 2002
Responsible-Changed-Why:
    he fixed it
State-Changed-From-To: open->closed
State-Changed-By: jason
State-Changed-When: Mon Mar 18 07:58:27 2002
State-Changed-Why:
    Fixed by
    
            * unwind-dw2-fde.c (fde_compare_t): Change return type to int.
            (fde_unencoded_compare): Likewise.  Don't use subtraction to get
            a tristate comparison value.
            (fde_single_encoding_compare, fde_mixed_encoding_compare): Likewise.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4428



More information about the Gcc-bugs mailing list