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: Jan Hubicka <hubicka at ucw dot cz>
- To: Dominique d'HumiÃres <dominiq at lps dot ens dot fr>
- Cc: hubicka at ucw dot cz, rguenther at suse dot de, 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:10:43 +0200
- 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>
> 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?
/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