Changeset 80319

Timestamp:
Aug 30, 2012, 10:39:31 AM (10 years ago)
Author:
Jurko Gospodnetic
Message:

Replaced a goto based loop construct with a while loop in Boost Jam function.c module's expand() function to avoid a gcc 4.6.0 compiler optimizer bug on Linux (not reproducible using later GCC releases, and never reported on other OSs).

The bug was causing the inner while loop to be completely ignored, effectively causing concatenated Jam variable expansions to ignore all but the first variable value. For example, the following code:

local a = one two ;
ECHO /$(a)/ ;

would output '/one/' instead of '/one/ /two/'.

Kudos to Kim Rasmussen <rasmussen74 at gmail dot com> for detecting and helping debug & test the issue.

(No files)

Note: See TracChangeset for help on using the changeset viewer.