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]
Other format: [Raw text]

Re: C constant expressions proposals


Joseph S. Myers wrote:

It's the job of the front end to reject invalid code and pass down valid code to the next level. It's the jobs of the compiler to pass only valid code to the assembler unless there is something invalid an asm statement or similar.

I strongly agree.

In fact, I consider all diagnostic outputs other than "internal error",
"out of memory", etc. from anything other than the front end to be bugs. :-)

--
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark@codesourcery.com


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