public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "tg at mirbsd dot org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/49847] New: m68k gcj-4.6 NULL deref in fold_rtx (prev_insn_cc0 == NULL) Date: Mon, 25 Jul 2011 21:07:00 -0000 [thread overview] Message-ID: <bug-49847-8172@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49847 Summary: m68k gcj-4.6 NULL deref in fold_rtx (prev_insn_cc0 == NULL) Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned@gcc.gnu.org ReportedBy: tg@mirbsd.org Forwarding from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633754 Trying to bootstrap gcj-4.6 on Debian/m68k (gcj-4.4 and gcc-4.6 work fine). Reproducible ICE trying to build the runtime library, after bootstrapping passed: /bin/bash ./libtool --tag=GCJ --mode=compile /tmp/buildd/gcj-4.6-4.6.1/build/./gcc/gcj -B/tmp/buildd/gcj-4.6-4.6.1/build/m68k-linux-gnu/m68040/libjava/ -B/tmp/buildd/gcj-4.6-4.6.1/build/m68k-linux-gnu/m68040/libjava/ -B/tmp/buildd/gcj-4.6-4.6.1/build/./gcc/ -B/usr/m68k-linux-gnu/bin/ -B/usr/m68k-linux-gnu/lib/ -isystem /usr/m68k-linux-gnu/include -isystem /usr/m68k-linux-gnu/sys-include -m68040 -fclasspath= -fbootclasspath=../../../../src/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -m68040 -c -o java/util.lo -fsource-filename=/tmp/buildd/gcj-4.6-4.6.1/build/m68k-linux-gnu/m68040/libjava/classpath/lib/classes -MT java/util.lo -MD -MP -MF java/util.deps @java/util.list /tmp/buildd/gcj-4.6-4.6.1/src/libjava/classpath/java/util/Random.java:427:0: internal compiler error: Segmentation fault This is still a cc0 architecture, as the problem is: Program received signal SIGSEGV, Segmentation fault. equiv_constant (x=0x0) at ../../src/gcc/cse.c:3812 3812 if (REG_P (x) (gdb) bt #0 equiv_constant (x=0x0) at ../../src/gcc/cse.c:3812 #1 0x804b0542 in fold_rtx (x=0xc83cb5f4, insn=0xc83cc1c0) at ../../src/gcc/cse.c:3274 #2 0x804b05fe in fold_rtx (x=0xc83c4f30, insn=0xc83cc1c0) at ../../src/gcc/cse.c:3279 #3 0x804b35ec in cse_insn (insn=0xc83cc1c0) at ../../src/gcc/cse.c:4511 […] (gdb) frame 1 #1 0x804b0542 in fold_rtx (x=0xc83cb5f4, insn=0xc83cc1c0) at ../../src/gcc/cse.c:3274 3274 const_arg = equiv_constant (folded_arg); (gdb) list 3269 3270 #ifdef HAVE_cc0 3271 case CC0: 3272 folded_arg = prev_insn_cc0; 3273 mode_arg = prev_insn_cc0_mode; 3274 const_arg = equiv_constant (folded_arg); 3275 break; 3276 #endif 3277 3278 default: (gdb) print folded_arg $1 = (rtx) 0x0 (gdb) print prev_insn_cc0 $2 = (rtx) 0x0 (gdb) print prev_insn_cc0_mode $3 = VOIDmode More information in the linked bug report.
next reply other threads:[~2011-07-25 21:07 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-25 21:07 tg at mirbsd dot org [this message] 2011-09-03 19:32 ` [Bug java/49847] " tg at mirbsd dot org 2011-12-12 9:41 ` mikpe at it dot uu.se
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-49847-8172@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).