MaskRay added a comment.

> the programmer is indicating the function has some special purpose, and is 
> not expected to be garbage collected.

There are use cases that GC semantics are desired. They may place the address 
function in a variable.
I don't think changing the behavior by default is fine. Using an option may be 
fine, but it'd be nicer that GCC commits to do this as well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145173/new/

https://reviews.llvm.org/D145173

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to