public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/18067] [4.0 Regression] ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA) with const int. Date: Sun, 19 Dec 2004 05:22:00 -0000 [thread overview] Message-ID: <20041219052248.8348.qmail@sourceware.org> (raw) In-Reply-To: <20041019230355.18067.phython@gcc.gnu.org> ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-19 05:22 ------- This patch fixes it but I don't know if it is the correct fix, I have not bootstrapped it yet but it works as it removes the constraint when not to add SAVE_EXPR around the expression: Index: tree.c =============================================================== ==== RCS file: /cvs/gcc/gcc/gcc/tree.c,v retrieving revision 1.457 diff -u -p -r1.457 tree.c --- tree.c 17 Dec 2004 08:17:01 -0000 1.457 +++ tree.c 19 Dec 2004 05:21:23 -0000 @@ -1669,7 +1669,6 @@ save_expr (tree expr) inner = skip_simple_arithmetic (t); if (TREE_INVARIANT (inner) - || (TREE_READONLY (inner) && ! TREE_SIDE_EFFECTS (inner)) || TREE_CODE (inner) == SAVE_EXPR || TREE_CODE (inner) == ERROR_MARK) return t; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18067
next prev parent reply other threads:[~2004-12-19 5:22 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-10-19 23:04 [Bug debug/18067] New: ICE at loc_descriptor_from_tree_1 in dwarf2out.c phython at gcc dot gnu dot org 2004-10-19 23:06 ` [Bug debug/18067] " phython at gcc dot gnu dot org 2004-10-19 23:12 ` pinskia at gcc dot gnu dot org 2004-10-19 23:14 ` pinskia at gcc dot gnu dot org 2004-10-19 23:43 ` [Bug tree-optimization/18067] [4.0 Regression] ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA) pinskia at gcc dot gnu dot org 2004-10-19 23:49 ` pinskia at gcc dot gnu dot org 2004-10-20 0:01 ` reichelt at gcc dot gnu dot org 2004-10-31 16:33 ` phython at gcc dot gnu dot org 2004-10-31 17:06 ` pinskia at gcc dot gnu dot org 2004-11-17 15:13 ` phython at gcc dot gnu dot org 2004-12-19 5:13 ` [Bug tree-optimization/18067] [4.0 Regression] ICE at loc_descriptor_from_tree_1 in dwarf2out.c (VLA) with const int pinskia at gcc dot gnu dot org 2004-12-19 5:22 ` pinskia at gcc dot gnu dot org [this message] 2004-12-19 5:52 ` pinskia at gcc dot gnu dot org 2004-12-19 5:52 ` pinskia at gcc dot gnu dot org 2004-12-19 21:08 ` cvs-commit at gcc dot gnu dot org 2004-12-19 21:10 ` rth at gcc dot gnu dot 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=20041219052248.8348.qmail@sourceware.org \ --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: 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).