This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81508] Control reaches end of non-void function - warning not emmited when optimization is turned on


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81508

--- Comment #3 from Juraj Oršulić <juraj.orsulic at fer dot hr> ---
Update: tested on 7.1.0, bug doesn't happen there (i.e. building without
optimisation is successful).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]