This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Fix gas crash (when compiled with clang)


On 03 Dec 2013, at 17:22, H.J. Lu <hjl.tools@gmail.com> wrote:

> On Tue, Dec 3, 2013 at 8:11 AM, Tristan Gingold <gingold@adacore.com> wrote:
>> Hi,
>> 
>> when compiled with clang (llvm 3.3), gas crashes on the intelbad test.
>> I suppose this is due to use of overflow on pointer arithmetic.
>> 
>> Fixed by the following patch, no gas regression for x86_64-pc-mingw32.
>> 
>> Ok for trunk ?
>> 
>> Tristan.
>> 
>> gas/
>> 2013-12-03  Tristan Gingold  <gingold@adacore.com>
>> 
>>        * config/tc-i386-intel.c (i386_intel_simplify): Avoid arithmetic
>>        overflow on pointers.

[..]

> OK.  Thanks.

Very quick!

Just committed.

Thanks, Tristan.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]