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 middle-end/21840] [4.1 Regression] ICE while building Linux kernel (seg fault), missing cast Date: Tue, 12 Jul 2005 17:00:00 -0000 [thread overview] Message-ID: <20050712165805.32529.qmail@sourceware.org> (raw) In-Reply-To: <20050531135612.21840.mclinden@informed.net> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-12 16:58 ------- Created an attachment (id=9250) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9250&action=view) patch which should fix this without any really bad side effects This patch should fix it. I have not tested it yet though. We always have the correct type if we have *rhs_p as an SSA_NAME because of may_propagate_copy check. And since *rhs_p is always the right hand side of a MODIFY_EXPR and fold_convert produces a NOP_EXPR/CONVERT_EXPR for SSA_NAMEs operands and CONSTANTS (ADDR_EXPR will produce a cast). ChangeLog: * tree-ssa-pre.c (eliminate): Convert the sprime to the correct type if *rhs_p is not a SSA_NAME. -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21840
next prev parent reply other threads:[~2005-07-12 16:58 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-31 13:57 [Bug c/21840] New: Linux 2.6.11.1.11: drivers/char/keyboard.c:619: internal compiler error: Segmentation fault mclinden at informed dot net 2005-05-31 14:05 ` [Bug middle-end/21840] " pinskia at gcc dot gnu dot org 2005-05-31 14:35 ` mclinden at informed dot net 2005-05-31 14:45 ` pluto at agmk dot net 2005-05-31 14:57 ` pinskia at gcc dot gnu dot org 2005-05-31 14:59 ` [Bug middle-end/21840] [4.1 Regression] " pinskia at gcc dot gnu dot org 2005-05-31 15:10 ` pinskia at gcc dot gnu dot org 2005-05-31 15:41 ` dberlin at gcc dot gnu dot org 2005-06-16 23:53 ` pluto at agmk dot net 2005-07-12 6:54 ` [Bug middle-end/21840] [4.1 Regression] ICE while building Linux kernel (seg fault), missing cast pinskia at gcc dot gnu dot org 2005-07-12 17:00 ` pinskia at gcc dot gnu dot org [this message] 2005-07-13 2:22 ` pinskia at gcc dot gnu dot org 2005-07-13 2:33 ` pinskia at gcc dot gnu dot org 2005-07-13 2:33 ` cvs-commit 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=20050712165805.32529.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).