[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2024-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Richard Biener changed: What|Removed |Added Target Milestone|12.4|12.5 --- Comment #8 from Richard Biene

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2023-05-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Richard Biener changed: What|Removed |Added Target Milestone|12.3|12.4 --- Comment #7 from Richard Biene

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2022-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Richard Biener changed: What|Removed |Added Target Milestone|12.2|12.3 --- Comment #6 from Richard Biene

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2022-05-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Jakub Jelinek changed: What|Removed |Added Target Milestone|12.0|12.2 --- Comment #5 from Jakub Jelinek

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 --- Comment #3 from Martin Sebor --- With the correct explicit instantiation directive things look much better: $ cat pr102378.C && gcc -S -Wall pr102378.C int f () { int a[2]; return &a == 0; // -Waddress (good) } template int g ()

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Andrew Pinski changed: What|Removed |Added Summary|missing -Waddress in|missing -Waddress in