]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/38554 (ICE when compiling pamfunc.c in netpbm with -O1 enabled)
authorAdam Nemet <anemet@caviumnetworks.com>
Fri, 16 Jan 2009 18:56:47 +0000 (18:56 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Fri, 16 Jan 2009 18:56:47 +0000 (18:56 +0000)
commitc1cb09ada04abbf0087eafedaab7b3ec32b23659
treed4ea4ae380071612d851ae5d3fd829977e11de0a
parent1ceb2263cf6a4e682709c2a8eb38b348943e99dd
re PR target/38554 (ICE when compiling pamfunc.c in netpbm with -O1 enabled)

PR target/38554
* expmed.c (expand_shift): With SHIFT_COUNT_TRUNCATED, don't lift
the subreg from a lowpart subreg if it is also casting the value.

testsuite/
PR target/38554
* gcc.c-torture/compile/pr38554.c: New test.

From-SVN: r143440
gcc/ChangeLog
gcc/expmed.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr38554.c [new file with mode: 0644]