error_mark

Mark Mitchell mark@codesourcery.com
Wed Nov 1 08:17:00 GMT 2000


>>>>> "Denis" == Denis Perchine <dyp@perchine.com> writes:

    Denis> Hello,

    Denis> small question...  C++ frontend.  Why I get error_mark as
    Denis> init expression in var declaration.  Module is compiled
    Denis> perfect...  error_count == 0, warning_count == 0.

    Denis> Any comments?

That happens when there's an initializer, but it's not in DECL_INITIAL
-- instead, it's emitted in the code stream.

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


More information about the Gcc mailing list