]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR middle-end/70245 (Miscompilation of ICU on i386 with atom tuning starting with...
authorJakub Jelinek <jakub@redhat.com>
Wed, 16 Mar 2016 17:52:20 +0000 (18:52 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 16 Mar 2016 17:52:20 +0000 (18:52 +0100)
commitc73d295c48fd246c2fd85827ab798e894f600033
tree0708e09e5edd3bef4be596c6056156cb9c994023
parentb2794066f3691f020a0fa096c4bab76fe94d7957
re PR middle-end/70245 (Miscompilation of ICU on i386 with atom tuning starting with r227382)

PR target/70245
* rtlanal.c (replace_rtx): For REG, if from is a REG,
return to even if only REGNO is equal, and assert
mode is the same.

* g++.dg/opt/pr70245.C: New test.
* g++.dg/opt/pr70245.h: New file.
* g++.dg/opt/pr70245-aux.cc: New file.

Co-Authored-By: Richard Biener <rguenther@suse.de>
From-SVN: r234265
gcc/ChangeLog
gcc/rtlanal.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr70245-aux.cc [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/pr70245.C [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/pr70245.h [new file with mode: 0644]