[PATCH] Fix dwarf2out ICE on zero sized array initializer (PR debug/85252)

2018-04-06 Thread Jakub Jelinek
Hi! As mentioned in the PR, we ICE on the following zero sized array initializers, while domain is non-NULL and TYPE_MIN_VALUE is size_int (0), TYPE_MAX_VALUE is NULL and not INTEGER_CST compare_tree_int assumes it is. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2018-04-

Re: [PATCH] Fix dwarf2out ICE on zero sized array initializer (PR debug/85252)

2018-04-06 Thread Richard Biener
On April 6, 2018 6:10:14 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >As mentioned in the PR, we ICE on the following zero sized array >initializers, while domain is non-NULL and TYPE_MIN_VALUE is size_int >(0), >TYPE_MAX_VALUE is NULL and not INTEGER_CST compare_tree_int assumes it >is. > >Bootstra