This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, serhiy.storchaka, vstinner
Date 2016-09-14.13:45:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473860733.22.0.899787116787.issue28152@psf.upfronthosting.co.za>
In-reply-to
Content
The issue #23545 enabled extra warnings on GCC. Clang on FreeBSD now complains about unreachable (dead) code:

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%20CURRENT%20Non-Debug%203.x/builds/281/steps/compile/logs/warnings%20%2814%29

Python/ast.c:3133:5: warning: code will never be executed [-Wunreachable-code]
Modules/posixmodule.c:10256:5: warning: code will never be executed [-Wunreachable-code]
Modules/zipimport.c:1004:22: warning: code will never be executed [-Wunreachable-code]
Modules/faulthandler.c:988:5: warning: code will never be executed [-Wunreachable-code]

See also my change ea00c88f7f42 which fixed a similar issue in Parser/grammar.c.

See also the issue #14656.
History
Date User Action Args
2016-09-14 13:45:33vstinnersetrecipients: + vstinner, benjamin.peterson, serhiy.storchaka
2016-09-14 13:45:33vstinnersetmessageid: <1473860733.22.0.899787116787.issue28152@psf.upfronthosting.co.za>
2016-09-14 13:45:33vstinnerlinkissue28152 messages
2016-09-14 13:45:33vstinnercreate