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

2016-12-02 Thread Matthias Klose
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

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

2016-12-02 Thread Thorsten Glaser
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

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

2016-12-01 Thread Thorsten Glaser
On Thu, 1 Dec 2016, Thorsten Glaser wrote: > OK. I’ve got it cut down, both regular and preprocessed > versions are attached. Attaching the .s output of the stripped-down version, both unmodified and with the printf command changed. The diff between them is not trivial, though. bye, //mirabilos

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

2016-12-01 Thread Matthias Klose
On 01.12.2016 22:38, Thorsten Glaser wrote: > On Thu, 1 Dec 2016, Thorsten Glaser wrote: > >> On Thu, 1 Dec 2016, Matthias Klose wrote: >> >>> - please could you reduce the test case to just run the failing test? >> >> I’ll try… > > OK. I’ve got it cut down, both regular and preprocessed >

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

2016-12-01 Thread Thorsten Glaser
tags 846214 - moreinfo thanks On Thu, 1 Dec 2016, Matthias Klose wrote: > - please could you reduce the test case to just run the failing test? I’ll try… > - please add the preprocessed source Attached from the following command: gcc -DHAVE_CONFIG_H -I. -include ./config.h -I./protobuf-c

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

2016-12-01 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > tags 846214 - moreinfo Bug #846214 [gcc-6] gcc-6: wrong code generation in protobuf-c testsuite, adding printf works around Removed tag(s) moreinfo. > thanks Stopping processing here. Please contact me if you need assistance. -- 846214:

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

2016-12-01 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + moreinfo Bug #846214 [gcc-6] gcc-6: wrong code generation in protobuf-c testsuite, adding printf works around Added tag(s) moreinfo. -- 846214: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846214 Debian Bug Tracking System Contact

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

2016-12-01 Thread Matthias Klose
Control: tags -1 + moreinfo On 29.11.2016 11:26, Thorsten Glaser wrote: > Package: gcc-6 > Version: 6.2.1-5 > Severity: important > > The protobuf-c testsuite fails. More specifically, the attached > test-generated-code2.c file fails with the following output: > Suddenly, the testsuite passes,

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

2016-11-29 Thread Thorsten Glaser
Package: gcc-6 Version: 6.2.1-5 Severity: important The protobuf-c testsuite fails. More specifically, the attached test-generated-code2.c file fails with the following output: -begin output of unmodified code- (pbuild3910)root@tglase:/tmp/buildd/protobuf-c-1.2.1 # make