You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 7738 Reporter:@rixed Assigned to:@gasche Status: resolved (set by @gasche on 2018-02-21T10:45:02Z) Resolution: fixed Priority: normal Severity: minor Version: 4.06.1 Fixed in version: 4.07.0+dev/beta2/rc1/rc2 Category: compiler driver
Bug description
When using the compiler-libs in a program and trying to compile several source codes I noticed some options to gcc accumulated from one compilation to the next, despite I've tried to cleaned as many global variables as I could, including via Asmlink.reset().
Problem seems to be that the aforementioned reset function does not clean lib_ccobjs or lib_ccopts.
A quick test suggest that cleaning those does fix my issue without introducing any bug I could notice.
These variables are reset by Bytelibrarian.reset and Bytelink.reset, so indeed it seems correct to reset them in asmcomp/ modules that set them. Would you care to submit a Pull Request?
Activity
vicuna commentedon Feb 21, 2018
Comment author: @gasche
These variables are reset by Bytelibrarian.reset and Bytelink.reset, so indeed it seems correct to reset them in asmcomp/ modules that set them. Would you care to submit a Pull Request?
vicuna commentedon Feb 21, 2018
Comment author: @rixed
Cf. #1624
vicuna commentedon Feb 21, 2018
Comment author: @gasche
The soon-to-be-merged PR resolves the issue. Thanks!