This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/13010] [gfortran] seg fault on valid code


------- Additional Comments From pbrook at gcc dot gnu dot org  2003-12-01 09:37 -------
Ananlysis of problem: 
This is beacuse we're creating the RECORD_TYPE for x_t before we process 
listptr_t. In general this is unavoidable because a type may contain circular 
pointers. 
The problems occur when we try to create an array pointer type. For this we 
want to know the size of each element so that we can create the descriptor 
type. 
Solution is to use incomplete pointer types in the descriptor, then complete 
these once the required record types have been layed out. 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13010


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]