This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Gimplilfy ICE in gnat.dg/array18.adb
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: BELBACHIR Selim <selim dot belbachir at fr dot thalesgroup dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 06 Jun 2014 10:20:09 +0200
- Subject: Re: Gimplilfy ICE in gnat.dg/array18.adb
- Authentication-results: sourceware.org; auth=none
- References: <31560_1401966257_53904EB0_31560_3896_1_9C88BF562A27AA41B242B2780441926E212BC5C066 at THSONEA01CMS05P dot one dot grp> <2481416 dot miaf1UtpPu at polaris> <9368_1402042411_5391782B_9368_7183_1_9C88BF562A27AA41B242B2780441926E212BCF8D94 at THSONEA01CMS05P dot one dot grp>
> strangely my var_decl for 'a' is a record and not an array_type so the 'if'
> condition is false (and true on X86_64).... I looked for somewhere in my
> backend something that would transform an array_type into a record_type but
> I did not find anything.
The comment should clearly state the intent of the change though and how to
adjust it to your needs.
--
Eric Botcazou