This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix PR 17279, adding __int128_t when we don't support TI mode


I decided to look into this PR but the testcase in there was fixed.  The
testcase did a typedef with attribute((mode(TI))) which we rejected but
I also noticed that we added the type __int128_t even though we did
not support TI mode for some targets.

This patch just asks the back-end if we support TImode before adding
the types.

OK? Bootstrapped and tested on powerpc-darwin with no regressions.

Thanks,
Andrew Pinski

ChangeLog:
	* c-common.c (c_common_nodes_and_builtins): Ask the back-end if we
	support TImode before adding __int128_t and __uint128_t types.



Attachment: fixPR17279.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]