http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56430
Bug #: 56430
Summary: In __airy: return-statement with a value, in function
returning 'void'.
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 29525
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29525
Patch removing return of number from void function (returning from other
functions).
In __airy, an internal implementation function inside
include/tr1/modified_bessel_func.tcc, there was a return of a number from a
void function.
This function was not used obviously - it was intended for a future extension
that is slated for 4.9. It seems sensible to me however to fix the bug. This
function is being used in new development. There's no reason to let it lie and
there is little risk in fixing it.
Testing the attached patch on x86_64-linux.