public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/42634] ICE with -g -O2 -std=c++0x in copy_fn_p, at cp/decl.c:9973 Date: Wed, 06 Jan 2010 16:30:00 -0000 [thread overview] Message-ID: <20100106163039.28898.qmail@sourceware.org> (raw) In-Reply-To: <bug-42634-8535@http.gcc.gnu.org/bugzilla/> ------- Comment #1 from rguenth at gcc dot gnu dot org 2010-01-06 16:30 ------- Confirmed. Older releases ICE differently. Note that I don't see an ICE with -g0 but only with -g. With plain -g the code is even rejected: > ./cc1plus -quiet -std=c++0x t.ii ok > ./cc1plus -quiet -std=c++0x t.ii -g t.ii: In instantiation of 'const bool is_constructible<Foo, int&&>::value': t.ii:14:30: instantiated from here t.ii:5:61: error: no matching function for call to 'is_constructible<Foo, int&&>::test()' t.ii:14:30: error: 'is_constructible<Foo, int&&>::value' is not a valid template argument for type 'bool' because it is a non-constant expression t.ii: In constructor 'pair<T1, T2>::pair(const T1&, U2&&) [with U2 = Foo, <template-parameter-2-2> = void, T1 = int, T2 = Foo]': t.ii:14:30: error: 'is_constructible<Foo, int&&>::value' is not a valid template argument for type 'bool' because it is a non-constant expression -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu dot org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code, rejects- | |valid Known to fail| |4.3.4 4.4.2 4.5.0 Last reconfirmed|0000-00-00 00:00:00 |2010-01-06 16:30:39 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42634
next prev parent reply other threads:[~2010-01-06 16:30 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-06 14:13 [Bug c++/42634] New: " wouter dot vermaelen at scarlet dot be 2010-01-06 16:30 ` rguenth at gcc dot gnu dot org [this message] 2010-01-06 22:50 ` [Bug c++/42634] " bkoz at gcc dot gnu dot org 2010-01-06 22:51 ` bkoz at gcc dot gnu dot org 2010-01-07 20:07 ` dodji at gcc dot gnu dot org 2010-01-09 19:59 ` dodji at gcc dot gnu dot org 2010-01-12 13:40 ` doko at ubuntu dot com 2010-01-13 20:07 ` dodji at gcc dot gnu dot org 2010-01-13 20:08 ` dodji at gcc dot gnu dot org 2010-01-15 11:24 ` dodji at gcc dot gnu dot org 2010-01-15 11:29 ` dodji at gcc dot gnu dot org 2010-01-18 10:08 ` rguenth at gcc dot gnu dot org 2010-01-18 11:24 ` dodji at gcc dot gnu dot org 2010-01-18 21:19 ` dodji at gcc dot gnu dot org 2010-01-18 23:14 ` dodji at gcc dot gnu dot org 2010-01-19 15:39 ` dodji at gcc dot gnu dot org 2010-01-29 14:31 ` dodji at gcc dot gnu dot org 2010-01-29 16:07 ` dodji at gcc dot gnu dot org 2010-02-07 3:56 ` hjl dot tools at gmail dot com 2010-02-07 4:47 ` hjl at gcc dot gnu dot org
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=20100106163039.28898.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).