This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C PATCH for c/65345 (file-scope _Atomic expansion with floats)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- Cc: gcc-patches at gcc dot gnu dot org, polacek at redhat dot com
- Date: Tue, 06 Oct 2015 10:16:13 +0200
- Subject: Re: C PATCH for c/65345 (file-scope _Atomic expansion with floats)
- Authentication-results: sourceware.org; auth=none
- References: <20151001144941 dot GT6184 at redhat dot com> <20151006 dot 072410 dot 428025977 dot kkojima at rr dot iij4u dot or dot jp>
> The attached patch is to fix ICEs for new pr65345-[45].c tests
> on sh4-unknown-linux-gnu. It's a mechanical change referring
> to the original i386 patch, though I'm not sure the change
> for TARGET_EXPR is really needed for SH targets.
No, it is not if you don't need to make the variable addressable. In any
case, the failure mode is another ICE in make_decl_rtl so easy to spot.
--
Eric Botcazou