[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pcc-list
Subject:    Re: ccom coredump
From:       Anders Magnusson <ragge () ludd ! ltu ! se>
Date:       2010-04-06 6:58:18
Message-ID: 4BBADB8A.7090204 () ludd ! ltu ! se
[Download RAW message or body]

Morning,

 >
 > I found that ccom would coredump when compiling some programs in NetBSD
 > base (eg sbin/ldconfig). Stripping it down to the basics, I get to the
 > following
 >
 >   int foo(int) __attribute__ ((__const__));
 >
 >   void bar(int i)
 >   {
 >       foo(i) >> 10;
 >   }
 >
I now fixed so that optim walks down to find the correct element size.
Thanks for reporting this bug!

-- Ragge
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic