[PATCH] Make gt_pch_nx unreachable in symbol-summary classes.

Martin Liška mliska@suse.cz
Thu Oct 24 14:39:00 GMT 2019


Hello.

For the symbol/call summary we don't expect that it will be streamed
for PCH purpose. So that, I would like to mark all gt_pch_nx functions
with gcc_unreachable.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin

gcc/ChangeLog:

2019-10-24  Martin Liska  <mliska@suse.cz>

	* symbol-summary.h (gt_pch_nx): Mark all functions
	with gcc_unreachable as we do not expect to be called.
---
 gcc/symbol-summary.h | 43 +++++++++++++++++--------------------------
 1 file changed, 17 insertions(+), 26 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-gt_pch_nx-unreachable-in-symbol-summary-classes.patch
Type: text/x-patch
Size: 2754 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191024/4968f872/attachment.bin>


More information about the Gcc-patches mailing list