r236587 - in /branches/gcc-6-branch: gcc/Change...

jamborm@gcc.gnu.org jamborm@gcc.gnu.org
Mon May 23 11:54:00 GMT 2016


Author: jamborm
Date: Mon May 23 11:54:52 2016
New Revision: 236587

URL: https://gcc.gnu.org/viewcvs?rev=236587&root=gcc&view=rev
Log:
[hsa] Avoid segfault in hsa switch expansion

2016-05-23  Martin Jambor  <mjambor@suse.cz>

	* hsa-gen.c (gen_hsa_insns_for_switch_stmt): Create an empty
	default block if a PHI node in the original one would be resized.

libgomp/
	* testsuite/libgomp.hsa.c/switch-sbr-2.c: New test.


Added:
    branches/gcc-6-branch/libgomp/testsuite/libgomp.hsa.c/switch-sbr-2.c
Modified:
    branches/gcc-6-branch/gcc/ChangeLog
    branches/gcc-6-branch/gcc/hsa-gen.c
    branches/gcc-6-branch/libgomp/ChangeLog



More information about the Gcc-cvs mailing list