Revert "Fix T81077 id_management test on macOS"
This reverts commit 2ddecfffc3
.
The correct fix is to compile with -fno-strict-aliasing on
release/relwithdebinfo builds also.
See the last commit/ {D9372}.
Maniphest Task T81077
This commit is contained in:
parent
fc6a1f44d2
commit
30ec0753c7
Notes:
blender-bot
2023-02-14 02:45:41 +01:00
Referenced by issue #81077, Build Bot: MacOS X test fails
|
@ -261,9 +261,7 @@ static void id_delete(Main *bmain, const bool do_tagged_deletion)
|
|||
bool keep_looping = true;
|
||||
while (keep_looping) {
|
||||
ID *id, *id_next;
|
||||
/* Marked volatile to avoid a macOS Clang optimization bug. See T81077.
|
||||
* #last_remapped_id.next is assumed to be NULL by optimizer which is wrong. */
|
||||
volatile ID *last_remapped_id = tagged_deleted_ids.last;
|
||||
ID *last_remapped_id = tagged_deleted_ids.last;
|
||||
keep_looping = false;
|
||||
|
||||
/* First tag and remove from Main all datablocks directly from target lib.
|
||||
|
|
Loading…
Reference in New Issue