public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60687] New: [4.8.0] Infinite loop compiling recursive templates indirectly by local class in function
@ 2014-03-27 16:32 FBergemann at web dot de
  2014-03-27 16:34 ` [Bug c++/60687] " FBergemann at web dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: FBergemann at web dot de @ 2014-03-27 16:32 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60687

            Bug ID: 60687
           Summary: [4.8.0] Infinite loop compiling recursive templates
                    indirectly by local class in function
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: FBergemann at web dot de

[g++ 4.8.0 on Red Hat Linux 6.2 or Ubuntu Linux 12.04.3]
the g++ compiler is in an endless loop and has to be killed for compiling
main.cpp (attached next).
Then i get following error trace:
/opt/gcc-4.8.0/bin/g++ -O0 -g3 -Wall -c -fmessage-length=0 -std=c++11 -MMD -MP
-MF"main.d" -MT"main.d" -o "main.o" "../main.cpp"
g++: internal compiler error: Terminated (program cc1plus)
0x40cba1 execute
    ../../gcc/gcc.c:2822
0x40cee4 do_spec_1
    ../../gcc/gcc.c:4614
0x40f865 process_brace_body
    ../../gcc/gcc.c:5871
0x40f865 handle_braces
    ../../gcc/gcc.c:5785
0x40de07 do_spec_1
    ../../gcc/gcc.c:5268
0x40f865 process_brace_body
    ../../gcc/gcc.c:5871
0x40f865 handle_braces
    ../../gcc/gcc.c:5785
0x40de07 do_spec_1
    ../../gcc/gcc.c:5268
0x40daff do_spec_1
    ../../gcc/gcc.c:5373
0x40f865 process_brace_body
    ../../gcc/gcc.c:5871
0x40f865 handle_braces
    ../../gcc/gcc.c:5785
0x40de07 do_spec_1
    ../../gcc/gcc.c:5268
0x40f865 process_brace_body
    ../../gcc/gcc.c:5871
0x40f865 handle_braces
    ../../gcc/gcc.c:5785
0x40de07 do_spec_1
    ../../gcc/gcc.c:5268
0x40f865 process_brace_body
    ../../gcc/gcc.c:5871
0x40f865 handle_braces
    ../../gcc/gcc.c:5785
0x40de07 do_spec_1
    ../../gcc/gcc.c:5268
0x40f865 process_brace_body
    ../../gcc/gcc.c:5871
0x40f865 handle_braces
    ../../gcc/gcc.c:5785
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [main.o] Error 4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-19 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-27 16:32 [Bug c++/60687] New: [4.8.0] Infinite loop compiling recursive templates indirectly by local class in function FBergemann at web dot de
2014-03-27 16:34 ` [Bug c++/60687] " FBergemann at web dot de
2014-03-28 19:05 ` jolfzverb at gmail dot com
2014-03-29 11:03 ` FBergemann at web dot de
2015-03-19 10:45 ` 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).