Bug#678122: output difference?
On 22.06.2012 03:58, James McCoy wrote:
> On Thu, Jun 21, 2012 at 07:54:35AM -0400, James McCoy wrote:
>> On Thu, Jun 21, 2012 at 07:59:06AM +0200, Philipp Marek wrote:
>>> Just out of curiosity, could you show the disassembler output of the
>>> OutputWrite() function for gcc-4.6, and gcc-4.7 with -O1 and -O2?
>>>
>>> # objdump -Sgd <name-of-obj-file>
>>>
>>> and pasting only this function might be a good way.
>>
>> Sure, attached files for those combinations.
>
> Another potentially useful data point is that adding -fstack-protector
> causes -O1 to no longer work. I noticed this while trying to prepare an
> upload of Vim which works around the optimization problem. With
> -fstack-protector, I have to drop down to -O0 to get the code to work.
Kees, Moritz, please could you have a look?
Reply to: