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

Bug#846214: gcc-6: wrong code generation in protobuf-c testsuite, adding printf works around



On 02.12.2016 10:36, Thorsten Glaser wrote:
> On Thu, 1 Dec 2016, Matthias Klose wrote:
> 
>> cool, thanks! bonus questions:
>>
>>  - does the test pass with -O1, if yes can you identify
>>    the -O2 -fno-* flag?
>>  - do the above with -O0
> 
> I’ll have to try, but I’m a bit out of time for the next
> two to three days.
> 
>>  - do you get warnings when you run the test with
>>    the address and undefined sanitizers?
> 
> How do I do that?

-fsanitize=address
-fsanitize=undefined


Reply to: