Commit 2135ed0e by Oleg Endo

re PR target/57108 ([4.7/4.8/4.9] SH internal compiler error: in…

re PR target/57108 ([4.7/4.8/4.9] SH internal compiler error: in int_mode_for_mode, at stor-layout.c:395)

	PR target/57108
	* gcc.target/sh/pr57108.c: Move this test case to ...
	* gcc.c-torture/compile/pr57108.c: ... here.

From-SVN: r198803
parent efe82120
2013-05-12 Oleg Endo <olegendo@gcc.gnu.org>
PR target/57108
* gcc.target/sh/pr57108.c: Move this test case to ...
* gcc.c-torture/compile/pr57108.c: ... here.
2013-05-10 Richard Biener <rguenther@suse.de>
PR tree-optimization/57214
......
/* { dg-do compile { target "sh*-*-*" } } */
/* { dg-options "-O1" } */
/* PR target/57108 */
void __assert_func (void) __attribute__ ((__noreturn__)) ;
void __assert_func (void) __attribute__ ((__noreturn__));
void ATATransfer (int num, int buffer)
void
ATATransfer (int num, int buffer)
{
int wordCount;
int wordCount;
while (num > 0)
{
wordCount = num * 512 / sizeof (int);
while (num > 0)
{
wordCount = num * 512 / sizeof (int);
((0 == (buffer & 63)) ? (void)0 : __assert_func () );
((0 == (wordCount & 31)) ? (void)0 : __assert_func ());
}
}
((0 == (buffer & 63)) ? (void)0 : __assert_func () );
((0 == (wordCount & 31)) ? (void)0 : __assert_func ());
}
}
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