This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Author: rguenth
Date: Thu Jun  5 12:42:29 2014
New Revision: 211272

URL: http://gcc.gnu.org/viewcvs?rev=211272&root=gcc&view=rev
Log:
2014-06-05  Richard Biener  <rguenther@suse.de>

	PR c++/61004
	* typeck.c (cp_build_indirect_ref): Do not emit strict-aliasing
	warnings for accessing empty classes.

	* g++.dg/diagnostic/pr61004.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/diagnostic/pr61004.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/typeck.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]