Closed Bug 430680 Opened 16 years ago Closed 16 years ago

Backport GCC patch to GCC 4.3

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

References

Details

Too many people are getting confused by having to keep up with mainline.

Also should update docs wgeting gcc 4.3 instead of using hg.
One particular issue I've noticed with the current trunk approach is that the patches tend to bitrot against the actual gcc trunk, so people have to checkout trunk from some earlier date. Often said people are new to mercurial and thus have to lookup the documentation and then come up with a good date. All this isn't very convenient. Using a snapshot would certainly help to improve the situation as more people evaluate xhydra for their needs.
The current situation is an artifact of the hg gcc mirror not having svn stable branches on it and me being lazy. 
I'm sorry for the amount of hassle this causes to people :)
Updated patches and http://developer.mozilla.org/en/docs/Dehydra_GCC

Now have to fix the location testcase.
Assignee: nobody → dmandelin
(In reply to comment #3)
> Updated patches and http://developer.mozilla.org/en/docs/Dehydra_GCC
> 
> Now have to fix the location testcase.

Test case is correct, it's actual 4.3 bustage. Problem is that some things that are location_t in the later GCC were 'source_locus' in GCC 4.3, which was a typedef name for 'location_t *'. Example: gimple stmt at tree.h:1844. source_locus is defined at input.h:68. 

When fixed, if you do 'grep locus treehydra_generated.c', every line in the result should call convert_location_t (I think).

I'm gonna bounce it back to you because I figure you want to handle convert_tree.js changes. Just rebounce it if you don't. :-)
Assignee: dmandelin → tglek
pushed, tests pass!
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.