From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2211 invoked by alias); 8 Mar 2007 12:54:56 -0000 Received: (qmail 2148 invoked by alias); 8 Mar 2007 12:54:41 -0000 Date: Thu, 08 Mar 2007 12:54:00 -0000 Message-ID: <20070308125441.2147.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/26797] [4.3 regression] ACATS cxh1001 fails In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "kenner at vlsi1 dot ultra dot nyu dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-03/txt/msg00577.txt.bz2 ------- Comment #26 from kenner at vlsi1 dot ultra dot nyu dot edu 2007-03-08 12:54 ------- Subject: Re: [4.3 regression] ACATS cxh1001 fails > y = __builtin_nop(x); valid = (y>=lower_bound && y <=upper_bound); > The point is that the intrinsic would be opaque to the optimizers, > and would only be lowered to the identity function *after* the tree > optimizers have run. One annoyance is that presumably intrinsics > would be needed for all integer and float precisions, eg > __builtin_nop8, __builtin_nop16, etc. More than each precision. The VIEW_CONVERT_EXPR is to the base type and there can be an unlimited number of them for each precision. Because it has to work with arbitrary types, a builtin won't do it. We could certainly add a new tree expression that says "don't look through this for VRP purposes", but we already have V_C_E. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26797