| Summary: | [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C | ||
|---|---|---|---|
| Product: | gcc | Reporter: | Rainer Orth <ro> |
| Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ebotcazou, gcc-bugs, gdr, mark |
| Priority: | P2 | Keywords: | diagnostic |
| Version: | 3.4.5 | ||
| Target Milestone: | 3.4.5 | ||
| Host: | *-*-* | Target: | *-*-* |
| Build: | *-*-* | Known to work: | |
| Known to fail: | Last reconfirmed: | 2005-06-14 13:24:35 | |
|
Description
Rainer Orth
2005-06-09 17:10:48 UTC
Weird. Subject: Re: [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C I've also observed this on mips-sgi-irix5.3 and mips-sgi-irix6.5, so this may even be generic (at least not alpha specific). Rainer Confirmed on x86 and SPARC. My logs show that it was not present as of 05/31. So we are left with these 2 patches to the C++ front-end: 2005-06-03 Mark Mitchell <mark@codesourcery.com> PR c++/21853 * typeck.c (casts_away_constness_r): Do not drop cv-qualifiers on the pointed-to type for a pointer-to-member. 2005-06-03 Mark Mitchell <mark@codesourcery.com> PR c++/21336 * cp-tree.h (grok_op_properties): Remove friendp parameter. * decl.c (grokfndecl): Adjust call. (grok_op_properties): Determine the class of which the function is a member by looking at its DECL_CONTEXT, not current_class_type. * pt.c (tsubst_decl): Adjust call to grok_op_properties. Mark, it's not the first time we catch you backporting patches without testing them on the branch. :-D > Confirmed on x86 and SPARC.
And x86-64 if that matters.
Subject: Bug 21987 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_4-branch Changes by: mmitchel@gcc.gnu.org 2005-06-14 16:55:47 Modified files: gcc/cp : ChangeLog decl.c Log message: PR c++/21987 * decl.c (grok_op_properties): Add missing warn_conversion check. 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.226&r2=1.3892.2.227 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1174.2.36&r2=1.1174.2.37 Fixed in 3.4.5. Thanks for the quick turnaround time. Subject: Re: [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
ebotcazou at gcc dot gnu dot org wrote:
> ------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-14 18:20 -------
> Thanks for the quick turnaround time.
You're really too kind. This was just plain lame on my part. Thanks.
|