public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/7080: g++ ICE compiling Qt
@ 2002-06-20  2:16 janis187
  0 siblings, 0 replies; 4+ messages in thread
From: janis187 @ 2002-06-20  2:16 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7080
>Category:       c++
>Synopsis:       g++ ICE compiling Qt
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 19 17:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Janis Johnson
>Release:        gcc version 3.2 20020619 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu and ia64-unknown-linux-gnu
>Description:
The current mainline gets an ICE compiling the attached test
case, extracted from the Qt application development toolkit.
With no compilation options other than -c, the output is:

qtbug.cpp: In function `void foo()':
qtbug.cpp:20: error: uninitialized const `r0'
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

I haven't tested Qt regularly with the mainline so I don't
know how long it's been failing.  It passes with GCC 3.1 and
with the current 3.1 branch.

If "const" is removed from the definition of "member" then
the file compiles successfully.
>How-To-Repeat:

>Fix:

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

Ly8gVGhpcyB0ZXN0IGNhc2UgaXMgZXh0cmFjdGVkIGZyb20gdGhlIFF0IGFwcGxpY2F0aW9uIGRl
dmVsb3BtZW50Ci8vIHRvb2xraXQuICBJdCBjYXVzZXMgYW4gSUNFIGluIEdDQyAzLjIgMjAwMjA2
MTkgKGV4cGVyaW1lbnRhbCkuCgpjbGFzcyBRT2JqZWN0Owp0eXBlZGVmIHZvaWQgKFFPYmplY3Q6
OipRTWVtYmVyKSgpOwoKY2xhc3MgUUNvbm5lY3Rpb24KewpwdWJsaWM6CiAgICBRTWVtYmVyICpt
ZW1iZXIoKSBjb25zdCB7IHJldHVybiAoUU1lbWJlciopJm1icjsgfQogICAgUU1lbWJlciBtYnI7
Cn07CgpRQ29ubmVjdGlvbiAqYzsKCnZvaWQKZm9vICgpCnsKICAgIHR5cGVkZWYgdm9pZCAoUU9i
amVjdDo6KlJUMCkoKTsKICAgIFJUMCByMDsKCiAgICByMCA9IChSVDApKihjLT5tZW1iZXIoKSk7
Cn0K


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

* Re: c++/7080: g++ ICE compiling Qt
@ 2002-09-13 17:26 Gabriel Dos Reis
  0 siblings, 0 replies; 4+ messages in thread
From: Gabriel Dos Reis @ 2002-09-13 17:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: Janis Johnson <janis187@us.ibm.com>
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7080: g++ ICE compiling Qt
Date: 14 Sep 2002 02:14:49 +0200

 Janis Johnson <janis187@us.ibm.com> writes:
 
 | The following reply was made to PR c++/7080; it has been noted by GNATS.
 | 
 | From: Janis Johnson <janis187@us.ibm.com>
 | To: janis187@us.ibm.com
 | Cc: gcc-gnats@gcc.gnu.org
 | Subject: Re: c++/7080: g++ ICE compiling Qt
 | Date: Fri, 13 Sep 2002 16:56:30 -0700
 | 
 |  This is fixed in the mainline (the only place it was broken).  I haven't
 |  figured out how to close bugs.
 
 I've closed it.
 
 If you have a CVS write acess then you also have a GNATS edit access --
 you might want to ask Gerald for example to tell you the password.
 
 If you don't have a CVS write acess, you might probably ask for a
 GNATS account.
 
 -- Gaby


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

* Re: c++/7080: g++ ICE compiling Qt
@ 2002-09-13 17:17 gdr
  0 siblings, 0 replies; 4+ messages in thread
From: gdr @ 2002-09-13 17:17 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, janis187, nobody

Synopsis: g++ ICE compiling Qt

State-Changed-From-To: open->closed
State-Changed-By: gdr
State-Changed-When: Fri Sep 13 17:17:10 2002
State-Changed-Why:
    Reported as fixed on mainline.

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


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

* Re: c++/7080: g++ ICE compiling Qt
@ 2002-09-13 16:56 Janis Johnson
  0 siblings, 0 replies; 4+ messages in thread
From: Janis Johnson @ 2002-09-13 16:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

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

From: Janis Johnson <janis187@us.ibm.com>
To: janis187@us.ibm.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7080: g++ ICE compiling Qt
Date: Fri, 13 Sep 2002 16:56:30 -0700

 This is fixed in the mainline (the only place it was broken).  I haven't
 figured out how to close bugs.
 
 Janis


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

end of thread, other threads:[~2002-09-14  0:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-20  2:16 c++/7080: g++ ICE compiling Qt janis187
2002-09-13 16:56 Janis Johnson
2002-09-13 17:17 gdr
2002-09-13 17:26 Gabriel Dos Reis

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