public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
@ 2011-01-28 4:03 zsojka at seznam dot cz
2011-01-28 7:38 ` [Bug c++/47503] " hjl.tools at gmail dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: zsojka at seznam dot cz @ 2011-01-28 4:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47503
Summary: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at
cp/semantics.c:5876 with -fno-elide-constructors
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 23147
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23147
reduced testcase
Compiler output:
$ gcc -std=c++0x -fno-elide-constructors testcase.C
testcase.C: In constructor 'B::B(A&)':
testcase.C:10:20: in constexpr expansion of '((B*)this)->B::a.A::A((*(const
A*)aa))'
testcase.C:10:20: internal compiler error: in adjust_temp_type, at
cp/semantics.c:5876
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions:
r169326 - crash
4.5 r168785 - OK
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/47503] [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
2011-01-28 4:03 [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors zsojka at seznam dot cz
@ 2011-01-28 7:38 ` hjl.tools at gmail dot com
2011-02-08 14:54 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2011-01-28 7:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47503
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.28 03:26:48
CC| |jason at redhat dot com
Target Milestone|--- |4.6.0
Ever Confirmed|0 |1
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-28 03:26:48 UTC ---
This is caused by revision 166167:
http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00053.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/47503] [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
2011-01-28 4:03 [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors zsojka at seznam dot cz
2011-01-28 7:38 ` [Bug c++/47503] " hjl.tools at gmail dot com
@ 2011-02-08 14:54 ` rguenth at gcc dot gnu.org
2011-02-19 23:33 ` jason at gcc dot gnu.org
2011-02-20 0:11 ` paolo.carlini at oracle dot com
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-02-08 14:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47503
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/47503] [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
2011-01-28 4:03 [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors zsojka at seznam dot cz
2011-01-28 7:38 ` [Bug c++/47503] " hjl.tools at gmail dot com
2011-02-08 14:54 ` rguenth at gcc dot gnu.org
@ 2011-02-19 23:33 ` jason at gcc dot gnu.org
2011-02-20 0:11 ` paolo.carlini at oracle dot com
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2011-02-19 23:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47503
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-02-19 22:39:53 UTC ---
Author: jason
Date: Sat Feb 19 22:39:50 2011
New Revision: 170330
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170330
Log:
PR c++/47503
* semantics.c (cxx_eval_call_expression): Shortcut trivial copy.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/regress/no-elide1.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/47503] [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors
2011-01-28 4:03 [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors zsojka at seznam dot cz
` (2 preceding siblings ...)
2011-02-19 23:33 ` jason at gcc dot gnu.org
@ 2011-02-20 0:11 ` paolo.carlini at oracle dot com
3 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-02-20 0:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47503
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-02-19 23:33:18 UTC ---
Should be fixed then.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-19 23:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-28 4:03 [Bug c++/47503] New: [4.6 Regression] [C++0x] ICE: in adjust_temp_type, at cp/semantics.c:5876 with -fno-elide-constructors zsojka at seznam dot cz
2011-01-28 7:38 ` [Bug c++/47503] " hjl.tools at gmail dot com
2011-02-08 14:54 ` rguenth at gcc dot gnu.org
2011-02-19 23:33 ` jason at gcc dot gnu.org
2011-02-20 0:11 ` 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).