public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34850]  New: Recursive BLOCK tree
@ 2008-01-18 14:50 rguenth at gcc dot gnu dot org
  2008-01-18 14:54 ` [Bug c++/34850] " rguenth at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-01-18 14:50 UTC (permalink / raw)
  To: gcc-bugs

Compilation of the attached testcase hangs in 

0x000000000056aedc in cp_print_error_function (context=0x15c5a60, 
    diagnostic=0x7fff955f6c30)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:2426
2426                      while (TREE_CODE (ao) == BLOCK &&
BLOCK_ABSTRACT_ORIGIN (ao))
2427                        ao = BLOCK_ABSTRACT_ORIGIN (ao);

because BLOCK_ABSTRACT_ORIGIN (ao) == ao.

If you build with -O2 -g.  Building without -g fixes the problem
(possibly the BLOCK is thrown away as unused).


-- 
           Summary: Recursive BLOCK tree
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rguenth at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-01-21  9:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-18 14:50 [Bug c++/34850] New: Recursive BLOCK tree rguenth at gcc dot gnu dot org
2008-01-18 14:54 ` [Bug c++/34850] " rguenth at gcc dot gnu dot org
2008-01-18 15:10 ` [Bug c++/34850] [4.3 Regression] Recursive BLOCK tree causes compilation to hang during diagnostics rguenth at gcc dot gnu dot org
2008-01-18 15:27 ` rguenth at gcc dot gnu dot org
2008-01-18 15:33 ` rguenth at gcc dot gnu dot org
2008-01-18 22:03 ` rguenth at gcc dot gnu dot org
2008-01-21  9:49 ` rguenth at gcc dot gnu dot org
2008-01-21  9:55 ` rguenth at gcc dot gnu dot 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).