This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix more of C/fortran canonical type issues
- From: Richard Biener <rguenther at suse dot de>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Dominique d'Humières <dominiq at lps dot ens dot fr>, Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 12 Oct 2015 09:41:12 +0200 (CEST)
- Subject: Re: Fix more of C/fortran canonical type issues
- Authentication-results: sourceware.org; auth=none
- References: <BDE74111-F122-4E7D-8B87-00965F66041E at lps dot ens dot fr> <20151012071042 dot GD70214 at kam dot mff dot cuni dot cz>
On Mon, 12 Oct 2015, Jan Hubicka wrote:
> > Honza,
> > > this is a variant of patch I commited (adding the suggested predicate)
> >
> > This caused https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67923
>
> Hmm, strange, I do not seem to be able to reproduce this locally. Is it x86?
Can't reproduce it either.
Richard.
> /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr56015.f90:12:0: error: type mismatch in pointer plus expression
> subroutine foo (p)
> ^
> complex double[10] *
>
> complex double[10] * restrict
>
> long int
>
> _85 = p_5(D) + 32;
>
> I suppose the complaint is about "long int". Did you possibly revert the change
> to skip TYPE_CANONICAL testing in useless_type_conversion? That would declare
> "long int" to be the same as "unsigned long int"
>
> Honza