This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Do not use TYPE_CANONICAL in useless_type_conversion
- From: Bernd Edlinger <bernd dot edlinger at hotmail dot de>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, Richard Biener <rguenther at suse dot de>
- Date: Fri, 2 Oct 2015 13:30:35 +0200
- Subject: Re: Do not use TYPE_CANONICAL in useless_type_conversion
- Authentication-results: sourceware.org; auth=none
Hi,
actually I do not quite understand why we need a TYPE_ALIGN_OK flag that is only used in Ada.
Somehow other languages seem to have no problem of that kind.
You remember, when I removed the TYPE_ALIGN_OK handing (initially it wasn't clear to me that
it's entire use is only to make Ada happy), all Ada tests continued to pass, even on ARM.
BTW: You promised me last year to give me an example where that makes a difference.
Thanks,
Bernd.