public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: internal error in cp-lang.c
@ 2003-02-25  2:20 Dirk Mueller
  2003-02-25  8:31 ` Steven Bosscher
  0 siblings, 1 reply; 4+ messages in thread
From: Dirk Mueller @ 2003-02-25  2:20 UTC (permalink / raw)
  To: gcc

> This is PR c++/9440.  You're not exactly the first to notice, everybody
> seems to be hit by this bug :-/

It is also related to PR c++/9537. Is anybody looking into it? This is a 
major breakage in mainline, and its impossible to detect other regressiosn 
unless this one is fixed.

Furthermore the problem is there for more than a month already. Can at least 
the offending patch be backed out until somebody has time to look into it?


Dirk

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

* Re: internal error in cp-lang.c
  2003-02-25  2:20 internal error in cp-lang.c Dirk Mueller
@ 2003-02-25  8:31 ` Steven Bosscher
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Bosscher @ 2003-02-25  8:31 UTC (permalink / raw)
  To: Dirk Mueller; +Cc: gcc

Op di 25-02-2003, om 02:44 schreef Dirk Mueller:
> > This is PR c++/9440.  You're not exactly the first to notice, everybody
> > seems to be hit by this bug :-/
> 
> It is also related to PR c++/9537. Is anybody looking into it? This is a 
> major breakage in mainline, and its impossible to detect other regressiosn 
> unless this one is fixed.
> 
> Furthermore the problem is there for more than a month already. Can at least 
> the offending patch be backed out until somebody has time to look into it?

The offending patch was one that fixed another regression, which
resulted from yet another patch that was a bug-fixer.  So backing outthe
patch is not the way, this one should be fixed for real.

Greetz
Steven


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

* Re: internal error in cp-lang.c
  2003-02-24 20:04 Karol Szkudlarek
@ 2003-02-24 20:21 ` Steven Bosscher
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Bosscher @ 2003-02-24 20:21 UTC (permalink / raw)
  To: Karol Szkudlarek; +Cc: gcc

Op ma 24-02-2003, om 20:57 schreef Karol Szkudlarek:
> Hello!
> 
> I am trying to compile following t.cpp program:
> 
> #include <qstring.h>
> int a()
> {
>    QString s;
>    s.isEmpty() ? s+"aa":s;
> }
> 
> with command:
> 
> g++ -c  -I/usr/share/qt3/include t.cpp
> 
> and I've got the internal compiler error:
> 
> t.cpp: In function `int a()':
> t.cpp:5: error: non-lvalue in unary `&'

This is PR c++/9440.  You're not exactly the first to notice, everybody
seems to be hit by this bug :-/

Greetz
Steven


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

* internal error in cp-lang.c
@ 2003-02-24 20:04 Karol Szkudlarek
  2003-02-24 20:21 ` Steven Bosscher
  0 siblings, 1 reply; 4+ messages in thread
From: Karol Szkudlarek @ 2003-02-24 20:04 UTC (permalink / raw)
  To: gcc

Hello!

I am trying to compile following t.cpp program:

#include <qstring.h>
int a()
{
   QString s;
   s.isEmpty() ? s+"aa":s;
}

with command:

g++ -c  -I/usr/share/qt3/include t.cpp

and I've got the internal compiler error:

t.cpp: In function `int a()':
t.cpp:5: error: non-lvalue in unary `&'
t.cpp:5: error: non-lvalue in unary `&'
t.cpp:5: error: non-lvalue in unary `&'
t.cpp:5: error: non-lvalue in unary `&'
t.cpp:5: internal compiler error: in cp_expr_size, at cp/cp-lang.c:305
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

my g++ is:

g++ (GCC) 3.4 20030222 (experimental)

and I've compiled it by myself from current cvs branch.

I can reproduce this error only with above program.
qstring.h is standard Qt library header (I am using Qt 3.1.1
library from Debian sid distribution). Sorry if somebody report this
problem before me.
Is there somebody to help me with this problem? Because submit a bug
report is too difficult for me..

Regards,

Karol Szkudlarek








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

end of thread, other threads:[~2003-02-25  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-25  2:20 internal error in cp-lang.c Dirk Mueller
2003-02-25  8:31 ` Steven Bosscher
  -- strict thread matches above, loose matches on Subject: below --
2003-02-24 20:04 Karol Szkudlarek
2003-02-24 20:21 ` Steven Bosscher

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