This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30376] aspell-0.60.5 fails to build with -O3 on gcc-4.1.2 20061222 (prerelease)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2007 22:25:25 -0000
- Subject: [Bug c++/30376] aspell-0.60.5 fails to build with -O3 on gcc-4.1.2 20061222 (prerelease)
- References: <bug-30376-13550@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-04 22:25 -------
> If I change the optimisation to -O2, the build completes, so I guess I have a
> GCC problem.
No, not always. In fact what most likely happening is something is being
inlined (because of -O3) which was not before and now you get a reference to
something which was not being referenced before.
I think the only way to fix this is to dig into the sources of aspell and see
if this is the case. We cannot help that much except maybe do the compile for
you.
It might be worth filing a bug with aspell and seeing what they can do with it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30376