Commit c19678d2 by Jakub Jelinek Committed by Jakub Jelinek

re PR rtl-optimization/56992 (building Wine with -Og causes GCC to seg fault)

	PR rtl-optimization/56992
	* gcc.dg/pr56992.c: New test.

From-SVN: r198046
parent e564d889
2013-04-18 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/56992
* gcc.dg/pr56992.c: New test.
2013-04-17 Janus Weil <janus@gcc.gnu.org>
PR fortran/56814
......
/* PR rtl-optimization/56992 */
/* { dg-do compile } */
/* { dg-options "-Og -g" } */
inline int
foo (const char *x)
{
return __builtin_strlen (x);
}
int
bar (const char *x, unsigned int *y)
{
unsigned int l = foo (x);
if (l > 15)
l = 15;
*y = l;
}
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