This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r228659 - in /branches/hsa/gcc: ChangeLog.hsa h...
- From: marxin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 09 Oct 2015 15:01:16 -0000
- Subject: r228659 - in /branches/hsa/gcc: ChangeLog.hsa h...
Author: marxin
Date: Fri Oct 9 15:01:16 2015
New Revision: 228659
URL: https://gcc.gnu.org/viewcvs?rev=228659&root=gcc&view=rev
Log:
HSA: fix usage of uninitialized variable in
* hsa-gen.c (hsa_function_representation::hsa_function_representation):
Change arguments of the constructor.
(hsa_init_data_for_cfun): Remove creation of hsa_cfun from
this function.
(generate_hsa): Move it here.
* hsa.h (hsa_function_representation::hsa_function_representation):
Declare.
Modified:
branches/hsa/gcc/ChangeLog.hsa
branches/hsa/gcc/hsa-gen.c
branches/hsa/gcc/hsa.h