[Bug c++/72868] New: Constexpr expressions mistreat case ranges

2016-08-10 Thread amarquez at sigovs dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: amarquez at sigovs dot com Target Milestone: --- When performing compile-time constexpr evaluation (under gnu++1y), G++ silently treats case ranges as if they were a case with the first element of the range.

[Bug c++/72868] Constexpr expressions mistreat case ranges

2016-08-10 Thread amarquez at sigovs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72868 --- Comment #2 from Alex Marquez --- Created attachment 39099 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39099&action=edit Test case

[Bug c++/72868] Constexpr expressions mistreat case ranges

2016-08-10 Thread amarquez at sigovs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72868 --- Comment #4 from Alex Marquez --- (In reply to Daniel Krügler from comment #3) > The quoted essentials also require you to provide the full command line (A > range in a switch case is not Standard C++), please read about what's needed > in the

[Bug c++/72868] Constexpr expressions mistreat case ranges

2016-08-10 Thread amarquez at sigovs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72868 --- Comment #5 from Alex Marquez --- Created attachment 39104 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39104&action=edit Preprocessed test case