[Bug ada/93233] New: No warning for possibly uninitialised return

2020-01-11 Thread chris at amtiskaw dot net
Assignee: unassigned at gcc dot gnu.org Reporter: chris at amtiskaw dot net Target Milestone: --- Created attachment 47637 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47637&action=edit Test case using normal and extended return syntax. Hi, I'm learning

[Bug ada/93233] No warning for possibly uninitialised return

2020-01-11 Thread chris at amtiskaw dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93233 --- Comment #1 from Chris Sykes --- I noticed that g++ also fails to warn about this with a similar test case written in c++, and found this old bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Perhaps this is easier to fix (witho