public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30108]  New: internal compiler error: in make_decl_rtl, at varasm.c:890
@ 2006-12-07 11:11 rhaschke at techfak dot uni-bielefeld dot de
  2006-12-07 11:56 ` [Bug c++/30108] " rhaschke at techfak dot uni-bielefeld dot de
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: rhaschke at techfak dot uni-bielefeld dot de @ 2006-12-07 11:11 UTC (permalink / raw)
  To: gcc-bugs

configured with: /vol/gnu/src/gcc-4.1.1/configure --prefix=/vol/gcc/4.1/
--with-cpu=pentium3 --with-arch=pentium3 --with-tune=pentium3
--enable-languages=c,c++,java

preprocessed output doesn't fit into this field. Please contact me for more
information.

Yours, Robert


-- 
           Summary: internal compiler error: in make_decl_rtl, at
                    varasm.c:890
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rhaschke at techfak dot uni-bielefeld dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
@ 2006-12-07 11:56 ` rhaschke at techfak dot uni-bielefeld dot de
  2006-12-07 11:58 ` rhaschke at techfak dot uni-bielefeld dot de
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rhaschke at techfak dot uni-bielefeld dot de @ 2006-12-07 11:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rhaschke at techfak dot uni-bielefeld dot de  2006-12-07 11:56 -------
code compiles if the default argument for pIdleTarget 
in line BaseRobot.ii:80118 is changed to 0


-- 

rhaschke at techfak dot uni-bielefeld dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |blocker


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
  2006-12-07 11:56 ` [Bug c++/30108] " rhaschke at techfak dot uni-bielefeld dot de
@ 2006-12-07 11:58 ` rhaschke at techfak dot uni-bielefeld dot de
  2006-12-07 20:09 ` pinskia at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rhaschke at techfak dot uni-bielefeld dot de @ 2006-12-07 11:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rhaschke at techfak dot uni-bielefeld dot de  2006-12-07 11:58 -------
code compiles if the default argument pIdleTarget of method
commonEventProcessing
is changed to zero in line BaseRobot.ii:80118


-- 


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
  2006-12-07 11:56 ` [Bug c++/30108] " rhaschke at techfak dot uni-bielefeld dot de
  2006-12-07 11:58 ` rhaschke at techfak dot uni-bielefeld dot de
@ 2006-12-07 20:09 ` pinskia at gcc dot gnu dot org
  2006-12-07 20:18 ` pinskia at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-07 20:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-12-07 20:08 -------
Reducing, it has to do with default arguments.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (2 preceding siblings ...)
  2006-12-07 20:09 ` pinskia at gcc dot gnu dot org
@ 2006-12-07 20:18 ` pinskia at gcc dot gnu dot org
  2006-12-08  7:47 ` rhaschke at techfak dot uni-bielefeld dot de
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-07 20:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-12-07 20:18 -------
Reduced testcase:
class BaseRobot {
   typedef void (BaseRobot::*PseudoState)(void);
   typedef PseudoState STATE;
   STATE initial ();
   int ready ();
   STATE stpOtherTask ();
   STATE commonEventProcessing (STATE pIdleTarget=(STATE)&BaseRobot::ready);
};
BaseRobot::STATE BaseRobot::initial ()
{
return commonEventProcessing ();
}
BaseRobot::STATE BaseRobot::stpOtherTask ()
{
  return commonEventProcessing ();
}

------------
But I think this invalid (at least it is undefined if we invoke
this->*pIdleTarget () ).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.1.0 4.1.1                 |
      Known to work|3.3.6 3.4.5                 |


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (3 preceding siblings ...)
  2006-12-07 20:18 ` pinskia at gcc dot gnu dot org
@ 2006-12-08  7:47 ` rhaschke at techfak dot uni-bielefeld dot de
  2006-12-08  7:55 ` pinskia at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rhaschke at techfak dot uni-bielefeld dot de @ 2006-12-08  7:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rhaschke at techfak dot uni-bielefeld dot de  2006-12-08 07:47 -------
Actually the return type of method "ready" was STATE in my code as.
STATE ready ();

Why should this code be invalid? It compiled and worked nicely until gcc 3.4.5


-- 


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (4 preceding siblings ...)
  2006-12-08  7:47 ` rhaschke at techfak dot uni-bielefeld dot de
@ 2006-12-08  7:55 ` pinskia at gcc dot gnu dot org
  2006-12-08  8:09 ` rhaschke at techfak dot uni-bielefeld dot de
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-08  7:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2006-12-08 07:55 -------
(In reply to comment #5)
> Actually the return type of method "ready" was STATE in my code as.
> STATE ready ();
> 
> Why should this code be invalid? It compiled and worked nicely until gcc 3.4.5

But the pointer to member function (of ready) is not the same type as STATE. 
The return types differ.

Though I am thinking this is valid code, just undefined if you call the pointer
to member function with the incorrect type.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://www.techfak.uni-     |
                   |bielefeld.de/~rhaschke/files|
                   |/BaseRobot.ii               |
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|i686-pc-linux-gnu           |


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (5 preceding siblings ...)
  2006-12-08  7:55 ` pinskia at gcc dot gnu dot org
