[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/44102: Internal compiler error on trivial source
On Wed, Nov 17, 2010 at 10:44 AM, Paul Koning <paul_koning%dell.com@localhost>
> On Nov 17, 2010, at 12:30 AM, David Holland wrote:
>> The following reply was made to PR toolchain/44102; it has been noted by
>> From: David Holland <dholland-bugs%netbsd.org@localhost>
>> To: gnats-bugs%NetBSD.org@localhost
>> Subject: Re: toolchain/44102: Internal compiler error on trivial source
>> Date: Wed, 17 Nov 2010 05:29:11 +0000
>> On Wed, Nov 17, 2010 at 05:20:01AM +0000, lacombar%gmail.com@localhost wrote:
>>> static inline void __attribute__((noreturn))
>> Yes, so it shouldn't crash, but this is not valid code and there is
>> almost certainly no way to trigger the problem with valid code.
>> Probably not even all that hard to find by inspecting the gcc source...
> I'm not sure about not that hard...
> Some testing shows the following:
> gcc 4.2.1 (on Mac OS) also has the issue
> gcc 4.5.0 (for MIPS/NetBSD) is ok
> gcc 4.6.0 (current trunk pre-release) is ok
> "ok" means it produces a warning "'noreturn' function does return".
it looks like:
But I'm not sure the fix will not have GPLv3 issue.
> So one solution to this PR would be to update the toolchain to 4.5.1 (the
> latest released gcc).
this will clearly have a GPLv3 issue :) Which I kinda remind a lot
people are not fond of.
Main Index |
Thread Index |