public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr
@ 2004-10-06 19:22 reichelt at gcc dot gnu dot org
2004-10-06 19:25 ` [Bug c++/17868] " reichelt at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-06 19:22 UTC (permalink / raw)
To: gcc-bugs
Compiling the following testcase with -pedantic, I get a hosed error message
with gcc 3.4.2:
=============================
struct A
{
A(double);
};
const A& foo();
void bar(double x)
{
foo()=A(x/2);
}
=============================
bug.cc: In function `void bar(double)':
bug.cc:10: error: no match for 'operator=' in 'foo() = A(#`rdiv_expr' not
supported by dump_expr#<expression error>)'
bug.cc:2: note: candidates are: A& A::operator=(const A&) <near match>
I have a fix for this. Will post patch soon.
Just for the record: the error message on mainline has another problem,
see PR 17867.
--
Summary: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by
dump_expr
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
@ 2004-10-06 19:25 ` reichelt at gcc dot gnu dot org
2004-10-06 19:30 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-06 19:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-06 19:25 -------
Patch here:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00536.html
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |reichelt at gcc dot gnu dot
|dot org |org
Status|UNCONFIRMED |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
2004-10-06 19:25 ` [Bug c++/17868] " reichelt at gcc dot gnu dot org
@ 2004-10-06 19:30 ` pinskia at gcc dot gnu dot org
2004-10-08 19:41 ` cvs-commit at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-06 19:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-06 19:30 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |gdr at gcc dot gnu dot org
Target Milestone|--- |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
2004-10-06 19:25 ` [Bug c++/17868] " reichelt at gcc dot gnu dot org
2004-10-06 19:30 ` pinskia at gcc dot gnu dot org
@ 2004-10-08 19:41 ` cvs-commit at gcc dot gnu dot org
2004-10-08 19:45 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-08 19:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-08 19:41 -------
Subject: Bug 17868
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: reichelt@gcc.gnu.org 2004-10-08 19:40:57
Modified files:
gcc/cp : ChangeLog error.c
Log message:
PR c++/17868
* error.c (dump_expr): Add missing case for RDIV_EXPR.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4414&r2=1.4415
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&r1=1.265&r2=1.266
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-10-08 19:41 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-08 19:45 ` cvs-commit at gcc dot gnu dot org
2004-10-08 19:48 ` [Bug c++/17868] [3.3 " reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-08 19:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-08 19:45 -------
Subject: Bug 17868
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: reichelt@gcc.gnu.org 2004-10-08 19:44:58
Modified files:
gcc/cp : ChangeLog error.c
Log message:
PR c++/17868
* error.c (dump_expr): Add missing case for RDIV_EXPR.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.163&r2=1.3892.2.164
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.241.4.7&r2=1.241.4.8
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-10-08 19:45 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-08 19:48 ` reichelt at gcc dot gnu dot org
2004-12-10 15:48 ` reichelt at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-10-08 19:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-10-08 19:48 -------
Fixed on mainline and the 3.4 branch.
Waiting for the 3.3 branch to unfreeze.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3/3.4/4.0 regression] |[3.3 regression] RDIV_EXPR
|RDIV_EXPR not supported by |not supported by dump_expr
|dump_expr |
Target Milestone|3.4.3 |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-10-08 19:48 ` [Bug c++/17868] [3.3 " reichelt at gcc dot gnu dot org
@ 2004-12-10 15:48 ` reichelt at gcc dot gnu dot org
2004-12-10 16:53 ` gdr at integrable-solutions dot net
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-10 15:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-10 15:48 -------
Gaby, is this trivial patch OK for the 3.3 branch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-12-10 15:48 ` reichelt at gcc dot gnu dot org
@ 2004-12-10 16:53 ` gdr at integrable-solutions dot net
2004-12-10 17:03 ` cvs-commit at gcc dot gnu dot org
2004-12-10 17:04 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: gdr at integrable-solutions dot net @ 2004-12-10 16:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2004-12-10 16:53 -------
Subject: Re: [3.3 regression] RDIV_EXPR not supported by dump_expr
"reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Gaby, is this trivial patch OK for the 3.3 branch?
Yes, thanks.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-12-10 16:53 ` gdr at integrable-solutions dot net
@ 2004-12-10 17:03 ` cvs-commit at gcc dot gnu dot org
2004-12-10 17:04 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-10 17:03 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-10 17:02 -------
Subject: Bug 17868
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: reichelt@gcc.gnu.org 2004-12-10 17:02:32
Modified files:
gcc/cp : ChangeLog error.c
Log message:
PR c++/17868
* error.c (dump_expr): Add missing case for RDIV_EXPR.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.278&r2=1.3076.2.279
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.192.2.9&r2=1.192.2.10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/17868] [3.3 regression] RDIV_EXPR not supported by dump_expr
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
` (7 preceding siblings ...)
2004-12-10 17:03 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-10 17:04 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-12-10 17:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-12-10 17:03 -------
Now also fixed on the 3.3 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17868
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-12-10 17:04 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 19:22 [Bug c++/17868] New: [3.3/3.4/4.0 regression] RDIV_EXPR not supported by dump_expr reichelt at gcc dot gnu dot org
2004-10-06 19:25 ` [Bug c++/17868] " reichelt at gcc dot gnu dot org
2004-10-06 19:30 ` pinskia at gcc dot gnu dot org
2004-10-08 19:41 ` cvs-commit at gcc dot gnu dot org
2004-10-08 19:45 ` cvs-commit at gcc dot gnu dot org
2004-10-08 19:48 ` [Bug c++/17868] [3.3 " reichelt at gcc dot gnu dot org
2004-12-10 15:48 ` reichelt at gcc dot gnu dot org
2004-12-10 16:53 ` gdr at integrable-solutions dot net
2004-12-10 17:03 ` cvs-commit at gcc dot gnu dot org
2004-12-10 17:04 ` reichelt at gcc dot gnu dot org
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).