r225823 - in /branches/gcc-5-branch/gcc: Change...

tschwinge@gcc.gnu.org tschwinge@gcc.gnu.org
Wed Jul 15 11:55:00 GMT 2015


Author: tschwinge
Date: Wed Jul 15 11:55:07 2015
New Revision: 225823

URL: https://gcc.gnu.org/viewcvs?rev=225823&root=gcc&view=rev
Log:
[PR libgomp/65099] nvptx mkoffload: pass "-m32" or "-m64" to the compiler

... depending on "-foffload-abi=[...]".

Coding style/code copied from gcc/config/i386/intelmic-mkoffload.c for
consistency.

Backport trunk r222583:

	gcc/
	* config/nvptx/mkoffload.c (target_ilp32): New variable.
	(main): Set it depending on "-foffload-abi=[...]".
	(compile_native, main): Use it to pass "-m32" or "-m64" to the
	compiler.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/nvptx/mkoffload.c



More information about the Gcc-cvs mailing list