C++ codegen bug for switch statement(s)

Mark Mitchell mark@codesourcery.com
Mon Sep 11 14:02:00 GMT 2000

>>>>> "Gerald" == Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:

    Gerald> Mark,

    Gerald> my gut tells me that this probably is caused by the recent
    Gerald> "switch statements and the tree inliner" change?

    Gerald>  gerald@viech% gccvs -O1 stats.ii [...]  dltypes.h:206:
    Gerald> Internal error #19991113.  dltypes.h:206: Internal
    Gerald> compiler error in copy_body_r, at cp/optimize.c:272

    Gerald> If required, I can try to destill a smaller example, but I
    Gerald> guess (actually hope <g>) that also the big one is
    Gerald> sufficient...

My gut tells me it's more likely to be Zack's unused-declaration stuff
or the SAVE_EXPR rewalk avoidance stuff we collaborated on -- but
there's no telling.  It would be great if you could get a smaller
example; that does usually help a lot with these cases becuase you're
often trying to figure out what's going on in a large piece of tree
structure.  Would you mind doing that?  Just send me the stripped down
case privately, and I'll take a look.


Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

More information about the Gcc-bugs mailing list