[CCing gcc@gcc.gnu.org]
Waldek Hebisch writes:
I am trying to make gpc work with gpc 3.1.1. Currently gpc1 compiles and links (I omitted gcpp, runtime and the 'gpc' driver). About 80% of testsuite works, but the remaining bugs still make compiler unuseable: -- gcp1 crashes trying to use gpc unit -- sometimes arrays and records are mislayed -- record layout functions complain about function declarations in objects. Of course, a bunch of minor bugs also shows up.
I have a few questions about getting my work into mainline: -- is there anybody working on the same thing (the disscusion few months ago suggested that nobody)? -- should I try to resolve remaning bugs before I submit a patch?
the question is where you want to submit a patch. assuming you want to integrate gpc with the current (development) gcc, you should work with the current gcc CVS HEAD branch. IIRC the gcc branch will open again after the gcc-3.3 branch point (October/November 2002). Then you have a window of about four month to submit major additions.
Working with the gcc-3.1.1 sources, your work probably won't be accepted by the gcc upstream developers, although it might be easier then to port it to 3.3 or 3.4. [Working with 3.2 instead of 3.1.1 seems to be better, because it's the latest released version]
Either way, maybe you want to ask for a gpc_branch in the gcc CVS, so that your work gets a broader audience.
Matthias
gpc supposed to compile with other C compilers or only with gcc? More specific questions will follow (I spent last week offline).
-- Waldek Hebisch hebisch@math.uni.wroc.pl or hebisch@hera.math.uni.wroc.pl