[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-19 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-19 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #5 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Apr 19 16:36:34 2018 New Revision: 259500 URL: https://gcc.gnu.org/viewcvs?rev=259500=gcc=rev Log: i386: Add save_stack_nonlocal and restore_stack_nonlocal Define

[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-14 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #4 from H.J. Lu --- *** Bug 85399 has been marked as a duplicate of this bug. ***

[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #3 from H.J. Lu --- builtin_longjmp has also the same issue as PR 85025. I fixed it on hjl/cet/master branch.

[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 --- Comment #2 from H.J. Lu --- Please take a look at hjl/cet/master branch at https://github.com/hjl-tools/gcc/tree/hjl/cet/master I replaced builtin_setjmp_setup and builtin_longjmp with save_stack_nonlocal and restore_stack_nonlocal to save

[Bug target/85397] -mcet -fcf-protection doesn't work with label in nested function

2018-04-13 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85397 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|