https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780
Jonathan Wakely changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780
--- Comment #14 from Andrew Pinski ---
Can this be closed as fixed for GCC 11?
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
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
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.
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
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
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
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.
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780
Jonathan Wakely changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80780
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
15 matches
Mail list logo