Commit b88e26b0 by Michael Matz Committed by Michael Matz

re PR rtl-optimization/33653 (volatile memory access optimized away)

        PR rtl-optimization/33653
        * gcc.dg/pr33653.c: New.

From-SVN: r129007
parent 0a64eeca
2007-10-04 Michael Matz <matz@suse.de>
PR rtl-optimization/33653
* gcc.dg/pr33653.c: New.
2007-10-04 Richard Guenther <rguenther@suse.de> 2007-10-04 Richard Guenther <rguenther@suse.de>
PR tree-optimization/33627 PR tree-optimization/33627
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-rtl-shorten" } */
void f (volatile char *p)
{
char c = p[0];
}
/* { dg-final { scan-rtl-dump "mem/v" "shorten" } } */
/* { dg-final { cleanup-rtl-dump "shorten" } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment