This is the mail archive of the gcc-patches@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]

Re: C & C++ PATCH: merge some common type functions into c-common.c


Jeffrey A Law writes:
 >   > For gcc:
 >   > 	* c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
 >   > 	Merged from c-typeck.c and cp/typeck.c.
 >   > 	* c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
 >   > 	Merged into c-common.
 >   > 
 >   > For gcc/cp:
 >   > 	* typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
 >   > 	Merged into c-common.
 > I believe you need to update the chill compiler too.  It uses c-common, but
 > also defines its own copies of those routines.

The chill compiler does not use c-common.c.  The dependancies in 
the gcc/ level makefile imply that it does, but it doesn't.  Perhaps
someone who knows more about chill should look into that.

Chill's typeck.c does have copies of these functions, and without
knowing much about chill, it seems chill's versions should be merged
with the now common C and C++ versions, but we'll need a file common
to chill, c++, c, and obj-c.

                                        -gavin...



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