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]

r120498 - in /trunk/gcc: ChangeLog testsuite/Ch...


Author: rguenth
Date: Fri Jan  5 21:04:23 2007
New Revision: 120498

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120498
Log:
2007-01-05  Richard Guenther  <rguenther@suse.de>

	PR middle-end/27826
	* tree.c (get_narrower): Do not construct COMPONENT_REFs
	with mismatched types.  Instead explicitly build a
	conversion NOP_EXPR.

	* g++.dg/opt/pr27826.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/opt/pr27826.C
      - copied unchanged from r120497, branches/gcc-4_1-branch/gcc/testsuite/g++.dg/opt/pr27826.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree.c


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