[Bug c++/59394] New: Unused code generated

2013-12-05 Thread smal.root at gmail dot com
: unassigned at gcc dot gnu.org Reporter: smal.root at gmail dot com Target: AVR Created attachment 31385 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31385&action=edit source code GCC: avr-gcc -v Using built-in specs. COLLECT_GCC=avr-gcc COLLECT_LTO_WRAPPER=/usr/lib/

[Bug c++/59394] Unused code generated

2013-12-05 Thread smal.root at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59394 --- Comment #1 from smalcom --- Created attachment 31386 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31386&action=edit generated assembly

[Bug c++/84814] New: Type of arithmetic expression

2018-03-10 Thread smal.root at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: smal.root at gmail dot com Target Milestone: --- Created attachment 43620 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43620&action=edit Project archive File: main.cpp, line: 20. When used variant > if((curtime

[Bug c++/79600] New: [c++11] reinterpret_cast not working in enum class

2017-02-19 Thread smal.root at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: smal.root at gmail dot com Target Milestone: --- Created attachment 40774 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40774&action=edit source code New compiler do not want to assign value to member

[Bug c++/79600] [c++11] reinterpret_cast not working in enum class

2017-02-19 Thread smal.root at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600 --- Comment #1 from smalcom --- Created attachment 40775 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40775&action=edit ii from 4.9.4

[Bug c++/79600] [c++11] reinterpret_cast not working in enum class

2017-02-19 Thread smal.root at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600 --- Comment #2 from smalcom --- Created attachment 40776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40776&action=edit ii from 6.3.0

[Bug c++/79600] [c++11] reinterpret_cast not working in enum class

2017-02-19 Thread smal.root at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600 --- Comment #3 from smalcom --- Created attachment 40777 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40777&action=edit ii from 7.0.1

[Bug c++/79600] [c++11] reinterpret_cast not working in enum class

2017-02-19 Thread smal.root at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79600 --- Comment #5 from smalcom --- Second error string... I'm stupid. Thanks for help. So, old compilers just kinder?

[Bug middle-end/59394] Unused code generated

2021-12-23 Thread smal.root at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59394 --- Comment #5 from smalcom --- Created attachment 52049 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52049&action=edit Generated assembly when using "gc-section". avr-gcc-10.2

[Bug middle-end/59394] Unused code generated

2021-12-23 Thread smal.root at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59394 --- Comment #6 from smalcom --- Created attachment 52050 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52050&action=edit Generated assembly when using "LTO". avr-gcc-10.2 (In reply to Andrew Pinski from comment #4) > If I use -Wl,--gc-sec