[Bug 215851] gcc 12.0.1 LATEST: -Wdangling-pointer= triggers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=215851

Marek Polacek (polacek@xxxxxxxxxx) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |polacek@xxxxxxxxxx

--- Comment #2 from Marek Polacek (polacek@xxxxxxxxxx) ---
I agree that gcc shouldn't warn here.  I just pushed a patch to suppress that
warning:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=d482b20fd346482635a770281a164a09d608b058
and I plan to backport it to gcc 12 as well.  gcc 11 doesn't have
-Wdangling-pointer.
So I think you should be able to re-enable -Wdangling-pointer soon.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux