------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-14 22:34 ------- (In reply to comment #10) > Subject: Re: [4.0 Regression] ice / gnat bug detected.
SRA turns: <bb 0>: D.570 = C.8; into D.851_33 = &pr19865__no_argument + 8B; SR.48_32 = (struct pr19865__string_access[(long int) <PLACEHOLDER_EXPR struct pr19865__string_list_access>.P_BOUNDS->LB0:(long int) <PLACEHOLDER_EXPR struct pr19865__string_list_access>.P_BOUNDS->UB0] *) D.851_33; SR.49_10 = &C.56; And adds: static struct pr19865__string_list___XUB C.56 = {.LB0=1, .UB0=0}; Where C.8 was: static struct pr19865__string_list_access C.8 = {.P_ARRAY=(struct pr19865__string_access[(long int) <PLACEHOLDER_EXPR struct pr19865__string_list_access>.P_BOUNDS->LB0:(long int) <PLACEHOLDER_EXPR struct pr19865__string_list_access>.P_BOUNDS->UB0] *) (struct pr19865__string_access[1:0] *) ((void *) &pr19865__no_argument + 8B), .P_BOUNDS=&{.LB0=1, .UB0=0}}; Is that what you want? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19865