public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/55907] [4.6/4.7/4.8 Regression] ICE with -fno-automatic -finit-local-zero
Date: Fri, 08 Feb 2013 22:57:00 -0000 [thread overview]
Message-ID: <bug-55907-4-EoEVgRY9y4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-55907-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55907
--- Comment #5 from janus at gcc dot gnu.org 2013-02-08 22:57:15 UTC ---
(In reply to comment #4)
> The following, which is a partial revert of r183180, fixes the ICE:
However, it fails on init_flag_9.f90, which the following version does not:
Index: gcc/fortran/resolve.c
===================================================================
--- gcc/fortran/resolve.c (revision 195813)
+++ gcc/fortran/resolve.c (working copy)
@@ -10982,7 +10982,7 @@ build_default_init_expr (gfc_symbol *sym)
init_expr = NULL;
}
if (!init_expr && gfc_option.flag_init_character ==
GFC_INIT_CHARACTER_ON
- && sym->ts.u.cl->length)
+ && sym->ts.u.cl->length && gfc_option.flag_max_stack_var_size != 0)
{
gfc_actual_arglist *arg;
init_expr = gfc_get_expr ();
next prev parent reply other threads:[~2013-02-08 22:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 6:56 [Bug fortran/55907] New: internal compiler error: in gfc_get_symbol_decl, at fortran/trans-decl.c:1418 garcia.espinosa.jr at gmail dot com
2013-01-25 16:30 ` [Bug fortran/55907] [4.6/4.7/4.8 Regression] ICE with -fno-automatic -finit-local-zero janus at gcc dot gnu.org
2013-01-25 17:13 ` dominiq at lps dot ens.fr
2013-01-25 17:21 ` dominiq at lps dot ens.fr
2013-02-08 15:43 ` rguenth at gcc dot gnu.org
2013-02-08 22:02 ` janus at gcc dot gnu.org
2013-02-08 22:57 ` janus at gcc dot gnu.org [this message]
2013-02-09 15:34 ` janus at gcc dot gnu.org
2013-04-12 15:16 ` [Bug fortran/55907] [4.7/4.8/4.9 " jakub at gcc dot gnu.org
2013-06-16 14:27 ` dominiq at lps dot ens.fr
2014-01-16 20:12 ` law at redhat dot com
2014-02-17 12:47 ` janus at gcc dot gnu.org
2014-02-19 7:39 ` janus at gcc dot gnu.org
2014-02-20 8:01 ` janus at gcc dot gnu.org
2014-02-20 8:02 ` janus 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-55907-4-EoEVgRY9y4@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@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: link
Be 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).