Frank Heckenbach wrote:
Matthias Klose wrote:
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.
I think it's better to first get GPC working and stable with any gcc-3 version, and then think about integration.
The changes between gcc-2 and gcc-3 are probably bigger than between the different gcc-3 versions.
I just checked my changes against gcc-3.2. The diff applied without problems (one chunk was at different offset), tests go the same as with 3.1.1. Anyway, the diff to main gcc is less then 14kb, so it should be easy to merge -- the problem is rather that some parts of the diff are very Pascal specific. Moreover about 10kb of diff goes stright from diff to 2.95.3.
So the real problem is how much the interface between front-end and the back-end changes -- there are significant differences between 3.0 and 3.1. However since the interface is now much cleaner I hope that it will change slower and the impact on core GPC will be limited.
So I fully agree with Frank.