public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile
@ 2003-10-24 17:12 debian-gcc at lists dot debian dot org
  2003-10-24 17:16 ` [Bug c++/12765] " debian-gcc at lists dot debian dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-10-24 17:12 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: [3.3.2 regression] 2GB mem not enough for sucessful
                    compile
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org

This is a regression from 3.3 CVS from 20031005, at least on i486-linux. The
file attached compiles almost instantly with the CVS version, but just eats
memory with the released version.


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

* [Bug c++/12765] [3.3.2 regression] 2GB mem not enough for sucessful compile
  2003-10-24 17:12 [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile debian-gcc at lists dot debian dot org
@ 2003-10-24 17:16 ` debian-gcc at lists dot debian dot org
  2003-10-25  1:42 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-10-24 17:16 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From debian-gcc at lists dot debian dot org  2003-10-24 17:12 -------
Created an attachment (id=4987)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4987&action=view)
preprocessed source


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

* [Bug c++/12765] [3.3.2 regression] 2GB mem not enough for sucessful compile
  2003-10-24 17:12 [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile debian-gcc at lists dot debian dot org
  2003-10-24 17:16 ` [Bug c++/12765] " debian-gcc at lists dot debian dot org
@ 2003-10-25  1:42 ` pinskia at gcc dot gnu dot org
  2003-10-25 10:42 ` debian-gcc at lists dot debian dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-25  1:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.3.3


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

* [Bug c++/12765] [3.3.2 regression] 2GB mem not enough for sucessful compile
  2003-10-24 17:12 [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile debian-gcc at lists dot debian dot org
  2003-10-24 17:16 ` [Bug c++/12765] " debian-gcc at lists dot debian dot org
  2003-10-25  1:42 ` pinskia at gcc dot gnu dot org
@ 2003-10-25 10:42 ` debian-gcc at lists dot debian dot org
  2003-10-25 12:42 ` ebotcazou at gcc dot gnu dot org
  2003-10-27 19:05 ` jason at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2003-10-25 10:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


debian-gcc at lists dot debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at redhat dot com


------- Additional Comments From debian-gcc at lists dot debian dot org  2003-10-25 09:39 -------
Introduced by this patch:

2003-10-14  Jason Merrill  <jason@redhat.com>

        PR c++/11878
        * tree.c (build_target_expr_with_type): Call force_rvalue for
        classes with non-trivial copy ctors.


===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/tree.c,v
retrieving revision 1.307.2.4
retrieving revision 1.307.2.5
diff -u -r1.307.2.4 -r1.307.2.5
--- gcc/gcc/cp/tree.c	2003/10/02 12:00:48	1.307.2.4
+++ gcc/gcc/cp/tree.c	2003/10/14 20:45:39	1.307.2.5
@@ -357,6 +357,12 @@
 
   if (TREE_CODE (init) == TARGET_EXPR)
     return init;
+  else if (CLASS_TYPE_P (type) && !TYPE_HAS_TRIVIAL_INIT_REF (type)
+	   && TREE_CODE (init) != COND_EXPR)
+    /* We need to build up a copy constructor call.  COND_EXPR is a special
+       case because we already have copies on the arms and we don't want
+       another one here.  */
+    return force_rvalue (init);
 
   slot = build (VAR_DECL, type);
   DECL_ARTIFICIAL (slot) = 1;


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

* [Bug c++/12765] [3.3.2 regression] 2GB mem not enough for sucessful compile
  2003-10-24 17:12 [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile debian-gcc at lists dot debian dot org
                   ` (2 preceding siblings ...)
  2003-10-25 10:42 ` debian-gcc at lists dot debian dot org
@ 2003-10-25 12:42 ` ebotcazou at gcc dot gnu dot org
  2003-10-27 19:05 ` jason at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-10-25 12:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|jason at redhat dot com     |
         AssignedTo|unassigned at gcc dot gnu   |jason at redhat dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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

* [Bug c++/12765] [3.3.2 regression] 2GB mem not enough for sucessful compile
  2003-10-24 17:12 [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile debian-gcc at lists dot debian dot org
                   ` (3 preceding siblings ...)
  2003-10-25 12:42 ` ebotcazou at gcc dot gnu dot org
@ 2003-10-27 19:05 ` jason at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: jason at redhat dot com @ 2003-10-27 19:05 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


jason at redhat dot com changed:

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


------- Additional Comments From jason at redhat dot com  2003-10-27 19:05 -------


*** This bug has been marked as a duplicate of 12726 ***


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

end of thread, other threads:[~2003-10-27 19:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-24 17:12 [Bug c++/12765] New: [3.3.2 regression] 2GB mem not enough for sucessful compile debian-gcc at lists dot debian dot org
2003-10-24 17:16 ` [Bug c++/12765] " debian-gcc at lists dot debian dot org
2003-10-25  1:42 ` pinskia at gcc dot gnu dot org
2003-10-25 10:42 ` debian-gcc at lists dot debian dot org
2003-10-25 12:42 ` ebotcazou at gcc dot gnu dot org
2003-10-27 19:05 ` jason at redhat dot com

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