public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16271] New: 3.5: ICE in cp_expr_size
@ 2004-06-29 15:00 gcc-bugzilla at gcc dot gnu dot org
  2004-06-29 15:07 ` [Bug c++/16271] [3.5 Regression]: " pinskia at gcc dot gnu dot org
  2004-07-13 22:57 ` reichelt at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-06-29 15:00 UTC (permalink / raw)
  To: gcc-bugs



g++ 3.5 mainline crashes on the code below:

$ g++ -c x.cc
x.cc: In constructor `D::D(C<int>)':
x.cc:15: internal compiler error: in cp_expr_size, at cp/cp-lang.c:280
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$

Environment:
System: Linux karma 2.6.7 #16 Tue Jun 22 21:52:28 EDT 2004 i686 i686 i386 GNU/Linux
Architecture: i686

	<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/sss/gcc/gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long --enable-languages=c,c++,f95

How-To-Repeat:

------------------------------
template <class T>
struct C
{
  C (const C& i);
  C& operator= (const C& i);

};

struct D
{
  D (C<int> it);
  C<int> _it;
};

D::D (C<int> it) : _it (it) {}
------------------------------
------- Additional Comments From snyder at fnal dot gov  2004-06-29 14:59 -------
Fix:
	<how to correct or work around the problem, if known (multiple lines)>

-- 
           Summary: 3.5: ICE in cp_expr_size
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: snyder at fnal dot gov
                CC: gcc-bugs at gcc dot gnu dot org
 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=16271


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

* [Bug c++/16271] [3.5 Regression]: ICE in cp_expr_size
  2004-06-29 15:00 [Bug c++/16271] New: 3.5: ICE in cp_expr_size gcc-bugzilla at gcc dot gnu dot org
@ 2004-06-29 15:07 ` pinskia at gcc dot gnu dot org
  2004-07-13 22:57 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-29 15:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-29 15:04 -------
Confirmed, why it happens only on one of the clones I do not know.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.5.0
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-29 15:04:18
               date|                            |
            Summary|3.5: ICE in cp_expr_size    |[3.5 Regression]: ICE in
                   |                            |cp_expr_size
   Target Milestone|---                         |3.5.0


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


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

* [Bug c++/16271] [3.5 Regression]: ICE in cp_expr_size
  2004-06-29 15:00 [Bug c++/16271] New: 3.5: ICE in cp_expr_size gcc-bugzilla at gcc dot gnu dot org
  2004-06-29 15:07 ` [Bug c++/16271] [3.5 Regression]: " pinskia at gcc dot gnu dot org
@ 2004-07-13 22:57 ` reichelt at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-07-13 22:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-07-13 22:57 -------
This problem appeared with Jason's fix for PR 16115 and was fixed by
reverting the patch on 20040706:

http://gcc.gnu.org/ml/gcc-cvs/2004-07/msg00231.html


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-07-13 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-29 15:00 [Bug c++/16271] New: 3.5: ICE in cp_expr_size gcc-bugzilla at gcc dot gnu dot org
2004-06-29 15:07 ` [Bug c++/16271] [3.5 Regression]: " pinskia at gcc dot gnu dot org
2004-07-13 22:57 ` reichelt 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).