Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 2014 20:00:51 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Andrey Chernov <ache@freebsd.org>
Cc:        toolchain@freebsd.org
Subject:   Re: clang makes segfaulting code with -march=core2 on i386
Message-ID:  <59D2D3D8-CE24-4785-8E39-6A07AE1B266D@FreeBSD.org>
In-Reply-To: <E5DBCCF7-87C3-4CC4-9790-88D1C44698FF@FreeBSD.org>
References:  <54130AD0.8090103@freebsd.org> <A212D7AF-4DA7-4043-BB73-1746A5C2F42F@FreeBSD.org> <54133E1E.9030105@freebsd.org> <54135B24.5040905@freebsd.org> <54135D0B.7060701@freebsd.org> <6FDF432B-8245-4BC7-952B-DFFEEA106D6F@FreeBSD.org> <5414865A.6030101@freebsd.org> <CC121A4D-A6D0-430B-B15F-BFB48C5FB6E6@FreeBSD.org> <54149286.80608@freebsd.org> <E5DBCCF7-87C3-4CC4-9790-88D1C44698FF@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_7A3CA41C-290C-40CC-B023-7C84A7B0DB39
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=koi8-r

On 14 Sep 2014, at 19:27, Dimitry Andric <dim@FreeBSD.org> wrote:
...
> In any case, I have now narrowed it down to gcc/tree.c, which is not a
> very small file, and which is changed very often upstream, sometimes
> almost daily.
> 
> So I will see if I can reproduce it with gcc trunk first, and if that
> turns out to be good, I will bisect to find the commit that fixes it.
> 
> If trunk is also not good, the rabbit hole goes a bit deeper...

And deeper it goes: gcc trunk does not crash, *unless* I change the file
gcc/DEV-PHASE to contain the string "prerelease" instead of the default
"experimental".  Then gcc trunk crashes in an identical fashion to the
gcc 4.8 branch, or gcc 4.8.2 release!

Anybody have an idea what kind of magic in gcc is changed, when this
DEV-PHASE file is altered?  Some debug code or internal assertion
checking might be turned on or off?

-Dimitry


--Apple-Mail=_7A3CA41C-290C-40CC-B023-7C84A7B0DB39
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlQXKVwACgkQsF6jCi4glqOxUgCghdgMZC0c6fHVR7z6udw79FL1
1B0AniS4Q0zkZubKN44Vtvzgw0G/R23Q
=hDrm
-----END PGP SIGNATURE-----

--Apple-Mail=_7A3CA41C-290C-40CC-B023-7C84A7B0DB39--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59D2D3D8-CE24-4785-8E39-6A07AE1B266D>