[Bug c++/94939] [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?)

2020-05-04 Thread tobias.pankr...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94939 --- Comment #3 from Tobias Pankrath --- That was quick :-) Thank you for looking into it. Is this enough? I pasted all type_safe code that is used for the example directly in there: https://godbolt.org/z/TGB8Jg

[Bug c++/94939] [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?)

2020-05-03 Thread tobias.pankr...@ssw-trading.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94939 Tobias Pankrath changed: What|Removed |Added Target||x86_64 Host|

[Bug c++/94939] New: [9.2.1] invalid code generation in ternary op with static class member (undefined behaviour nearby?)

2020-05-03 Thread tobias.pankr...@ssw-trading.com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tobias.pankr...@ssw-trading.com Target Milestone: --- I've got the following classes, which are using the type_safe library (https://githu