This is the mail archive of the gcc-patches@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]

Re: [PATCH] Fix fold_indirect_ref



On May 12, 2005, at 2:42 PM, Jakub Jelinek wrote:


On Tue, May 10, 2005 at 05:40:32PM +0200, Richard Guenther wrote:
2005-04-28 Richard Guenther <rguenth@gcc.gnu.org>

	* fold-const.c (fold_indirect_ref_1): Avoid removing
	NOP_EXPRs with type qualifiers like const.

This patch causes a regression on gcc-4_0-branch in g++.dg/opt/temp1.C, which is now miscompiled on at least i386/x86_64/ppc/ppc64/ia64. Can you please look into it or revert?

God I how I hate GCC's type system.


-- Pinski


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