[Bug debug/65821] [4.9/5/6 regression] incorrect debug line # info for main

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 16 13:58:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |jan.kratochvil at redhat dot com,
                   |                            |jason at gcc dot gnu.org,
                   |                            |mark at gcc dot gnu.org,
                   |                            |paolo at gcc dot gnu.org

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think this changed with r192246.  And the question is what we want for the
debugging experience.  Not emitting location info for the expressions expanded
from the default arguments is strange, and it is something that is evaluated on
the caller side, not on the callee side.


More information about the Gcc-bugs mailing list