This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] PR17544, a C99 and C++ Wunreachable-code problem
Steven Bosscher <email@example.com> writes:
| On Friday 31 December 2004 13:43, Gabriel Dos Reis wrote:
| > Steven Bosscher <firstname.lastname@example.org> writes:
| > [...]
| > | My proposed fix is to put a locus on the compiler generated statement
| > | in the front end: just put it in the current file, on line 0. Then
| > Aren't those loci information used by the debugger?
| Yes, but apparently line 0 is not written to the assembly output:
Thanks. I'm just nervous about playing tricks with locus information,
as it may foul debuggers and tree unparsers...
Before I got this mail, I sent a message suggesting TREE_NO_WARNING.
Would not that work better?