On 20/03/17 14:53, Andreas Schwab wrote:
> On Nov 07 2016, "Richard Earnshaw (lists)" <richard.earns...@arm.com> wrote:
> 
>> This patch contains an implementation of search_line_fast for the CPP
>> lexer.  It's based in part on the AArch32 (ARM) code but incorporates
>> new instructions available in AArch64 (reduction add operations) plus
>> some tricks for reducing the realignment overheads.
> 
> I'm getting erroneous behaviour when building the compiler in ILP32
> mode.
> 
> build/genmatch --gimple ../../gcc/match.pd \
>     > tmp-gimple-match.c
> /home/abuild/rpmbuild/BUILD/gcc-7.0.1-r246083/obj-aarch64-suse-linux/gcc/cfn-operators.pd:91:5
>  error: expected (, got NAME
> (define_operator_list EXPM1
>     ^
> 
> Some part of the code appears to depend on LP64.  When I insert three
> newlines before this line then the parser goes on further, but reports a
> similar error later on.
> 
> Andreas.
> 

Please file a PR.

I don't have access to an ILP32 run-time environment, so I'm not sure
how I'll be able to check this out.  There are some pointer checks in
the code so it's possible something is going awry.  Can you compare the
assembly output for ILP32 and LP64 to see if there's anything obvious?


R.

Reply via email to