This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/65821] [4.9/5/6 regression] incorrect debug line # info for main
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Feb 2016 13:58:53 +0000
- Subject: [Bug debug/65821] [4.9/5/6 regression] incorrect debug line # info for main
- Auto-submitted: auto-generated
- References: <bug-65821-4 at http dot gcc dot gnu dot org/bugzilla/>
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.