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: Is this a gcc bug?



----- Original Message -----
From: <dewar@gnat.com>
Sent: Monday, January 15, 2001 12:14 AM


> <<It doesn't follow, though, that the printf output is not interleaved
> with the mandatory diagnostics (if any).
> >>
>
> That's different from my reading, my reading is that the mandatory
> diagnostics have to come out even if the section of code is not run.
>
> The printf output comes out only if the section of code is run.
>
> Of course if there are mandatory diagnostics, then exeution is
> undefined in any case.

  So when compiling a case like this, we could print out a short and
obtuse error message, and output an executable which when run prints the
long sermon explanation to stderr :)

   DaveK



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