aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-10-21 14:28:45 -0500
committerPeter Bergner <bergner@linux.ibm.com>2020-10-21 14:29:43 -0500
commit84cc3370d6d5972fe495b2114fb32f7b4a49a98d (patch)
treedb269646b4dedc0aa679f1e33b825e647f7fe9da /gcc/tree-nested.c
parentcaaa218f912ccf932fdb79243ded68bb462bbe63 (diff)
downloadgcc-84cc3370d6d5972fe495b2114fb32f7b4a49a98d.zip
gcc-84cc3370d6d5972fe495b2114fb32f7b4a49a98d.tar.gz
gcc-84cc3370d6d5972fe495b2114fb32f7b4a49a98d.tar.bz2
rs6000: MMA type causes an ICE in ranger pass due to incompatible types
PR97360 shows a problem in how we create our PXI and POI modes that cause an ICE in the ranger pass. The problem seems to be that the extra call to build_distinct_type_copy() also creates new TYPE_{MIN,MAX}_VALUEs that are not compatible/the same as the base type itself. The simple "fix" is to actually remove the unneeded build_distinct_type_copy(), since according to richi, the types returned from make_unsigned_type() are already distinct. gcc/ 2020-10-21 Richard Biener <rguenther@suse.de> PR target/97360 * config/rs6000/rs6000-call.c (rs6000_init_builtins): Remove call to build_distinct_type_copy(). gcc/testsuite/ 2020-10-21 Martin Liska <mliska@suse.cz> PR target/97360 * gcc.target/powerpc/pr97360.c: New test. Co-authored-by: Andrew MacLeod <amacleod@redhat.com> Co-authored-by: Martin Liska <mliska@suse.cz>
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions