This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch][amdgcn] Silence warnings + add gcc_unreachable()
- From: Andrew Stubbs <ams at codesourcery dot com>
- To: Tobias Burnus <tobias at codesourcery dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 25 Nov 2019 11:21:01 +0000
- Subject: Re: [Patch][amdgcn] Silence warnings + add gcc_unreachable()
- Ironport-sdr: KBzC6TyIae2BlFv9TS1uyngOjMg8jarCGJUgY2qH1uMN8VZ3P+Yt9czlapwHbBS+53r70BE3xW RuJzdjsc49MTNYRYmVPtbrnxzy+WSaU6r4vgZkczUbQCoQsly2GVsmEXhSE8DJ6R8sQkFzfscF nzxSlDxdT0OdFKWpsUVwlNSxHZ4NXSZ2tNYOmKoqRsG+uy+dQnQBEKoDQ3dPvsHCEKjj9V3d1i tTZJmOH3tB3AX+t4jZFz4dcjZcamF5tQFsXZn0tVbZDDjp6q7K6EBGEN4Y2XAfByDE1K5Q7P1X qlc=
- Ironport-sdr: qrE8UKm/LGwH+KhoXecbTPC7+hxC2M07xIMwehb0+JaKsnVJofOLz1ZhMbI3aBzE15X5klQ+IO ESH42i7a9bNXcQznL7BNJuwnMvrEtuizOTi3GaZMKVSF2nl2FobOBmB/+0yAtZjG1mwN9wf12N QqlrkctJ7ViS8qThS6XQhnYkQQ3IzChbxb3VCfvoutip4g/iqVEo7CUg+HpRLV0DAVzRJ92tUi XUBk3fBZ/8YvO0W1eqhQt5oyawQ5ZforXj6Kq7TwrPkUxSX2pconBx70V+zfdbOoZ4P68D5gm4 qsU=
- References: <b3bcfdd5-fff0-0b46-97f4-8fad25a74cc6@codesourcery.com> <73abebf8-9424-8c2a-e37c-7137b0fa6448@codesourcery.com> <d69ca1f2-b81a-d7f2-2c8a-4e75d3be61fe@codesourcery.com>
On 25/11/2019 11:14, Tobias Burnus wrote:
This patch adds "gcc_unreachable ();" as suggested by me (cf. below).
It also silences the -Wunused-variable + 'no return statement' warnings.
OK for the trunk?
OK.
Thanks, Tobias.
Andrew