• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

micropython / micropython / 11144
98%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2019 06:27AM UTC
Jobs 1
Files 244
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11144

push

travis-ci

dpgeorge
py/nlr: Use MP_UNREACHABLE at the end of arch-specific nlr_jump funcs.

Recent versions of gcc perform optimisations which can lead to the
following code from the MP_NLR_JUMP_HEAD macro being omitted:

    top->ret_val = val; \
    MP_NLR_RESTORE_PYSTACK(top); \
    *_top_ptr = top->prev; \

This is noticeable (at least) in the unix coverage on x86-64 built with gcc
9.1.0.  This is because the nlr_jump function is marked as no-return, so
gcc deduces that the above code has no effect.

Adding MP_UNREACHABLE tells the compiler that the asm code may branch
elsewhere, and so it cannot optimise away the code.

18481 of 18859 relevant lines covered (98.0%)

367603.19 hits per line

Jobs
ID Job ID Ran Files Coverage
3 11144.3 (NAME="unix coverage build and tests") 19 Aug 2019 06:27AM UTC 0
98.0
Travis Job 11144.3
Source Files on build 11144
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11144
  • 11ecdf2e on github
  • Prev Build on master (#11137)
  • Next Build on master (#11145)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc