From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30330 invoked by alias); 30 Aug 2005 08:58:58 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 29894 invoked by uid 48); 30 Aug 2005 08:58:11 -0000 Date: Tue, 30 Aug 2005 09:13:00 -0000 Message-ID: <20050830085811.29893.qmail@sourceware.org> From: "rguenth at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050829151148.23624.cnewbold@mathworks.com> References: <20050829151148.23624.cnewbold@mathworks.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/23624] [3.4/4.0/4.1 Regression] ICE: internal compiler error: in invert_truthvalue, at fold-const.c:2697 X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg03419.txt.bz2 List-Id: ------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-30 08:58 ------- It's weird we only fail with f being a template function. In fact, only in this case we reach the point where we try the invalid folding. Nevertheless, I have an (obvious) patch. Testing in progress. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23624