[Bug c++/82872] [6/7/8 Regression] ICE in ignore_overflows on __PTRDIFF_MAX__ index
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 21 16:22:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82872
--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Thu Dec 21 16:22:04 2017
New Revision: 255944
URL: https://gcc.gnu.org/viewcvs?rev=255944&root=gcc&view=rev
Log:
PR c++/82872
* convert.c (convert_to_integer_1) <POINTER_TYPE>: Do not return the
shared zero if the input has overflowed.
Added:
trunk/gcc/testsuite/c-c++-common/pr82872.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/convert.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list