public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: fasbjx@free.fr
To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org
Subject: c++/7084: locale dependant ICE
Date: Thu, 20 Jun 2002 04:56:00 -0000	[thread overview]
Message-ID: <20020621104925.19DC0759EB@alpha.tchume.net> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1946 bytes --]


>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 <string>
#include <sstream>

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 <URL:http://www.gnu.org/software/gcc/bugs.html> 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:


             reply	other threads:[~2002-06-20 11:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-20  4:56 fasbjx [this message]
2002-06-20 20:06 Zack Weinberg
2002-06-21  1:36 Martin v. Loewis
2002-10-03  7:39 lerdsuwa
2002-10-31 11:35 bangerth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020621104925.19DC0759EB@alpha.tchume.net \
    --to=fasbjx@free.fr \
    --cc=debian-gcc@lists.debian.org \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).