mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-21 14:30:59 +08:00
re PR rtl-optimization/55315 (comparing address to constant is folded in cse)
2012-11-19 Tom de Vries <tom@codesourcery.com> PR rtl-optimization/55315 * gcc.target/mips/pr55315.c: New test. From-SVN: r193617
This commit is contained in:
parent
bc2164e876
commit
d826d5c209
@ -1,3 +1,9 @@
|
||||
2012-11-19 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR rtl-optimization/55315
|
||||
|
||||
* gcc.target/mips/pr55315.c: New test.
|
||||
|
||||
2012-11-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR tree-optimization/55236
|
||||
|
11
gcc/testsuite/gcc.target/mips/pr55315.c
Normal file
11
gcc/testsuite/gcc.target/mips/pr55315.c
Normal file
@ -0,0 +1,11 @@
|
||||
/* { dg-do compile } */
|
||||
|
||||
int data[4096];
|
||||
|
||||
int
|
||||
f (void)
|
||||
{
|
||||
return (((unsigned int) &data[0]) == 0xdeadbea0U);
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler-not "\tmove\t\\\$2,\\\$0" } } */
|
Loading…
x
Reference in New Issue
Block a user