public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113039] New: [14 Regression] -fcf-protection -fcf-protection=branch doesn't work
@ 2023-12-16  2:04 hjl.tools at gmail dot com
  2023-12-16  2:14 ` [Bug target/113039] " hjl.tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hjl.tools at gmail dot com @ 2023-12-16  2:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113039

            Bug ID: 113039
           Summary: [14 Regression] -fcf-protection -fcf-protection=branch
                    doesn't work
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com
  Target Milestone: ---
            Target: x86-64

[hjl@gnu-cfl-3 pr85334]$ touch x.c
[hjl@gnu-cfl-3 pr85334]$
/export/build/gnu/tools-build/gcc-gitlab-debug/release/usr/gcc-14.0.0-x86-64/bin/gcc
-c -fcf-protection -fcf-protection=branch x.c
[hjl@gnu-cfl-3 pr85334]$ readelf -n x.o

Displaying notes found in: .note.gnu.property
  Owner                Data size        Description
  GNU                  0x00000010       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 feature: IBT, SHSTK
  GNU                  0x00000020       NT_GNU_PROPERTY_TYPE_0
      Properties: x86 ISA used: 
        x86 feature used: x86
[hjl@gnu-cfl-3 pr85334]$ 

-fcf-protection=branch should override -fcf-protection.

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

end of thread, other threads:[~2024-01-12  3:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-16  2:04 [Bug target/113039] New: [14 Regression] -fcf-protection -fcf-protection=branch doesn't work hjl.tools at gmail dot com
2023-12-16  2:14 ` [Bug target/113039] " hjl.tools at gmail dot com
2023-12-16  2:23 ` hjl.tools at gmail dot com
2023-12-18  2:42 ` liuhongt at gcc dot gnu.org
2023-12-18  8:08 ` rguenth at gcc dot gnu.org
2024-01-12  3:18 ` cvs-commit at gcc dot gnu.org
2024-01-12  3:21 ` liuhongt at gcc dot gnu.org

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).