[cfe-dev] Endless loop in Sema::CorrectTypo
Yaron Keren via cfe-dev
cfe-dev at lists.llvm.org
Wed Mar 23 01:35:14 PDT 2016
Thanks!
A related assert is failing here:
http://llvm.org/PR27038
Yaron
2016-03-17 21:51 GMT+02:00 Kaelyn Takata <kaelyn.alexi+llvm at gmail.com>:
> +cfe-dev so other folks can see, since I forgot to switch to reply-all
> last time.
>
On Sat, Mar 12, 2016 at 11:43 PM, Kaelyn Takata <kaelyn.alexi+llvm at gmail.com
> wrote:
> Hi Yaron,
>
> I'm actually moving in a week, but I'll try to take a look at PR26811
> soon. Thanks for bringing it to my attention!
>
> Cheers,
> Kaelyn
>
>
> P.S. As you've already discovered, my email address has changed.
>
> On Wed, Mar 2, 2016 at 5:53 AM, Yaron Keren via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> Hi Kaelyn,
>>
>> For some reason, Bugzilla does not accept your e-mail. Please take a
>> look at
>>
>> https://llvm.org/bugs/show_bug.cgi?id=26811
>>
>> Thanks, Yaron
>>
>>
>> 2013-10-02 21:39 GMT+03:00 Kaelyn Uhrain <rikka at google.com>:
>>
>>> Does the problem still exist with clang built at or after r191846?
>>>
>>> I don't have a way to see if that commit fixes the problem, as your
>>> example being so slow to compile seems to not exist with clang+libcxx
>>> under Linux.
>>>
>>> Cheers,
>>> Kaelyn
>>>
>>> On Tue, Oct 1, 2013 at 1:23 PM, Yaron Keren <yaron.keren at gmail.com>
>>> wrote:
>>> > I had rebuilt clang r191323 locally on Visual C++ 2012 / Win 7 x64 and
>>> the
>>> > above code is handled correctly, same as the r191323 binary version
>>> > downloaded from http://llvm.org/builds/ .
>>> >
>>> > So the problem started between r191323 and ToT.
>>> >
>>> > Yaron
>>> >
>>> >
>>> >
>>> >
>>> > 2013/10/1 Yaron Keren <yaron.keren at gmail.com>
>>> >>
>>> >> With the ToT code, clang.exe gets stuck in Sema::CorrectType
>>> endlessly (at
>>> >> least minutes) trying to compile the code:
>>> >>
>>> >> #define _LIBCPP_MSVCRT 1
>>> >> #include <iostream>
>>> >>
>>> >> int main() {
>>> >> zzzzzzzzz
>>> >> std::cout<<"Hello\n";
>>> >> return 0;
>>> >> }
>>> >>
>>> >> where the #includes are from libcxx ToT.
>>> >>
>>> >> clang revision r191323 (the compiled code from the windows alpha
>>> release)
>>> >> does handle the code correctly.
>>> >>
>>> >> Looking at recent changes for Sema::CorrectTypo , r191543 may be
>>> related,
>>> >> however the problem may originate elsewhere.
>>> >>
>>> >> Yaron
>>> >>
>>> >>
>>> >
>>> > _______________________________________________
>>> > cfe-dev mailing list
>>> > cfe-dev at cs.uiuc.edu
>>> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>> >
>>>
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160323/4467c639/attachment.html>
More information about the cfe-dev
mailing list