[llvm-commits] Invalid memory access due to debug info which building gcc

Devang Patel dpatel at apple.com
Mon Jan 19 16:59:56 PST 2009


On Jan 19, 2009, at 12:20 PM, Duncan Sands wrote:

> Hi Devang,
>
>> I am investigating similar case. Would it be possible to get a small
>> test case (preprocessed source)?
>
> I got it down to the attached file.  If you compile it like this
>  llvm-gcc -g bad.i
> then you get the bad memory access.  Note that it appears to
> compile successfully - you need to run cc1 under valgrind or
> the equivalent to see the problem.  (The original testcase
> crashed the compiler, but was much bigger).
>
> Good luck,
>

Thanks Duncan.

Pl. try and see if rev. 62555 helps or not. If not then  please let me  
know.
Thanks,

-
Devang






More information about the llvm-commits mailing list