@ 2006-12-08  8:09 ` rhaschke at techfak dot uni-bielefeld dot de
  2006-12-12  5:10 ` bangerth at dealii dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rhaschke at techfak dot uni-bielefeld dot de @ 2006-12-08  8:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rhaschke at techfak dot uni-bielefeld dot de  2006-12-08 08:08 -------
You are right. The return type of STATE and the actual methods differ.
Actually they should have the same type, i.e.:

typedef BaseRobot::STATE (BaseRobot::*STATE)(int);
STATE ready (int);
...

Because the recursive type definition for STATE is not supported, I need the
detour using PseudoState.


-- 


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


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

* [Bug c++/30108] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (6 preceding siblings ...)
  2006-12-08  8:09 ` rhaschke at techfak dot uni-bielefeld dot de
@ 2006-12-12  5:10 ` bangerth at dealii dot org
  2006-12-13  5:48 ` [Bug c++/30108] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: bangerth at dealii dot org @ 2006-12-12  5:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from bangerth at dealii dot org  2006-12-12 05:09 -------
Confirmed. The code is valid. The code would have undefined runtime
behavior if the default argument is a) actually used in a call to
commonEventProcessing, and b) is used without any further cast. Neither
is the case here, so the code is perfectly valid. In particular, it
shouldn't ICE the compiler.

This is a regression on all active branches w.r.t. 3.4.x.

W.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |4.0.2 4.1.1 4.2.0
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-12 05:09:58
               date|                            |


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


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

* [Bug c++/30108] [4.0/4.1/4.2 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (7 preceding siblings ...)
  2006-12-12  5:10 ` bangerth at dealii dot org
@ 2006-12-13  5:48 ` pinskia at gcc dot gnu dot org
  2007-02-03 21:19 ` [Bug c++/30108] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-13  5:48 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|internal compiler error: in |[4.0/4.1/4.2 Regression]
                   |make_decl_rtl, at           |internal compiler error: in
                   |varasm.c:890                |make_decl_rtl, at
                   |                            |varasm.c:890
   Target Milestone|---                         |4.0.4


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


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

* [Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (8 preceding siblings ...)
  2006-12-13  5:48 ` [Bug c++/30108] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2007-02-03 21:19 ` gdr at gcc dot gnu dot org
  2007-02-03 21:21 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 21:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from gdr at gcc dot gnu dot org  2007-02-03 21:19 -------
won't fix in GCC-4.0.x.  Adjusting milestone.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |4.1.3


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


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

* [Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (9 preceding siblings ...)
  2007-02-03 21:19 ` [Bug c++/30108] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
@ 2007-02-03 21:21 ` pinskia at gcc dot gnu dot org
  2007-02-05  5:28 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-03 21:21 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.3                       |4.1.2


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


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

* [Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (10 preceding siblings ...)
  2007-02-03 21:21 ` pinskia at gcc dot gnu dot org
@ 2007-02-05  5:28 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:01 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-05  5:28 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (11 preceding siblings ...)
  2007-02-05  5:28 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:01 ` mmitchel at gcc dot gnu dot org
  2007-03-12 16:24 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:01 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (12 preceding siblings ...)
  2007-02-14  9:01 ` mmitchel at gcc dot gnu dot org
@ 2007-03-12 16:24 ` mmitchel at gcc dot gnu dot org
  2007-03-12 18:08 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-03-12 16:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from mmitchel at gcc dot gnu dot org  2007-03-12 16:24 -------
Subject: Bug 30108

Author: mmitchel
Date: Mon Mar 12 16:24:18 2007
New Revision: 122844

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122844
Log:
        PR c++/30108
        * call.c (convert_default_arg): Copy non-constant arguments.

        PR c++/30108
        * g++.dg/other/default6.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/default6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/30108] [4.0/4.1/4.2/4.3 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (13 preceding siblings ...)
  2007-03-12 16:24 ` mmitchel at gcc dot gnu dot org
@ 2007-03-12 18:08 ` mmitchel at gcc dot gnu dot org
  2007-03-12 18:09 ` [Bug c++/30108] [4.0/4.1 " mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-03-12 18:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from mmitchel at gcc dot gnu dot org  2007-03-12 18:07 -------
Subject: Bug 30108

Author: mmitchel
Date: Mon Mar 12 18:07:33 2007
New Revision: 122848

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122848
Log:
        PR c++/30108
        * call.c (convert_default_arg): Copy non-constant arguments.
        PR c++/30108
        * g++.dg/other/default6.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/other/default6.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/call.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (14 preceding siblings ...)
  2007-03-12 18:08 ` mmitchel at gcc dot gnu dot org
@ 2007-03-12 18:09 ` mmitchel at gcc dot gnu dot org
  2007-03-13 21:07 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-03-12 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from mmitchel at gcc dot gnu dot org  2007-03-12 18:09 -------
Fixed in 4.2.0, 4.3.0.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED
            Summary|[4.0/4.1/4.2/4.3 Regression]|[4.0/4.1 Regression]
                   |internal compiler error: in |internal compiler error: in
                   |make_decl_rtl, at           |make_decl_rtl, at
                   |varasm.c:890                |varasm.c:890


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


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

* [Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (15 preceding siblings ...)
  2007-03-12 18:09 ` [Bug c++/30108] [4.0/4.1 " mmitchel at gcc dot gnu dot org
@ 2007-03-13 21:07 ` pinskia at gcc dot gnu dot org
  2007-03-13 21:40 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-13 21:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pinskia at gcc dot gnu dot org  2007-03-13 21:07 -------
I think this patch causes the regression reported in PR 31165.  copy_node is
incorrect as it will even copy decls, I think copy_node should be replaced with
unshare_expr instead.


-- 


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


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

* [Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (16 preceding siblings ...)
  2007-03-13 21:07 ` pinskia at gcc dot gnu dot org
@ 2007-03-13 21:40 ` pinskia at gcc dot gnu dot org
  2007-03-13 21:46 ` mark at codesourcery dot com
  2008-07-04 15:56 ` [Bug c++/30108] [4.1 " jsm28 at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-03-13 21:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from pinskia at gcc dot gnu dot org  2007-03-13 21:40 -------
(In reply to comment #13)
> I think this patch causes the regression reported in PR 31165.  copy_node is
> incorrect as it will even copy decls, I think copy_node should be replaced with
> unshare_expr instead.

A quick run with that change, fixes 31165.


-- 


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


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

* [Bug c++/30108] [4.0/4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (17 preceding siblings ...)
  2007-03-13 21:40 ` pinskia at gcc dot gnu dot org
@ 2007-03-13 21:46 ` mark at codesourcery dot com
  2008-07-04 15:56 ` [Bug c++/30108] [4.1 " jsm28 at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: mark at codesourcery dot com @ 2007-03-13 21:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from mark at codesourcery dot com  2007-03-13 21:46 -------
Subject: Re:  [4.0/4.1 Regression] internal compiler error:
 in make_decl_rtl, at varasm.c:890

pinskia at gcc dot gnu dot org wrote:
> ------- Comment #14 from pinskia at gcc dot gnu dot org  2007-03-13 21:40 -------
> (In reply to comment #13)
>> I think this patch causes the regression reported in PR 31165.  copy_node is
>> incorrect as it will even copy decls, I think copy_node should be replaced with
>> unshare_expr instead.
> 
> A quick run with that change, fixes 31165.

Thanks for that testing.  That patch is pre-approved.  If you don't want
to handle it, let me know, and I will do it.

Thanks,


-- 


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


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

* [Bug c++/30108] [4.1 Regression] internal compiler error: in make_decl_rtl, at varasm.c:890
  2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
                   ` (18 preceding siblings ...)
  2007-03-13 21:46 ` mark at codesourcery dot com
@ 2008-07-04 15:56 ` jsm28 at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 15:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from jsm28 at gcc dot gnu dot org  2008-07-04 15:55 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|4.0.2 4.0.4 4.1.1           |4.0.2 4.0.4 4.1.1 4.1.3
         Resolution|                            |FIXED
   Target Milestone|4.1.3                       |4.2.0


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


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

end of thread, other threads:[~2008-07-04 15:56 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-07 11:11 [Bug c++/30108] New: internal compiler error: in make_decl_rtl, at varasm.c:890 rhaschke at techfak dot uni-bielefeld dot de
2006-12-07 11:56 ` [Bug c++/30108] " rhaschke at techfak dot uni-bielefeld dot de
2006-12-07 11:58 ` rhaschke at techfak dot uni-bielefeld dot de
2006-12-07 20:09 ` pinskia at gcc dot gnu dot org
2006-12-07 20:18 ` pinskia at gcc dot gnu dot org
2006-12-08  7:47 ` rhaschke at techfak dot uni-bielefeld dot de
2006-12-08  7:55 ` pinskia at gcc dot gnu dot org
2006-12-08  8:09 ` rhaschke at techfak dot uni-bielefeld dot de
2006-12-12  5:10 ` bangerth at dealii dot org
2006-12-13  5:48 ` [Bug c++/30108] [4.0/4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2007-02-03 21:19 ` [Bug c++/30108] [4.0/4.1/4.2/4.3 " gdr at gcc dot gnu dot org
2007-02-03 21:21 ` pinskia at gcc dot gnu dot org
2007-02-05  5:28 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:01 ` mmitchel at gcc dot gnu dot org
2007-03-12 16:24 ` mmitchel at gcc dot gnu dot org
2007-03-12 18:08 ` mmitchel at gcc dot gnu dot org
2007-03-12 18:09 ` [Bug c++/30108] [4.0/4.1 " mmitchel at gcc dot gnu dot org
2007-03-13 21:07 ` pinskia at gcc dot gnu dot org
2007-03-13 21:40 ` pinskia at gcc dot gnu dot org
2007-03-13 21:46 ` mark at codesourcery dot com
2008-07-04 15:56 ` [Bug c++/30108] [4.1 " jsm28 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).