This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/70992] Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv
- From: "asolokha at gmx dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Jul 2017 18:23:52 +0000
- Subject: [Bug middle-end/70992] Infinite recursion between fold_build2_stat_loc and fold_binary_loc w/ -fwrapv
- Auto-submitted: auto-generated
- References: <bug-70992-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70992
Arseny Solokha <asolokha at gmx dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |8.0
--- Comment #4 from Arseny Solokha <asolokha at gmx dot com> ---
The following makes gcc-8.0.0-alpha20170709 snapshot ICE w/ no command line
options at all:
typedef unsigned int uint32_t;
uint32_t
ls (uint32_t so)
{
return (so + so) * (0x80000000 / 0 + 1);
}
% gcc-8.0.0-alpha20170709 -c -w sxijy9dr.c
x86_64-unknown-linux-gnu-gcc-8.0.0-alpha20170709: internal compiler error:
Segmentation fault (program cc1)