https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #9 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #8)
> Giving a -Wdangling-ref warning for f7 and f9 is correct,
s/f7 and f9/f9/
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #8 from Jonathan Wakely ---
Giving a -Wdangling-ref warning for f7 and f9 is correct, but that warning is
just based on simple heuristics in the front end. The -Wunitialized warning
comes from the middle end and correctly detects a r
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #7 from Jonathan Wakely ---
I think that's a completely separate issue.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #6 from Arthur O'Dwyer ---
Thanks, that looks much less noisy! (Assuming godbolt.org has updated already.)
I now see this:
// https://godbolt.org/z/WqT6hs8ed
f3, f7, and f9 now all give -Wuninitialized at -O1 and higher (and
false-
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
Jason Merrill changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #4 from GCC Commits ---
The releases/gcc-14 branch has been updated by Jason Merrill
:
https://gcc.gnu.org/g:47b205b4dcca8be98bff96ea6b6f80682c65a0b1
commit r14-10727-g47b205b4dcca8be98bff96ea6b6f80682c65a0b1
Author: Jason Merrill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
Jason Merrill changed:
What|Removed |Added
Known to work||15.0
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #3 from GCC Commits ---
The trunk branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:8733d5d3873977d6ca82d71b28728650f988e9c8
commit r15-3684-g8733d5d3873977d6ca82d71b28728650f988e9c8
Author: Jason Merrill
Date: Su
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #2 from Marek Polacek ---
I've moved -Wdangling-reference to -Wextra in r15-2703-g5ebfaf2d4994c1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #1 from Andrew Pinski ---
GetKey() is the temporary in all cases.
10 matches
Mail list logo