Commit fc4f394b by Jakub Jelinek Committed by Jakub Jelinek

re PR tree-optimization/59413 (wrong code at -Os on x86_64-linux-gnu in both…

re PR tree-optimization/59413 (wrong code at -Os on x86_64-linux-gnu in both 32-bit and 64-bit modes)

	PR tree-optimization/59413
	* gcc.c-torture/execute/pr59413.c: New test.

From-SVN: r206147
parent 5502f40b
2013-12-20 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/59413
* gcc.c-torture/execute/pr59413.c: New test.
* c-c++-common/ubsan/load-bool-enum.c: New test.
2013-12-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
......
/* PR tree-optimization/59413 */
typedef unsigned int uint32_t;
uint32_t a;
int b;
int
main ()
{
uint32_t c;
for (a = 7; a <= 1; a++)
{
char d = a;
c = d;
b = a == c;
}
if (a != 7)
__builtin_abort ();
return 0;
}
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