This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/66488] -fipa-pta -flto segfault
- From: "sthalik at misaki dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Jun 2015 03:14:28 +0000
- Subject: [Bug lto/66488] -fipa-pta -flto segfault
- Auto-submitted: auto-generated
- References: <bug-66488-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66488
--- Comment #7 from StanisÅaw Halik <sthalik at misaki dot pl> ---
In ggc-page.c there's an assumption that sizeof long == sizeof void* in absence
of other information. That was the reason the build was passing clearly with
valgrind on amd64 Linux.
I propose a fix to gcc/config/i386/xm-mingw32.h. Not completely sure this is
the right place.