RE: Gimplilfy ICE in gnat.dg/array18.adb

2014-06-06 Thread BELBACHIR Selim
(TREE_CODE (TREE_TYPE (gnu_target)) == RECORD_TYPE && TREE_CODE (TYPE_SIZE (TREE_TYPE (gnu_target))) == INTEGER_CST) -Message d'origine- De : gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] De la part de Eric Botcazou Envoyé : vendredi 6 juin 2014 10:20 À : BELBACHIR

Re: Gimplilfy ICE in gnat.dg/array18.adb

2014-06-06 Thread Eric Botcazou
> 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 int

RE: Gimplilfy ICE in gnat.dg/array18.adb

2014-06-06 Thread BELBACHIR Selim
context RM size RM min RM max chain > chain > context chain > There are also differenced in the gnu_result_type I cannot explain ... -Message d'origine- De : Eric Botcazou [mailto:ebotca...@adacore.com] Envoyé : vendredi 6 juin 2014 00:00 À : BEL

Re: Gimplilfy ICE in gnat.dg/array18.adb

2014-06-05 Thread Eric Botcazou
> Can someone give me a hint to solve my problem ? I have no idea which part > of my backend could be related to the GENERIC or GIMPLE generation and I'm > very unfamiliar with this part of GCC. Look at the patch installed in conjunction with gnat.dg/array18.adb. -- Eric Botcazou