public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "kugan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/61207] [4.9 Regression] Win64 gcc 4.9.0: ICE in in expand_expr_addr_expr_1 at -Os compiling some C++ code
Date: Sat, 07 Mar 2015 05:54:00 -0000	[thread overview]
Message-ID: <bug-61207-4-vk1WSJtXpj@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-61207-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61207

kugan at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kugan at gcc dot gnu.org

--- Comment #7 from kugan at gcc dot gnu.org ---
For the testcase in comment #6, it works if i use -fno-tree-sra.


diff -u6 nok/pr1314.c.022t.forwprop1  nok/pr1314.c.024t.esra 
--- nok/pr1314.c.022t.forwprop1    2015-03-07 16:16:43.839799627 +1100
+++ nok/pr1314.c.024t.esra    2015-03-07 16:16:43.839799627 +1100
@@ -25,24 +25,38 @@
 }

 ;; Function virtual A C<int>::_ZTv0_n12_NK1CIiE5m_fn1Ev() const
(_ZTv0_n12_NK1CIiE5m_fn1Ev, funcdef_no=3, decl_uid=4649, symbol_order=12)

+Created a replacement for D.4707 offset: 0, size: 32: SR.6
+Created a replacement for D.4707 offset: 32, size: 32: SR.7
+Removing load: <retval> = D.4707;
+
+Symbols to be put in SSA form
+{ D.4697 D.4708 D.4709 }
+Incremental SSA update started at block: 0
+Number of blocks in CFG: 3
+Number of blocks to update: 2 ( 67%)
+
+
 virtual A C<int>::_ZTv0_n12_NK1CIiE5m_fn1Ev() const (const struct C * const
this)
 {
+  float SR.7;
+  float SR.6;
   struct A D.4707;
   const struct C * adjusted_this.3;
   int (*<Tdf0>) () vcalloffset.2;
   int (*<Tdf0>) () * vtableaddr.1;
   int (*<Tdf0>) () * * vptr.0;
   struct A <retval>;

   <bb 2>:
-  D.4707.xp = 0.0;
-  D.4707.yp = 0.0;
-  <retval> = D.4707;
+  SR.6_12 = 0.0;
+  SR.7_11 = 0.0;
+  MEM[(struct A *)&<retval>] = SR.6_12;
+  MEM[(struct A *)&<retval> + 4B] = SR.7_11;
   return <retval>;

 }


  parent reply	other threads:[~2015-03-07  5:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17  0:44 [Bug middle-end/61207] New: Win64 gcc 4.9.0: ICE " mingw.android at gmail dot com
2014-05-17  0:45 ` [Bug middle-end/61207] " pinskia at gcc dot gnu.org
2014-05-27 11:25 ` ktietz at gcc dot gnu.org
2014-11-20 11:33 ` ktietz at gcc dot gnu.org
2014-11-20 13:45 ` thomas.petazzoni@free-electrons.com
2015-02-08 10:33 ` public at hansmi dot ch
2015-03-06 17:39 ` [Bug middle-end/61207] [4.9 Regression] Win64 gcc 4.9.0: ICE in in expand_expr_addr_expr_1 " doko at gcc dot gnu.org
2015-03-07  5:54 ` kugan at gcc dot gnu.org [this message]
2015-03-07 11:09 ` mingw.android at gmail dot com
2015-03-07 16:17 ` ktietz at gcc dot gnu.org
2015-03-08 20:40 ` yroux 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-61207-4-vk1WSJtXpj@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).