Refactor intelmic-mkoffload.c argv building to use obstacks
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 30 Sep 2015 16:42:22 +0000 (18:42 +0200)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Wed, 30 Sep 2015 16:42:22 +0000 (18:42 +0200)
commit8c30df3ed1eea0610badb56f64f04f174580d899
tree15f7254fc1e550166a3b0dc982056185e5ccaaac
parentfa83660d5698416ab6c66d31d6e23ed614b9895d
Refactor intelmic-mkoffload.c argv building to use obstacks

That is, restore and adapt the code as originally proposed.

gcc/
* config/i386/intelmic-mkoffload.c (generate_host_descr_file)
(prepare_target_image, main): Refactor argv building to use
obstacks.

Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com>
Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com>
From-SVN: r228300
gcc/ChangeLog
gcc/config/i386/intelmic-mkoffload.c