This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/13421] IA32 bigmem pointer subtraction and –ftrapv option causes unjustified program abort
- From: "vik dot heyndrickx at pandora dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2003 17:28:15 -0000
- Subject: [Bug c/13421] IA32 bigmem pointer subtraction and –ftrapv option causes unjustified program abort
- References: <20031217152930.13421.vik.heyndrickx@pandora.be>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From vik dot heyndrickx at pandora dot be 2003-12-17 17:28 -------
Is there any need for having pointers to be signed?
Is there any need for -ftrapv checks to be done on pointers even when they are
signed?
Could the GCC documentation to be changed, so that it mentions that if -ftrapv
is used, a perfectly legal program may and will crash unexpectedly and randomly
on signed pointer platforms...
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13421