Skip to content

Cast from u128 to f32 is broken in release mode #705

Open
@antoyo

Description

@antoyo

The test tests/ui/numbers-arithmetic/u128-as-f32.rs was disabled in bb3ee76.

This used to work with GCC version b8f4bbf1b995d9511bad6652e8d774620b2bd833 , but with the rebase to GCC 3e3878e7183f1d1e1ccf5aba99da7fbb36c012c8, this test now fails when compiled in release mode.

Something weird is that if I print the f32 value, the test passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions