public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors
@ 2010-11-13 17:46 gcc-bugzilla at contacts dot eelis.net
2010-11-14 1:00 ` [Bug c++/46466] " paolo.carlini at oracle dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: gcc-bugzilla at contacts dot eelis.net @ 2010-11-13 17:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466
Summary: [C++0X] ICE when using constexpr with
-fno-elide-constructors
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gcc-bugzilla@contacts.eelis.net
Compiling
struct S { bool b; };
constexpr S f() { return S{true}; }
static_assert(f().b, "");
with
g++ -std=c++0x -fno-elide-constructors
results in
t.cpp:3:26: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Omitting -fno-elide-constructors makes the problem go away.
I'm using GCC svn r166710.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/46466] [C++0X] ICE when using constexpr with -fno-elide-constructors
2010-11-13 17:46 [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors gcc-bugzilla at contacts dot eelis.net
@ 2010-11-14 1:00 ` paolo.carlini at oracle dot com
2011-02-27 11:51 ` marc.glisse at normalesup dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-11-14 1:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-11-14 00:40:07 UTC ---
Let's add Jason in CC.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/46466] [C++0X] ICE when using constexpr with -fno-elide-constructors
2010-11-13 17:46 [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors gcc-bugzilla at contacts dot eelis.net
2010-11-14 1:00 ` [Bug c++/46466] " paolo.carlini at oracle dot com
@ 2011-02-27 11:51 ` marc.glisse at normalesup dot org
2011-02-27 13:21 ` paolo.carlini at oracle dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: marc.glisse at normalesup dot org @ 2011-02-27 11:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466
Marc Glisse <marc.glisse at normalesup dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marc.glisse at normalesup
| |dot org
--- Comment #2 from Marc Glisse <marc.glisse at normalesup dot org> 2011-02-27 11:41:06 UTC ---
This seems to be fixed now.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/46466] [C++0X] ICE when using constexpr with -fno-elide-constructors
2010-11-13 17:46 [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors gcc-bugzilla at contacts dot eelis.net
2010-11-14 1:00 ` [Bug c++/46466] " paolo.carlini at oracle dot com
2011-02-27 11:51 ` marc.glisse at normalesup dot org
@ 2011-02-27 13:21 ` paolo.carlini at oracle dot com
2011-02-27 13:46 ` paolo at gcc dot gnu.org
2011-02-27 13:55 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-27 13:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-27 12:44:06 UTC ---
Great. Let's add the testcase and close it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/46466] [C++0X] ICE when using constexpr with -fno-elide-constructors
2010-11-13 17:46 [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors gcc-bugzilla at contacts dot eelis.net
` (2 preceding siblings ...)
2011-02-27 13:21 ` paolo.carlini at oracle dot com
@ 2011-02-27 13:46 ` paolo at gcc dot gnu.org
2011-02-27 13:55 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu.org @ 2011-02-27 13:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466
--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-02-27 13:20:59 UTC ---
Author: paolo
Date: Sun Feb 27 13:20:55 2011
New Revision: 170538
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170538
Log:
2011-02-27 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/46466
* g++.dg/cpp0x/constexpr-ctor8.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ctor8.C
Modified:
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/46466] [C++0X] ICE when using constexpr with -fno-elide-constructors
2010-11-13 17:46 [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors gcc-bugzilla at contacts dot eelis.net
` (3 preceding siblings ...)
2011-02-27 13:46 ` paolo at gcc dot gnu.org
@ 2011-02-27 13:55 ` paolo.carlini at oracle dot com
4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-27 13:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-27 13:23:12 UTC ---
Done.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-02-27 13:23 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-13 17:46 [Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors gcc-bugzilla at contacts dot eelis.net
2010-11-14 1:00 ` [Bug c++/46466] " paolo.carlini at oracle dot com
2011-02-27 11:51 ` marc.glisse at normalesup dot org
2011-02-27 13:21 ` paolo.carlini at oracle dot com
2011-02-27 13:46 ` paolo at gcc dot gnu.org
2011-02-27 13:55 ` paolo.carlini at oracle dot com
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).