From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 644 invoked by alias); 28 Jul 2004 20:18:20 -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 637 invoked by uid 48); 28 Jul 2004 20:18:18 -0000 Date: Wed, 28 Jul 2004 20:18:00 -0000 Message-ID: <20040728201818.636.qmail@sourceware.org> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040728191218.16806.jurka@ejurka.com> References: <20040728191218.16806.jurka@ejurka.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/16806] [3.3 regression] Internal compiler error: Error reporting routines re-entered. X-Bugzilla-Reason: CC X-SW-Source: 2004-07/txt/msg03393.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-07-28 20:18 ------- This code is completely and absolutely broken. However, to my great surprise I could even reconstruct the ICE with something that is almost valid and should indeed give a single regular error: ----------------- struct X {}; void operator << (const X &,int); template struct myclass { template int Get(); }; int main() { X() << myclass().Get; } ------------------------- Note that only the parentheses to the call of myclass::get were forgotten in this code. Yet, we get: g/x> /home/bangerth/bin/gcc-3.3.4-pre/bin/c++ -c x.cc x.cc: In function `int main()': x.cc:9: error: no match for 'operator<<' in 'X() << Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. See for instructions. This is a regression in 3.3.x against previous versions, but it is already fixed in 3.4 and mainline. W. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |ice-on-invalid-code Last reconfirmed|0000-00-00 00:00:00 |2004-07-28 20:18:17 date| | Summary|Internal compiler error: |[3.3 regression] Internal |Error reporting routines re-|compiler error: Error |entered. |reporting routines re- | |entered. Target Milestone|--- |3.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16806