public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C
@ 2005-06-09 17:10 gcc-bugzilla at gcc dot gnu dot org
  2005-06-09 17:15 ` [Bug c++/21987] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2005-06-09 17:10 UTC (permalink / raw)
  To: gcc-bugs


Between 20050414 and 20050606, there occured a new testsuite failure on the
3.4 branch on alpha-dec-osf4.0f and alpha-dec-osf5.1b:

+FAIL: g++.dg/warn/conversion-function-1.C (test for excess errors)

Excess errors:
/vol/gnu/src/gcc/gcc-3.4-branch-dist/gcc/testsuite/g++.dg/warn/conversion-function-1.C:6: warning: conversion to a reference to the same type will never use a type conversion operator

Environment:
System: OSF1 bartok V5.1 2650 alpha
Machine: alpha
	
host: alpha-dec-osf5.1b
build: alpha-dec-osf5.1b
target: alpha-dec-osf5.1b
configured with: /vol/gnu/src/gcc/gcc-3.4-branch-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf5.1b --build alpha-dec-osf5.1b --target alpha-dec-osf5.1b

How-To-Repeat:
Bootstrap and test as described above.

-- 
           Summary: New testsuite failure g++.dg/warn/conversion-function-
                    1.C
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alpha-dec-osf5.1b
  GCC host triplet: alpha-dec-osf5.1b
GCC target triplet: alpha-dec-osf5.1b


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
@ 2005-06-09 17:15 ` pinskia at gcc dot gnu dot org
  2005-06-10 17:10 ` ro at techfak dot uni-bielefeld dot de
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-09 17:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-09 17:15 -------
Weird.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
            Summary|New testsuite failure       |[3.4 Regression] New
                   |g++.dg/warn/conversion-     |testsuite failure
                   |function-1.C                |g++.dg/warn/conversion-
                   |                            |function-1.C
   Target Milestone|---                         |3.4.5
            Version|unknown                     |3.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
  2005-06-09 17:15 ` [Bug c++/21987] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-10 17:10 ` ro at techfak dot uni-bielefeld dot de
  2005-06-14 12:42 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2005-06-10 17:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2005-06-10 17:09 -------
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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
  2005-06-09 17:15 ` [Bug c++/21987] [3.4 Regression] " pinskia at gcc dot gnu dot org
  2005-06-10 17:10 ` ro at techfak dot uni-bielefeld dot de
@ 2005-06-14 12:42 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 12:45 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-14 12:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-06-14 12:41 -------
Confirmed on x86 and SPARC.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-14 12:41:55
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-06-14 12:42 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-14 12:45 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 12:51 ` ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-14 12:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-06-14 12:44 -------
My logs show that it was not present as of 05/31.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gdr at integrable-solutions
                   |                            |dot net
  GCC build triplet|alpha-dec-osf5.1b           |*-*-*
   GCC host triplet|alpha-dec-osf5.1b           |*-*-*
 GCC target triplet|alpha-dec-osf5.1b           |*-*-*
           Priority|P3                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-06-14 12:45 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-14 12:51 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 13:24 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-14 12:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-06-14 12:51 -------
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


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2005-06-14 12:51 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-14 13:24 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 16:56 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-14 13:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-06-14 13:24 -------
> Confirmed on x86 and SPARC.

And x86-64 if that matters.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-06-14 12:41:55         |2005-06-14 13:24:35
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-06-14 13:24 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-14 16:56 ` cvs-commit at gcc dot gnu dot org
  2005-06-14 16:58 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-06-14 16:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-06-14 16:55 -------
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



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2005-06-14 16:56 ` cvs-commit at gcc dot gnu dot org
@ 2005-06-14 16:58 ` mmitchel at gcc dot gnu dot org
  2005-06-14 18:20 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 18:39 ` mark at codesourcery dot com
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-06-14 16:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-06-14 16:58 -------
Fixed in 3.4.5.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2005-06-14 16:58 ` mmitchel at gcc dot gnu dot org
@ 2005-06-14 18:20 ` ebotcazou at gcc dot gnu dot org
  2005-06-14 18:39 ` mark at codesourcery dot com
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-14 18:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-06-14 18:20 -------
Thanks for the quick turnaround time.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

* [Bug c++/21987] [3.4 Regression] New testsuite failure g++.dg/warn/conversion-function-1.C
  2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2005-06-14 18:20 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-14 18:39 ` mark at codesourcery dot com
  9 siblings, 0 replies; 11+ messages in thread
From: mark at codesourcery dot com @ 2005-06-14 18:39 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at codesourcery dot com  2005-06-14 18:39 -------
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.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21987


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

end of thread, other threads:[~2005-06-14 18:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-09 17:10 [Bug c++/21987] New: New testsuite failure g++.dg/warn/conversion-function-1.C gcc-bugzilla at gcc dot gnu dot org
2005-06-09 17:15 ` [Bug c++/21987] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-06-10 17:10 ` ro at techfak dot uni-bielefeld dot de
2005-06-14 12:42 ` ebotcazou at gcc dot gnu dot org
2005-06-14 12:45 ` ebotcazou at gcc dot gnu dot org
2005-06-14 12:51 ` ebotcazou at gcc dot gnu dot org
2005-06-14 13:24 ` ebotcazou at gcc dot gnu dot org
2005-06-14 16:56 ` cvs-commit at gcc dot gnu dot org
2005-06-14 16:58 ` mmitchel at gcc dot gnu dot org
2005-06-14 18:20 ` ebotcazou at gcc dot gnu dot org
2005-06-14 18:39 ` mark at codesourcery dot com

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