From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25683 invoked by alias); 20 Jun 2002 11:26:07 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 25600 invoked by uid 71); 20 Jun 2002 11:26:02 -0000 Resent-Date: 20 Jun 2002 11:26:02 -0000 Resent-Message-ID: <20020620112602.25599.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, fasbjx@free.fr Received: (qmail 24715 invoked from network); 20 Jun 2002 11:23:15 -0000 Received: from unknown (HELO postfix1-2.free.fr) (213.228.0.130) by sources.redhat.com with SMTP; 20 Jun 2002 11:23:15 -0000 Received: from alpha.tchume.net (rouen-1-a7-62-147-101-244.dial.proxad.net [62.147.101.244]) by postfix1-2.free.fr (Postfix) with ESMTP id A0F4DAB3F5; Thu, 20 Jun 2002 13:23:13 +0200 (CEST) Received: by alpha.tchume.net (Postfix, from userid 1000) id 19DC0759EB; Fri, 21 Jun 2002 12:49:25 +0200 (CEST) Message-Id: <20020621104925.19DC0759EB@alpha.tchume.net> Date: Thu, 20 Jun 2002 04:56:00 -0000 From: fasbjx@free.fr To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 Subject: c++/7084: locale dependant ICE X-SW-Source: 2002-06/txt/msg00452.txt.bz2 List-Id: >Number: 7084 >Category: c++ >Synopsis: locale dependant ICE >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Thu Jun 20 04:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Franck Branjonneau >Release: 3.1.1 20020606 (Debian prerelease) (Debian testing/unstable) >Organization: >Environment: System: Linux alpha.tchume.net 2.2.20 #1 Sun Mar 10 20:27:27 CET 2002 i586 unknown Architecture: i586 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: /var/tmp/gcc-3.1-3.1.1ds1/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/g++-v3-3.1 --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --enable-clocale=gnu --enable-threads=posix --enable-java-gc=boehm --enable-objc-gc i386-linux >Description: When compiling the following, illegal, code: #include #include using namespace std; int main() { wstring s; stringstream in("Anything"); in >> s; } - with my default locale, fr_FR.ISO8859-1, GCC says: tmp.cc: Dans function « int main() »: tmp.cc:511: no match pour l'opérateur « erreur interne de compilateur: erreur pour rapporter une routine ré-entée SVP soumettre un rapport complet d'anomalies, avec le source pré-traité si cela est approprié. Consulter pour les instructions. - with the system default locale, C, it says: tmp.cc: In function `int main()': tmp.cc:511: no match for `std::stringstream& >> std::wstring&' operator /usr/include/g++-v3-3.1/bits/istream.tcc:82: candidates are: [...] >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: