<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Workaround for ICE in GCC 4.8 appeared in r196846."
href="https://bugs.webkit.org/show_bug.cgi?id=154535#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Workaround for ICE in GCC 4.8 appeared in r196846."
href="https://bugs.webkit.org/show_bug.cgi?id=154535">bug 154535</a>
from <span class="vcard"><a class="email" href="mailto:cdumez@apple.com" title="Chris Dumez <cdumez@apple.com>"> <span class="fn">Chris Dumez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=154535#c8">comment #8</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=154535#c7">comment #7</a>)
>
> > I don't think we do have a equalIgnoringASCIICase() overload that takes a
> > literal. Therefore, if you pass "off" it likely calls:
> > inline bool equalIgnoringASCIICase(const String& a, const char* b);
> >
> > Which means we don't know the length of b in advance. If we pass a String
> > in, the size of b is known in advance.
>
> I believe it calls
>
> template<unsigned length> bool equalLettersIgnoringASCIICase(const
> StringImpl&, const char (&lowercaseLetters)[length]);</span >
oh, I did indeed miss the one taking a literal:
template<unsigned length> inline bool equalLettersIgnoringASCIICase(const AtomicString& string, const char (&lowercaseLetters)[length]);
That said, it does not explain why the previous code does not work in GCC. It seems perfectly legal to me.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>