public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/3529: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine
@ 2001-07-02  4:56 serpent
  0 siblings, 0 replies; 4+ messages in thread
From: serpent @ 2001-07-02  4:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3529
>Category:       c++
>Synopsis:       g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 02 04:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Crystal Lynn
>Release:        gcc-3.0
>Organization:
>Environment:
linux-2.4.5/Suse-7.1
>Description:
Reading specs from /home/crystal/local/gcc-3.0/lib/gcc-lib/i586-pc-linux-gnu/3.0
/specs                                                                          
Configured with: ../configure --prefix=/home/crystal/local/gcc-3.0 --enable-shar
ed --enable-languages=c,c++,java --enable-version-specific-runtime-libs --enable
-threads --without-fast-fixincludes --verbose                                   
Thread model: posix                                                             
gcc version 3.0                                                                 
 /home/crystal/local/gcc-3.0/lib/gcc-lib/i586-pc-linux-gnu/3.0/cc1plus -v -D__GN
UC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__ELF__ -Dunix -Dlinux -D__E
LF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D
__STDC_HOSTED__=1 -Wall -D_GNU_SOURCE -Acpu=i386 -Amachine=i386 -Di386 -D__i386 
-D__i386__ -D__tune_i586__ -D__tune_pentium__ a.cpp -D__GNUG__=3 -D__GXX_DEPRECA
TED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase a.cpp -Wall -version
 -o /tmp/cc3Gkh8K.s                                                             
GNU CPP version 3.0 (cpplib) (i386 Linux/ELF)                                   
GNU C++ version 3.0 (i586-pc-linux-gnu)                                         
   compiled by GNU C version 3.0.                                               
ignoring nonexistent directory "/home/crystal/local/gcc-3.0/i586-pc-linux-gnu/in
clude"                                                                          
#include "..." search starts here:                                              
#include <...> search starts here:                                              
 /home/crystal/local/gcc-3.0/lib/gcc-lib/i586-pc-linux-gnu/3.0/include/g++      
 /home/crystal/local/gcc-3.0/lib/gcc-lib/i586-pc-linux-gnu/3.0/include/g++/i586-
pc-linux-gnu                                                                    
 /home/crystal/local/gcc-3.0/lib/gcc-lib/i586-pc-linux-gnu/3.0/include/g++/backw
ard                                                                             
 /usr/local/include                                                             
 /home/crystal/local/gcc-3.0/lib/gcc-lib/i586-pc-linux-gnu/3.0/include          
 /usr/include                                                                   
End of search list.                                                             
g++: Internal error: Killed (program cc1plus)                                   
Please submit a full bug report.                                                
see <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions. 
>How-To-Repeat:
g++ -c a.cpp
And(after several minutes...) you'll see 'internal compiler error'
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="a.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="a.cpp"

Y2xhc3MgU3RyaW5nQnVmZmVyOwoKY2xhc3MgU3RyaW5nCnsKCXB1YmxpYzoKCQlTdHJpbmcoKTsK
CQlTdHJpbmcoU3RyaW5nQnVmZmVyIHNiKTsKCQlTdHJpbmcoY29uc3QgU3RyaW5nICYgcmhzKTsK
CQl+U3RyaW5nKCk7CgoJCVN0cmluZyYgb3BlcmF0b3IrPSAoY29uc3QgU3RyaW5nICYgcmhzKTsK
fTsKCmNsYXNzIFN0cmluZ0J1ZmZlcjogcHVibGljIFN0cmluZwp7CglwdWJsaWM6CgkJU3RyaW5n
QnVmZmVyKCk7CgkJflN0cmluZ0J1ZmZlcigpOwoKCQlTdHJpbmdCdWZmZXIgYXBwZW5kKFN0cmlu
ZyBzdHIyKQoJCXsKCQkJKnRoaXMgKz0gc3RyMjsKCQkJcmV0dXJuICp0aGlzOwoJCX0KfTsK


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

* Re: c++/3529: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine
@ 2001-07-25  2:40 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-07-25  2:40 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, serpent

Synopsis: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine

State-Changed-From-To: analyzed->closed
State-Changed-By: nathan
State-Changed-When: Wed Jul 25 02:40:24 2001
State-Changed-Why:
    Fix copied from mainline
    2001-07-05  Jason Merrill  <jason_merrill@redhat.com>
    
    	* cvt.c (convert_lvalue): New fn.
    	* cp-tree.h: Declare it.
    	* method.c (do_build_assign_ref): Use it.
            (do_build_copy_constructor): Convert parm to base types
    	before calling base constructors.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3529&database=gcc


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

* Re: c++/3529: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine
@ 2001-07-24  3:25 nathan
  0 siblings, 0 replies; 4+ messages in thread
From: nathan @ 2001-07-24  3:25 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nathan, nobody, serpent

Synopsis: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine

Responsible-Changed-From-To: unassigned->nathan
Responsible-Changed-By: nathan
Responsible-Changed-When: Tue Jul 24 03:25:33 2001
Responsible-Changed-Why:
    patch in progress

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3529&database=gcc


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

* Re: c++/3529: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine
@ 2001-07-07  7:24 lerdsuwa
  0 siblings, 0 replies; 4+ messages in thread
From: lerdsuwa @ 2001-07-07  7:24 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, serpent

Synopsis: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Jul  7 07:24:09 2001
State-Changed-Why:
    Confirm as a bug.  A regression from 2.95.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3529&database=gcc


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

end of thread, other threads:[~2001-07-25  2:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-02  4:56 c++/3529: g++-3.0 fails to compile a simple c++ prog., g++-2.95.2 compiles fine serpent
2001-07-07  7:24 lerdsuwa
2001-07-24  3:25 nathan
2001-07-25  2:40 nathan

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