public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46870] New: [C++0x] ICE: SIGSEGV (too deep recursion) on invalid code
@ 2010-12-09 16:55 zsojka at seznam dot cz
2011-03-30 2:56 ` [Bug c++/46870] " jason at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: zsojka at seznam dot cz @ 2010-12-09 16:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46870
Summary: [C++0x] ICE: SIGSEGV (too deep recursion) on invalid
code
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
----- testcase.C -----
template < int > struct S
{
int foo ()
{
int b = b == b;
S < b > ();
}
};
----------------------
Compiler output:
$ gcc -std=c++0x testcase.C
Program received signal SIGSEGV, Segmentation fault.
0x000000000054d5c2 in value_dependent_expression_p (expression=0x7ffff7eea1e0)
at /mnt/svn/gcc-trunk/gcc/cp/pt.c:17987
17987 {
(gdb) bt
#0 0x000000000054d5c2 in value_dependent_expression_p
(expression=0x7ffff7eea1e0) at /mnt/svn/gcc-trunk/gcc/cp/pt.c:17987
#1 0x000000000054df96 in value_dependent_expression_p (expression=<value
optimized out>)
at /mnt/svn/gcc-trunk/gcc/cp/pt.c:18155
#2 0x000000000054db85 in value_dependent_expression_p (expression=<value
optimized out>)
at /mnt/svn/gcc-trunk/gcc/cp/pt.c:18074
#3 0x000000000054df96 in value_dependent_expression_p (expression=<value
optimized out>)
at /mnt/svn/gcc-trunk/gcc/cp/pt.c:18155
#4 0x000000000054db85 in value_dependent_expression_p (expression=<value
optimized out>)
at /mnt/svn/gcc-trunk/gcc/cp/pt.c:18074
#5 0x000000000054df96 in value_dependent_expression_p (expression=<value
optimized out>)
at /mnt/svn/gcc-trunk/gcc/cp/pt.c:18155
.......
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/46870] [C++0x] ICE: SIGSEGV (too deep recursion) on invalid code
2010-12-09 16:55 [Bug c++/46870] New: [C++0x] ICE: SIGSEGV (too deep recursion) on invalid code zsojka at seznam dot cz
@ 2011-03-30 2:56 ` jason at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: jason at gcc dot gnu.org @ 2011-03-30 2:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46870
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jason at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-30 02:35:48 UTC ---
Dup.
*** This bug has been marked as a duplicate of bug 48265 ***
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-03-30 2:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-09 16:55 [Bug c++/46870] New: [C++0x] ICE: SIGSEGV (too deep recursion) on invalid code zsojka at seznam dot cz
2011-03-30 2:56 ` [Bug c++/46870] " jason at gcc dot gnu.org
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).