r274211 - in /trunk/gcc: cp/ChangeLog cp/typeck...

mpolacek@gcc.gnu.org mpolacek@gcc.gnu.org
Thu Aug 8 15:37:00 GMT 2019


Author: mpolacek
Date: Thu Aug  8 15:37:46 2019
New Revision: 274211

URL: https://gcc.gnu.org/viewcvs?rev=274211&root=gcc&view=rev
Log:
	PR c++/87519 - bogus warning with -Wsign-conversion.
	* typeck.c (cp_build_binary_op): Use same_type_p instead of comparing
	the types directly.

	* g++.dg/warn/Wsign-conversion-5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/warn/Wsign-conversion-5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list