On Wed, May 03, 2006 at 12:29:17PM +0200, Bernd Schmidt wrote:
> Does anyone find the use of #line in insn-recog.c actually useful?  It 
> seems to make debugging recog() impossible.

   I think the line directives are nearly useless when you want to debug
those files. A comment with the file name and line number would often
better. However, those line directives are also used by GCC when emitting
error or warning messages during compilation and are useful in those cases.

   Line directives are only usable with line numbers of at most 32767 while
you can put anyting in a comment.

   For debugging, you can filter the offending file through something like
sed -e 's_^#line _// _' and recompile.

-- 
Rask Ingemann Lambertsen

Reply via email to