[Bug c++/80780] Front-end support needed for experimental::source_location

2022-01-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/80780] Front-end support needed for experimental::source_location

2022-01-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #14 from Andrew Pinski --- Can this be closed as fixed for GCC 11?

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-12-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #13 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:9715663f7db7ac57121c9a60dd0078787e274f66 commit r11-5736-g9715663f7db7ac57121c9a60dd0078787e274f66 Author: Jakub Jelinek Date: F

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-12-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #12 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ba3d8dffcc1c23b30370ab24fc20d09cff005d7b commit r11-5685-gba3d8dffcc1c23b30370ab24fc20d09cff005d7b Author: Jakub Jelinek Date: T

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #11 from Jakub Jelinek --- Created attachment 49654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49654&action=edit gcc11-pr80780.patch Full untested patch.

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #10 from Jonathan Wakely --- The values of __builtin_LINE and __builtin_FUNCTION do the right thing for NSDMIs, but I don't know what they do to make that work. (In reply to Jakub Jelinek from comment #9) > If there is a user define

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #9 from Jakub Jelinek --- Created attachment 49653 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49653&action=edit gcc11-pr80780-wip.patch For the default argument, my current ugly hack is attached. But guess it needs to be do

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #8 from Jonathan Wakely --- The default argument case is: source_location f(source_location a = source_location::current()) { return a; } int main() { auto loc = f(); // f's first argument corresponds to this line of code VERI

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #7 from Jonathan Wakely --- Oh great, thanks :-) I might push my implementation of std::source_location, with some tests commented out for now.

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #6 from Jakub Jelinek --- I'm aware of https://github.com/cplusplus/draft/pull/3749/commits/ade9b1552eed5b1b0b3fc2808e6575ee6b526301 and am working on that today incidentally.

[Bug c++/80780] Front-end support needed for experimental::source_location

2020-11-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 Jonathan Wakely changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #

[Bug c++/80780] Front-end support needed for experimental::source_location

2017-05-18 Thread lbjonnes at cisco dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #4 from lbjonnes at cisco dot com --- "redi at gcc dot gnu.org" writes: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 > | Bug ID: 80780 |Summary: Front-end support needed for | exper

[Bug c++/80780] Front-end support needed for experimental::source_location

2017-05-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 --- Comment #3 from Jonathan Wakely --- (In reply to Martin Sebor from comment #2) > When I made the built-ins constexpr in bug 66561 I thought (assumed) the > intent was for the source_location default ctor and current() member to make N.B. my

[Bug c++/80780] Front-end support needed for experimental::source_location

2017-05-16 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org See A

[Bug c++/80780] Front-end support needed for experimental::source_location

2017-05-16 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|