Stefan Reinauer stepan@coresystems.de writes:
On 3/15/10 10:59 AM, Patrick Georgi wrote:
Am 15.03.2010 03:32, schrieb Keith Hui: > Hi all, > > I regret to report that the romcc patch circulated earlier to fix the > segfault I reported, is now causing another segfault. This also seems to > be triggered by something in the 440BX code, as it didn't segfault when > I compile for any mainboards that isn't 440BX. As of now I don't know > what this new segfault is. I'll report back with more findings. It seems the problem was that copy_triple() isn't supposed to be used on flattened (and simple) nodes. I built a simple test case that failed: void main(void) { int c = 0; c |= 4; } With the attached patch, this testcase, your testcase, and a full abuild run work. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
I can't really verify if this is the correct thing to do, but since it fixes abuild...
Acked-by: Stefan Reinauer stepan@coresystems.de
To be clear. change 5210 was just plain bad and needs to be completely not just partially reverted.
Eric