This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54052] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 Aug 2017 11:11:05 +0000
- Subject: [Bug c++/54052] g++ takes excessive time in opt and generate phase; can lead to Segmentation Fault when not enough memory available
- Auto-submitted: auto-generated
- References: <bug-54052-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54052
--- Comment #8 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #7)
> (In reply to Eric Gallager from comment #6)
> > Doesn't ICE for me, just takes an inordinately long time to compile (once I
> > add -fpermissive):
>
> You should have used -m32 not -fpermissive, the preprocessed source was
> created on i686-pc-cygwin i.e. an ILP32 target. That's why you got those
> warnings on x86_64.
>
I'm actually on a 32-bit target myself (i386-apple-darwin9.8.0) so -m32 is
already the default for me