Re: Where can I find "sizeof" implementation in front end

2007-06-19 Thread Paolo Bonzini
[EMAIL PROTECTED] wrote: > Hello all: > > I am reading codes of gcc front end. But I can not find the implementation > of "sizeof". How does gcc front end calculate size of UNION and STRUCT? > Where is the codes for these work. Can anybody give me some advices? Thank > you so much ! The code is h

RE: Where can I find "sizeof" implementation in front end

2007-06-19 Thread Dave Korn
On 19 June 2007 16:35, bjzheng wrote: > Hello all: > > I am reading codes of gcc front end. But I can not find the implementation > of "sizeof". How does gcc front end calculate size of UNION and STRUCT? > Where is the codes for these work. Can anybody give me some advices? Thank > you so much !

Where can I find "sizeof" implementation in front end

2007-06-19 Thread bjzheng
Hello all: I am reading codes of gcc front end. But I can not find the implementation of "sizeof". How does gcc front end calculate size of UNION and STRUCT? Where is the codes for these work. Can anybody give me some advices? Thank you so much !