PR 10776 II
Kazu Hirata
kazu@cs.umass.edu
Thu Jan 15 17:42:00 GMT 2004
Hi Honza,
> * sched-deps.c (trye_dependency_cache, anti_dependency_cache,
> outptu_dependency_cache, forward_dependency_cahe): Trun to vectors of
> bitmaps
> (cache_size): New variable
> (add_dependence): Update use; canonize early memory locations
> (sched_analyze_1): Likewise.
> (sched_analyze_2): Likewise.
> (init_dependency_caches): Initialize bitmaps.
> (free_dependency_caches): Free bitmaps
This patch causes an ICE on m32r-elf that is different from what other
people have observed. I got this while building umoddi3 of libgcc.
umoddi3.c: In function `foo':
umoddi3.c:15: internal compiler error: in verify_local_live_at_start, at flow.c:572
Here is the reduced testcase.
/* ./cc1 -O2 umoddi3.c */
void
foo (int n)
{
int w;
int *p = &w;
int m = 1;
if (n < m && n > 0 && n < m)
n = 0;
if (n < m && n > 0 && n < m)
n = 0;
if (p)
*p = n;
}
Kazu Hirata
More information about the Gcc-patches
mailing list