MaskRay added a comment. The inconsistency stem from the fact that with the default `.text`, the compiler may generate `.text.$suffix` if `-ffunction-sections` is specified or if a COMDAT is needed. While with an explicit section, there is no such suffix appending mechanism used together with `-ffunction-sections`.
Therefore, there is is a missing feature and perhaps GCC wants to add it as well, but just changing the semantics silently may upset some users. 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