[SR-4470] [Blocker] Codegen difference between release and debug stdlib builds #47047
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
optimized only
Flag: An issue whose reproduction requires optimized compilation
Attachment: Download
Additional Detail from JIRA
md5: 7d897af7f1dd002a8500a04439b2e3ac
Issue Description:
I realize that this could be caused by using assertions with side-effects, but I don't believe I have any of those. I will manually chop out all assertion checks to verify (done, see below).
with
Build the stdlib and run the Prototypes/AU3.swift test (adding
--stdlib-unittest-in-process --stdlib-unittest-filter Substring
to the test invocation) if you want to isolate theissue. With a debug build of the standard library,
invoking lit as follows
which expands to this when the in-process/filter flags are added:
the test passes in 9 seconds.
With a release build of the standard library,
invoking lit as follows
which expands to
it loops forever.
Other hashes
The text was updated successfully, but these errors were encountered: