Due to a bug in version 17.0 of the Intel® Quartus® Prime software the -g0 option argument does not correctly get passed when the aoc.pl script is executed.
Intel Software: Intel FPGA SDK for OpenCL
Version Found: v17.0
Version Fixed: v17.1
Bug ID: FB: 492759;
This problem has been fixed starting in version 17.1 of the Intel® FPGA SDK for OpenCL™.