This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4428: libgcc (unwind-dw2-fde.c) uses signed arithmetic for address comparison
- From: jason at gcc dot gnu dot org
- To: dje at watson dot ibm dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rth at gcc dot gnu dot org
- Date: 18 Mar 2002 15:58:28 -0000
- Subject: Re: c++/4428: libgcc (unwind-dw2-fde.c) uses signed arithmetic for address comparison
- Reply-to: jason at gcc dot gnu dot org, dje at watson dot ibm dot com, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, rth at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
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