[Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl

2010-04-28 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2010-04-28 10:28 ---
Subject: Bug 43880

Author: rguenth
Date: Wed Apr 28 10:28:24 2010
New Revision: 158824

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158824
Log:
2010-04-28  Richard Guenther  rguent...@suse.de

PR c++/43880
* tree-inline.c (copy_bind_expr): Also copy bind expr vars
value-exprs.

* g++.dg/torture/pr43880.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/torture/pr43880.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-inline.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43880



[Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl

2010-04-26 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2010-04-26 14:22 ---
Ugh, this is slightly non-trivial.  The C++ cloning does not properly clone
DECL_VALUE_EXPR because we do not bother to do this from copy_body_r.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43880



[Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl

2010-04-25 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2010-04-25 20:13 ---
Well.  Mine then.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2010-04-24 21:44:56 |2010-04-25 20:13:38
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43880



[Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl

2010-04-24 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-04-24 21:44 ---
Confirmed.  Somehow another DECL_VALUE_EXPR issue

test::test() (struct test * const this)
{
  union ._0 D.2124;
  char pngpal[1] [value-expr: D.2119.pngpal];
  char * D.2127;

  # BLOCK 2
  # PRED: ENTRY (fallthru)
  D.2127_1 = D.2119.pngpal[0];
  xread (D.2127_1);
  return;

there is no D.2119 anymore - it gets replaced with D.2124 duing gimplification.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Component|c++ |middle-end
 Ever Confirmed|0   |1
   Keywords||ice-on-valid-code
  Known to fail||4.5.0
  Known to work||4.4.3
   Last reconfirmed|-00-00 00:00:00 |2010-04-24 21:44:56
   date||
Summary|[4.5] internal compiler |[4.5/4.6 Regression]
   |error: in make_decl_rtl |internal compiler error: in
   ||make_decl_rtl
   Target Milestone|--- |4.5.1


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43880



[Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl

2010-04-24 Thread hjl dot tools at gmail dot com


--- Comment #3 from hjl dot tools at gmail dot com  2010-04-24 23:23 ---
It is caused by revision 149750:

http://gcc.gnu.org/ml/gcc-cvs/2009-07/msg00631.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43880