[Bug c/17645] Add a warning for potentially unsafe unsigned operations
mathieu at malaterre dot com
gcc-bugzilla@gcc.gnu.org
Mon Aug 7 20:25:00 GMT 2006
------- Comment #11 from mathieu at malaterre dot com 2006-08-07 20:25 -------
Tested today (Aug 7, 2006) with:
$ /usr/lib/gcc-snapshot/bin/g++ --version
/tmp
g++ (GCC) 4.2.0 20060721 (experimental)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ /usr/lib/gcc-snapshot/bin/g++ -Wall -ftrapv bla.cxx
$ ./a.out
[1] 24229 abort ./a.out
Marking the bug fixed. Thank you !
--
mathieu at malaterre dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17645
More information about the Gcc-bugs
mailing list