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

Bug#288739: marked as done ([fixed in 3.x] gcc-2.95 optimizes the arithmetic overflow check away)



Your message dated Mon, 03 Aug 2009 23:30:38 +0100
with message-id <1249338638.419326.11383.nullmailer@kmos.homeip.net>
and subject line gcc-2.95 has been removed from Debian, closing #288739
has caused the Debian Bug report #288739,
regarding [fixed in 3.x] gcc-2.95 optimizes the arithmetic overflow check away
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
288739: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288739
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: gcc
Version: 2.95.4 20011002

following function compiled w/ gcc -O


int foo(unsigned int a)
{
   if(a * sizeof(int) / sizeof(int) != a)
      return -1;
   return 0;
}


results in:


00000000 <foo__FUi>:
   0:   55                      push   %ebp
   1:   89 e5                   mov    %esp,%ebp
   3:   31 c0                   xor    %eax,%eax
   5:   c9                      leave
   6:   c3                      ret
   7:   90                      nop


gcc optimizes the arithmetic overflow check away!


Debian GNU/Linux 3.0
vanilla kernel 2.2.26
libc6 Version: 2.2.5-11.5


Regards,
 Marco Fabbricatore

---  "Smith & Wesson: The original point and click interface."  ---


--- End Message ---
--- Begin Message ---
Version: 2.95.4.ds15-27+rm

The gcc-2.95 package has been removed from Debian so we are closing
the bugs that were still opened against it.

For more information about this package's removal, read
http://bugs.debian.org/439704 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

Kind regards,
--
Marco Rodrigues


--- End Message ---

Reply to: