This is the mail archive of the gcc@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: error_mark


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

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