[Bug c/80421] Case dispatch is scrambled in switch-statement

2017-04-13 Thread ivan_j_johnson at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80421 --- Comment #2 from Ivan Johnson --- GCC seems to be dispatching to the wrong case in a switch-statement in the attached source. To see the problem, examine the first function in the attached C file, which is copied below: uint32_t to_cigar

[Bug c/80421] Case dispatch is scrambled in switch-statement

2017-04-13 Thread ivan_j_johnson at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80421 --- Comment #1 from Ivan Johnson --- Created attachment 41197 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41197&action=edit Preprocessor output

[Bug c/80421] New: Case dispatch is scrambled in switch-statement

2017-04-13 Thread ivan_j_johnson at msn dot com
Assignee: unassigned at gcc dot gnu.org Reporter: ivan_j_johnson at msn dot com Target Milestone: --- Created attachment 41196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41196&action=edit Source code to demonstrate the bug the exact version of GCC; the syst