Skip to content

SSA problem when using log_err with a computed string #335

Closed

Description

@pcwalton
fn main() {
    log_err "foo" + "bar";
}

fails with:

Instruction does not dominate all uses!
  %12 = load %str* %3
  store %str %12, %str* %5
Broken module found, compilation aborted!
Stack dump:
0.  Running pass 'Function Pass Manager' on module 'rust_out'.
1.  Running pass 'Module Verifier' on function '@_rust_fn1_main'

Activity

  1. added a commit that references this issue on Sep 19, 2017
  2. added 2 commits that reference this issue on Dec 12, 2017
  3. added a commit that references this issue on Nov 29, 2018
  4. added a commit that references this issue on Mar 7, 2023
  5. added a commit that references this issue on Oct 9, 2023
  6. added 3 commits that reference this issue on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions