Re: Program that segfaults with-Ofast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/01/2018 13:16, Andrew Haley wrote:
> On 04/01/18 12:13, Christer Solskogen wrote:
>> On 04.01.2018 12:18, David Brown wrote:
>>
>>> Start with
>>>
>>> 	-fsanitize=address
>>> 	-fsanitize=undefined
>>
>> Adding -fsanitize=undefined gets rid of the segfault. Funny.
>> But -fsanitize=address gave a lot of hints.
>> Thanks! I think I have something to go with now!
> 
> When you find it, I'm sure we'll be interested to know what ot was.

Uninitialized pointer / pointer offset?

Christer, can you post the warnings from the sanitizer?

Regards.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux