This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 10776 II


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]