public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4934: Seg fault on legal code
@ 2002-04-06 14:11 jason
  0 siblings, 0 replies; 4+ messages in thread
From: jason @ 2002-04-06 14:11 UTC (permalink / raw)
  To: anthwil, gcc-bugs, gcc-prs, jason, nobody

Synopsis: Seg fault on legal code

Responsible-Changed-From-To: unassigned->jason
Responsible-Changed-By: jason
Responsible-Changed-When: Sat Apr  6 14:11:37 2002
Responsible-Changed-Why:
    x

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4934


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

* Re: c++/4934: Seg fault on legal code
@ 2002-04-07  1:24 jason
  0 siblings, 0 replies; 4+ messages in thread
From: jason @ 2002-04-07  1:24 UTC (permalink / raw)
  To: anthwil, gcc-bugs, gcc-prs, jason

Synopsis: Seg fault on legal code

State-Changed-From-To: open->closed
State-Changed-By: jason
State-Changed-When: Sun Apr  7 01:24:39 2002
State-Changed-Why:
    Fixed by
            PR c++/4934
            * error.c (dump_expr) [CONVERT_EXPR]: Make sure TREE_TYPE (t) is
            set before checking it.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4934


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

* Re: c++/4934: Seg fault on legal code
@ 2001-12-21  9:56 Reichelt
  0 siblings, 0 replies; 4+ messages in thread
From: Reichelt @ 2001-12-21  9:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/4934; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, anthwil@nortelnetworks.com, gcc-bugs@gcc.gnu.org,
        nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/4934: Seg fault on legal code
Date: Fri, 21 Dec 2001 19:06:39 +0100

 Hi,
 
 the offending code can be reduced to
 
 template<unsigned>   struct A {};
 template<typename T> struct B { A<sizeof(+int())> a; };
 
 These two lines will crash gcc 3.0.x and gcc 3.1 20011210
 on i686-pc-linux-gnu and mips-sgi-irix6.5.
 Just compile with "g++ -c".
 
 Greetings,
 Volker Reichelt
 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4934
 
 


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

* c++/4934: Seg fault on legal code
@ 2001-11-19 13:56 anthwil
  0 siblings, 0 replies; 4+ messages in thread
From: anthwil @ 2001-11-19 13:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         4934
>Category:       c++
>Synopsis:       Seg fault on legal code
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 23 02:06:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Williams
>Release:        gcc-3.0.2
>Organization:
>Environment:
sparc-solaris-2.7
>Description:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.2/specs
Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
Thread model: posix
gcc version 3.0.2
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.2/cpp0 -lang-c++ -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=2 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__ -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc plusprob.cpp plusprob.ii
GNU CPP version 3.0.2 (cpplib) (sparc)
ignoring nonexistent directory "/usr/local/sparc-sun-solaris2.7/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/g++-v3
 /usr/local/include/g++-v3/sparc-sun-solaris2.7
 /usr/local/include/g++-v3/backward
 /usr/local/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.2/include
 /usr/include
End of search list.
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.2/cc1plus -fpreprocessed plusprob.ii -quiet -dumpbase plusprob.cpp -version -o plusprob.s
GNU CPP version 3.0.2 (cpplib) (sparc)
GNU C++ version 3.0.2 (sparc-sun-solaris2.7)
        compiled by GNU C version 3.0.2.
plusprob.cpp:64: Internal error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
Compile the code
>Fix:

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

QlpoOTFBWSZTWctsLh0AAE5fgEQQWWklHSNgxgo/7976MAFSwBAkjDRpGEZMCZGACaNBlMk01PUH
kmgBoAADQaCSRDQaExGmoGQGQNGanpFIMS0MssWkoh/b3BocEc6BZ1nir54EkBSDfFPeR9iBwIjA
GE80ruyXa6LcQtLJkJnwmFZoNBuGLnre06cbZAgj7mla8TgtmQELgFFOISCi4kgg1KeeWESDBg7Z
3Kvc0WMKhxiZGI9Pycqxl5MN6BHVCI4dMSUpxdvefqmQcvWGQqUc1MHI4bC6ehZowVhstZhOQYi6
FbzuPolE9LqygZV4RMM7P7Z3ucaiIE4y6VEZkHMmFXHNaEiVZiGkptH3hPQp7ws2Xl60RrPEEbiO
0DNVLqoLbZBqk1oW3SLSDNci7fQQTw4FGTpLQsTTOmUCkUCeQc+VEvnKqUWI6g6vWFxxVQcUiVB2
Wlo0bWcnny8/xdyRThQkMtsLh0A=


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

end of thread, other threads:[~2002-04-07  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-06 14:11 c++/4934: Seg fault on legal code jason
  -- strict thread matches above, loose matches on Subject: below --
2002-04-07  1:24 jason
2001-12-21  9:56 Reichelt
2001-11-19 13:56 anthwil

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