https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70518

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
(In reply to jos...@codesourcery.com from comment #4)
> On Sun, 3 Apr 2016, elyk03 at gmail dot com wrote:
> 
> > Should #line be processed unconditionally?  I know the preprocessor has to 
> > keep
> 
> It should not be processed in skipped blocks.  See C11 6.10.1#6

I think that settles it.

It might be worth it to open a different PR saying that the caret line should
use the real source location and ignore line directives (and linemarkers). That
seems hard to fix, though.

Reply via email to