middle-end/105165 - sorry instead of ICE for _Complex asm goto
authorRichard Biener <rguenther@suse.de>
Wed, 6 Apr 2022 11:46:56 +0000 (13:46 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 7 Apr 2022 06:17:05 +0000 (08:17 +0200)
commit54ed6563d22694aa3e1935f89641a4f696a3a9f7
tree1dc0175e24fb076842a130ed1524974e860d1711
parent176df4ccb58689aae29511b99d60a448558ede94
middle-end/105165 - sorry instead of ICE for _Complex asm goto

Complex lowering cannot currently deal with asm gotos with _Complex
output operands.  Emit a sorry instead of ICEing, those should not
appear in practice.

2022-04-06  Richard Biener  <rguenther@suse.de>

PR middle-end/105165
* tree-complex.cc (expand_complex_asm): Sorry for asm goto
_Complex outputs.

* gcc.dg/pr105165.c: New testcase.
gcc/testsuite/gcc.dg/pr105165.c [new file with mode: 0644]
gcc/tree-complex.cc