public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "ktietz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug java/50045] [4.7 regression] ICE in gcc/java/lang.c:427 with -fdump-tree-all Date: Wed, 22 Feb 2012 16:51:00 -0000 [thread overview] Message-ID: <bug-50045-8172-RkZm4GAuGb@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-50045-8172@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50045 Kai Tietz <ktietz at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ktietz at gcc dot gnu.org --- Comment #5 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-02-22 16:45:28 UTC --- Does the following patch fixes your problem? ChangeLog 2012-02-20 Kai Tietz PR java/50045 * lang.c (put_decl_node): Check also for args not nil. Index: lang.c =================================================================== --- lang.c (revision 184426) +++ lang.c (working copy) @@ -420,7 +420,8 @@ if (TREE_CODE (TREE_TYPE (node)) == METHOD_TYPE) args = TREE_CHAIN (args); put_decl_string ("(", 1); - for ( ; args != end_params_node; args = TREE_CHAIN (args), i++) + for ( ; args != NULL_TREE && args != end_params_node; + args = TREE_CHAIN (args), i++) { if (i > 0) put_decl_string (",", 1);
next prev parent reply other threads:[~2012-02-22 16:51 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-08-11 15:59 [Bug java/50045] New: [4.7 regression] ICE in gcc/java/lang.c:427 with -ftree-dump-all jojelino at gmail dot com 2011-09-29 13:11 ` [Bug java/50045] " rguenth at gcc dot gnu.org 2011-09-29 13:13 ` rguenth at gcc dot gnu.org 2011-10-10 12:20 ` rguenth at gcc dot gnu.org 2011-10-22 17:35 ` jojelino at gmail dot com 2012-02-02 19:45 ` [Bug java/50045] [4.7 regression] ICE in gcc/java/lang.c:427 with -fdump-tree-all pinskia at gcc dot gnu.org 2012-02-22 16:51 ` ktietz at gcc dot gnu.org [this message] 2012-03-22 9:34 ` [Bug java/50045] [4.7/4.8 " rguenth at gcc dot gnu.org 2012-06-14 8:43 ` rguenth at gcc dot gnu.org 2012-09-20 10:25 ` jakub at gcc dot gnu.org 2013-04-11 7:59 ` [Bug java/50045] [4.7/4.8/4.9 " rguenth at gcc dot gnu.org 2014-06-12 13:45 ` [Bug java/50045] [4.7/4.8/4.9/4.10 " rguenth at gcc dot gnu.org 2014-12-19 13:38 ` [Bug java/50045] [4.8/4.9/5 " jakub at gcc dot gnu.org 2015-06-23 8:21 ` [Bug java/50045] [4.8/4.9/5/6 " rguenth at gcc dot gnu.org 2015-06-26 20:10 ` [Bug java/50045] [4.9/5/6 " jakub at gcc dot gnu.org 2015-06-26 20:36 ` jakub at gcc dot gnu.org
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-50045-8172-RkZm4GAuGb@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).