Mailinglist Archive: opensuse-bugs (7184 mails)

< Previous Next >
[Bug 355532] gcc produces incorrect code for "abs"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 23 Jan 2008 04:57:49 -0700 (MST)
  • Message-id: <20080123115749.591F324538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=355532

User rguenther@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=355532#c1


Richard Guenther <rguenther@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID




--- Comment #1 from Richard Guenther <rguenther@xxxxxxxxxx> 2008-01-23
04:57:48 MST ---
You invoke undefined behavior as hashcode overflows which is undefined for
signed types. Use an unsigned hashcode or -fwrapv.


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References