Commit 6f21ff3e by Jakub Jelinek Committed by Jakub Jelinek

re PR rtl-optimization/36998 (Ada bootstrap broken on i586-*-*)

	PR rtl-optimization/36998
	* dwarf2out.c (compute_barrier_args_size_1,
	compute_barrier_args_size): Temporarily remove assertions.

	* gcc.dg/pr36998.c: New test.

From-SVN: r138951
parent b193cb6b
2008-08-11 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/36998
* dwarf2out.c (compute_barrier_args_size_1,
compute_barrier_args_size): Temporarily remove assertions.
2008-08-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org> 2008-08-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR middle-end/20644 PR middle-end/20644
......
...@@ -1281,9 +1281,6 @@ compute_barrier_args_size_1 (rtx insn, HOST_WIDE_INT cur_args_size, ...@@ -1281,9 +1281,6 @@ compute_barrier_args_size_1 (rtx insn, HOST_WIDE_INT cur_args_size,
barrier_args_size [INSN_UID (dest)] = cur_args_size; barrier_args_size [INSN_UID (dest)] = cur_args_size;
VEC_safe_push (rtx, heap, *next, dest); VEC_safe_push (rtx, heap, *next, dest);
} }
else
gcc_assert (barrier_args_size[INSN_UID (dest)]
== cur_args_size);
} }
} }
...@@ -1341,8 +1338,6 @@ compute_barrier_args_size (void) ...@@ -1341,8 +1338,6 @@ compute_barrier_args_size (void)
{ {
/* The insns starting with this label have been /* The insns starting with this label have been
already scanned or are in the worklist. */ already scanned or are in the worklist. */
gcc_assert (barrier_args_size[INSN_UID (insn)]
== cur_args_size);
break; break;
} }
} }
......
2008-08-11 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/36998
* gcc.dg/pr36998.c: New test.
2008-08-11 Andreas Krebbel <krebbel1@de.ibm.com> 2008-08-11 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.target/s390/20080806-1.c: Move testcase ... * gcc.target/s390/20080806-1.c: Move testcase ...
......
/* PR rtl-optimization/36998 */
/* { dg-do compile } */
/* { dg-options "-Os -fasynchronous-unwind-tables" } */
/* { dg-options "-Os -mpreferred-stack-boundary=2 -fasynchronous-unwind-tables" { target { { i?86-*-* x86_64-*-* } && ilp32 } } } */
void foo (const char *, ...) __attribute__ ((noreturn));
int bar (const char *, ...);
extern __SIZE_TYPE__ strlen (const char *);
int baz (char *, char *, int, void *);
void
test (char *w, int x, char *y, char *z)
{
char *p, b[32];
for (p = y; *p; p += strlen (p) + 1)
{
baz (w, p, x, z);
foo ("msg1 %s", b);
}
for (p = y; *p; p += strlen (p) + 1)
bar (" %s", p);
foo ("msg2 %s", b);
}
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