https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63217
--- Comment #2 from Edward ---
I can confirm the bug in version 6.3.0 freshly built:
(found this bug researching for a similar bug I am reporting)
Using built-in specs.
COLLECT_GCC=/home/h/packages/gcc-6.3.0/bin/g++
COLLECT_LTO_WRAPPER=/home/h/
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vz at quantitativesystems dot com
Target Milestone: ---
In the following example, the conversion int value2 = cdc fails, tested in many
versions of g++:
struct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63217
--- Comment #3 from Edward ---
Perhaps https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79035 is related