This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C++ codegen bug for switch statement(s)


>>>>> "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.

Thanks!

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]