public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/43880]  New: internal compiler error: in make_decl_rtl
@ 2010-04-24 20:39 jengelh at medozas dot de
  2010-04-24 20:40 ` [Bug c++/43880] " jengelh at medozas dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: jengelh at medozas dot de @ 2010-04-24 20:39 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1726 bytes --]

pngtex.cpp: In constructor ‘test::test()’:
pngtex.cpp:12:14: internal compiler error: in make_decl_rtl, at varasm.c:1317
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-suse-linux/4.5/lto-wrapper
Target: i586-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5
--enable-ssp --disable-libssp --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --disable-libmudflap --with-slibdir=/lib --with-system-zlib
--enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--enable-version-specific-runtime-libs --program-suffix=-4.5
--enable-linux-futex --without-system-libunwind --enable-gold
--with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic
--build=i586-suse-linux
Thread model: posix
gcc version 4.5.0 20100420 [gcc-4_5-branch revision 158562] (SUSE Linux)


-- 
           Summary: internal compiler error: in make_decl_rtl
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jengelh at medozas dot de
 GCC build triplet: i586-suse-linux-gnu
  GCC host triplet: i586-suse-linux-gnu
GCC target triplet: i586-suse-linux-gnu


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/43880] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
@ 2010-04-24 20:40 ` jengelh at medozas dot de
  2010-04-24 21:46 ` [Bug middle-end/43880] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: jengelh at medozas dot de @ 2010-04-24 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jengelh at medozas dot de  2010-04-24 20:40 -------
Created an attachment (id=20478)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20478&action=view)
testcase


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
  2010-04-24 20:40 ` [Bug c++/43880] " jengelh at medozas dot de
@ 2010-04-24 21:46 ` rguenth at gcc dot gnu dot org
  2010-04-24 23:23 ` hjl dot tools at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-24 21:46 UTC (permalink / raw)
  To: gcc-bugs



------- 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|0000-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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
  2010-04-24 20:40 ` [Bug c++/43880] " jengelh at medozas dot de
  2010-04-24 21:46 ` [Bug middle-end/43880] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
@ 2010-04-24 23:23 ` hjl dot tools at gmail dot com
  2010-04-25 20:13 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-04-24 23:23 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
                   ` (2 preceding siblings ...)
  2010-04-24 23:23 ` hjl dot tools at gmail dot com
@ 2010-04-25 20:13 ` rguenth at gcc dot gnu dot org
  2010-04-26 14:22 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-25 20:13 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
                   ` (3 preceding siblings ...)
  2010-04-25 20:13 ` rguenth at gcc dot gnu dot org
@ 2010-04-26 14:22 ` rguenth at gcc dot gnu dot org
  2010-04-28 10:28 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-26 14:22 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5/4.6 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
                   ` (4 preceding siblings ...)
  2010-04-26 14:22 ` rguenth at gcc dot gnu dot org
@ 2010-04-28 10:28 ` rguenth at gcc dot gnu dot org
  2010-04-28 10:29 ` [Bug middle-end/43880] [4.5 " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-28 10:28 UTC (permalink / raw)
  To: gcc-bugs



------- 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=gcc&view=rev&rev=158824
Log:
2010-04-28  Richard Guenther  <rguenther@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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
                   ` (5 preceding siblings ...)
  2010-04-28 10:28 ` rguenth at gcc dot gnu dot org
@ 2010-04-28 10:29 ` rguenth at gcc dot gnu dot org
  2010-05-05 15:41 ` rguenth at gcc dot gnu dot org
  2010-05-05 15:42 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-04-28 10:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2010-04-28 10:28 -------
Fixed for 4.6 sofar.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.4.3                       |4.4.3 4.6.0
            Summary|[4.5/4.6 Regression]        |[4.5 Regression] internal
                   |internal compiler error: in |compiler error: in
                   |make_decl_rtl               |make_decl_rtl


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
                   ` (6 preceding siblings ...)
  2010-04-28 10:29 ` [Bug middle-end/43880] [4.5 " rguenth at gcc dot gnu dot org
@ 2010-05-05 15:41 ` rguenth at gcc dot gnu dot org
  2010-05-05 15:42 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-05 15:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from rguenth at gcc dot gnu dot org  2010-05-05 15:41 -------
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug middle-end/43880] [4.5 Regression] internal compiler error: in make_decl_rtl
  2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
                   ` (7 preceding siblings ...)
  2010-05-05 15:41 ` rguenth at gcc dot gnu dot org
@ 2010-05-05 15:42 ` rguenth at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-05 15:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2010-05-05 15:41 -------
Subject: Bug 43880

Author: rguenth
Date: Wed May  5 15:40:51 2010
New Revision: 159069

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159069
Log:
2010-05-05  Richard Guenther  <rguenther@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:
    branches/gcc-4_5-branch/gcc/testsuite/g++.dg/torture/pr43880.C
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_5-branch/gcc/tree-inline.c


-- 


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-05-05 15:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-24 20:39 [Bug c++/43880] New: internal compiler error: in make_decl_rtl jengelh at medozas dot de
2010-04-24 20:40 ` [Bug c++/43880] " jengelh at medozas dot de
2010-04-24 21:46 ` [Bug middle-end/43880] [4.5/4.6 Regression] " rguenth at gcc dot gnu dot org
2010-04-24 23:23 ` hjl dot tools at gmail dot com
2010-04-25 20:13 ` rguenth at gcc dot gnu dot org
2010-04-26 14:22 ` rguenth at gcc dot gnu dot org
2010-04-28 10:28 ` rguenth at gcc dot gnu dot org
2010-04-28 10:29 ` [Bug middle-end/43880] [4.5 " rguenth at gcc dot gnu dot org
2010-05-05 15:41 ` rguenth at gcc dot gnu dot org
2010-05-05 15:42 ` rguenth at gcc dot gnu dot org

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).