This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/45941] Failed compile on Loongson2f
- From: "mattst88 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 15 Aug 2011 04:33:57 +0000
- Subject: [Bug c/45941] Failed compile on Loongson2f
- Auto-submitted: auto-generated
- References: <bug-45941-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45941
--- Comment #1 from Matt Turner <mattst88 at gmail dot com> 2011-08-15 04:33:57 UTC ---
Created attachment 25010
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25010
lto-streamer-in.i.bz2
Test case (preprocessed lto-streamer-in.c from gcc-4.5.3 sources).
$ mips64el-unknown-linux-gnu-gcc -O2 -mabi=64 -c lto-streamer-in.i
mips64el-unknown-linux-gnu-gcc: Internal error: Segmentation fault (program
cc1)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
Notes:
- The segfault is reproducible with mips64el-unknown-linux-gnu-4.5.x
(tested 4.5.2 and 4.5.3)
- The segfault is not reproducible with 4.6.1.
- The segfault only occurs with -O2 and -mabi=64. Other -O levels or -mabi=...
flags do not trigger the crash, including '-O3 -mabi=64'
- The segfault is not reproducible with [big endian] mips64-unknown-linux-gnu
(tried 4.5.2, 4.5.3, and 4.6.1)
Filed as Gentoo bug https://bugs.gentoo.org/show_bug.cgi?id=378375