public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52859] New: ICE ("Error reporting routines re-entered") on highly recursive template code
@ 2012-04-04  1:05 jewillco at osl dot iu.edu
  2012-10-04 11:39 ` [Bug c++/52859] " paolo.carlini at oracle dot com
  0 siblings, 1 reply; 2+ messages in thread
From: jewillco at osl dot iu.edu @ 2012-04-04  1:05 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52859
           Summary: ICE ("Error reporting routines re-entered") on highly
                    recursive template code
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jewillco@osl.iu.edu


Created attachment 27083
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27083
Semi-trimmed test program

I am not sure whether this program is valid C++11 or not, but it causes the
error:

‘
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(backquote in original error message; turns into a normal single quote in the C
locale).  If line 180 (marked with asterisks) is commented out, the compiler
goes into an infinite loop of template instantiations, stopped by the depth
limit; other seemingly meaningless changes cause the same result.  Because of
the use of std::tuple, I was not able to trim the code to something tiny; note
that I simplified the parts of the code that came from the standard library as
well.


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

* [Bug c++/52859] ICE ("Error reporting routines re-entered") on highly recursive template code
  2012-04-04  1:05 [Bug c++/52859] New: ICE ("Error reporting routines re-entered") on highly recursive template code jewillco at osl dot iu.edu
@ 2012-10-04 11:39 ` paolo.carlini at oracle dot com
  0 siblings, 0 replies; 2+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-10-04 11:39 UTC (permalink / raw)
  To: gcc-bugs


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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.8.0

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-10-04 11:39:09 UTC ---
Fixed in mainline (likely by a recent patchlet of mine for another "Error
reporting routines re-entered" PR).


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

end of thread, other threads:[~2012-10-04 11:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-04  1:05 [Bug c++/52859] New: ICE ("Error reporting routines re-entered") on highly recursive template code jewillco at osl dot iu.edu
2012-10-04 11:39 ` [Bug c++/52859] " 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).