From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9308 invoked by alias); 25 Apr 2004 13:46:56 -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 9280 invoked by uid 48); 25 Apr 2004 13:46:56 -0000 Date: Sun, 25 Apr 2004 14:01:00 -0000 Message-ID: <20040425134656.9279.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040424185400.15119.wanderer@rsu.ru> References: <20040424185400.15119.wanderer@rsu.ru> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15119] [3.5 Regression] internal compiler error: in substitute_placeholder_in_expr, at tree.c:2155 X-Bugzilla-Reason: CC X-SW-Source: 2004-04/txt/msg02312.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-04-25 13:46 ------- This one was easy: ----------------- template const T& xmin(const T& a, const T& b); void bar (char *, ...); char const* descs[4]; int main() { int t = 1; char buf[100]; bar( buf, descs[ xmin(t-1,4) ], 0 ); return 0; } ------------------------ g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c x.cc g/x> g/x> /home/bangerth/bin/gcc-3.5-pre/bin/gcc -c x.cc x.cc: In function `int main()': x.cc:11: internal compiler error: in substitute_placeholder_in_expr, at tree.c:2155 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2004-04-25 13:46:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15119