]> Savannah Git Hosting - gnulib.git/commit
malloca: pacify -Wcheri-provenance
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Nov 2023 18:54:58 +0000 (10:54 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Nov 2023 18:54:58 +0000 (10:54 -0800)
commitceda36436fe966377eba3d48acc26ebd00154549
treefb780fbf48f33599f47396a66f8df8eb0010bbf0
parenta1d57563973d04fb560e183c696595de16df0cb7
malloca: pacify -Wcheri-provenance

This shouldn’t affect generated code when optimizing.
* lib/malloca.c (mmalloca): Pacify -Wcheri-provenance on CHERI-64 cc.
(freea): Assign to temporaries to simplify debugging and avoid casts.
ChangeLog
lib/malloca.c