[Bug c++/10915] a not-useful non-avoidable warning: conversion to a reference to the same type will never use a type conversion operator
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jun 21 13:09:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10915
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-06-21 13:09 -------
Subject: Bug 10915
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: gdr@gcc.gnu.org 2003-06-21 13:09:06
Modified files:
gcc/testsuite : ChangeLog
gcc/testsuite/g++.old-deja/g++.bugs: 900215_01.C
gcc/testsuite/g++.old-deja/g++.jason: conversion5.C
gcc/cp : ChangeLog decl.c
Added files:
gcc/testsuite/g++.dg/warn: conversion-function-1.C
Log message:
testsuite/
* g++.old-deja/g++.jason/conversion5.C: Adjust option.
* g++.old-deja/g++.bugs/900215_01.C: Likewise.
cp/
PR c++/10915
* decl.c (grok_op_properties): Warn possible confusing conversion
only if -Wconversion.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.2789&r2=1.2790
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/warn/conversion-function-1.C.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.bugs/900215_01.C.diff?cvsroot=gcc&r1=1.4&r2=1.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.old-deja/g++.jason/conversion5.C.diff?cvsroot=gcc&r1=1.3&r2=1.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3445&r2=1.3446
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1069&r2=1.1070
More information about the Gcc-bugs
mailing list