public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/56430] New: In __airy: return-statement with a value, in function returning 'void'.
@ 2013-02-22 22:29 3dw4rd at verizon dot net
  2013-02-22 22:33 ` [Bug libstdc++/56430] " 3dw4rd at verizon dot net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: 3dw4rd at verizon dot net @ 2013-02-22 22:29 UTC (permalink / raw)
  To: gcc-bugs


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: unassigned@gcc.gnu.org
        ReportedBy: 3dw4rd@verizon.net


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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-13  8:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-22 22:29 [Bug libstdc++/56430] New: In __airy: return-statement with a value, in function returning 'void' 3dw4rd at verizon dot net
2013-02-22 22:33 ` [Bug libstdc++/56430] " 3dw4rd at verizon dot net
2013-02-22 23:23 ` paolo.carlini at oracle dot com
2013-06-11  9:03 ` paolo.carlini at oracle dot com
2013-06-13  8:27 ` paolo.carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).