public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector
@ 2023-07-10 19:53 mpolacek at gcc dot gnu.org
  2024-04-26  9:05 ` [Bug target/110621] " cvs-commit at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2023-07-10 19:53 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110621
           Summary: x86_64: Test gcc.target/i386/pr105354-2.c fails with
                    -fstack-protector
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

...but not -fstack-protector-strong:

$ make check-gcc
RUNTESTFLAGS='--target_board=unix\{-fstack-protector-strong,-fstack-protector\}
i386.exp=pr105354-2.c'

                === gcc Summary for unix/-fstack-protector-strong ===

# of expected passes            2


FAIL: gcc.target/i386/pr105354-2.c execution test

                === gcc Summary for unix/-fstack-protector ===

# of expected passes            1
# of unexpected failures        1

                === gcc Summary ===

# of expected passes            3
# of unexpected failures        1

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

* [Bug target/110621] x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector
  2023-07-10 19:53 [Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector mpolacek at gcc dot gnu.org
@ 2024-04-26  9:05 ` cvs-commit at gcc dot gnu.org
  2024-04-26  9:05 ` cvs-commit at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-26  9:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Haochen Jiang <jianghc@gcc.gnu.org>:

https://gcc.gnu.org/g:4a2e55b3ada20fe6457466bb687a66c8d03e056e

commit r14-10137-g4a2e55b3ada20fe6457466bb687a66c8d03e056e
Author: Haochen Jiang <haochen.jiang@intel.com>
Date:   Fri Apr 26 16:48:29 2024 +0800

    i386: Fix array index overflow in pr105354-2.c

    The array index should not be over 8 for v8hi, or it will fail
    under -O0 or using -fstack-protector.

    gcc/testsuite/ChangeLog:

            PR target/110621
            * gcc.target/i386/pr105354-2.c: As mentioned.

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

* [Bug target/110621] x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector
  2023-07-10 19:53 [Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector mpolacek at gcc dot gnu.org
  2024-04-26  9:05 ` [Bug target/110621] " cvs-commit at gcc dot gnu.org
@ 2024-04-26  9:05 ` cvs-commit at gcc dot gnu.org
  2024-04-26  9:06 ` haochen.jiang at intel dot com
  2024-04-26  9:06 ` liuhongt at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-04-26  9:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Haochen Jiang
<jianghc@gcc.gnu.org>:

https://gcc.gnu.org/g:7425436b5382a04f3eb28c7c7912f4d9a1cad0bd

commit r13-8652-g7425436b5382a04f3eb28c7c7912f4d9a1cad0bd
Author: Haochen Jiang <haochen.jiang@intel.com>
Date:   Fri Apr 26 16:48:29 2024 +0800

    i386: Fix array index overflow in pr105354-2.c

    The array index should not be over 8 for v8hi, or it will fail
    under -O0 or using -fstack-protector.

    gcc/testsuite/ChangeLog:

            PR target/110621
            * gcc.target/i386/pr105354-2.c: As mentioned.

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

* [Bug target/110621] x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector
  2023-07-10 19:53 [Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector mpolacek at gcc dot gnu.org
  2024-04-26  9:05 ` [Bug target/110621] " cvs-commit at gcc dot gnu.org
  2024-04-26  9:05 ` cvs-commit at gcc dot gnu.org
@ 2024-04-26  9:06 ` haochen.jiang at intel dot com
  2024-04-26  9:06 ` liuhongt at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: haochen.jiang at intel dot com @ 2024-04-26  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

Haochen Jiang <haochen.jiang at intel dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |haochen.jiang at intel dot com

--- Comment #3 from Haochen Jiang <haochen.jiang at intel dot com> ---
Fixed in GCC13 and GCC14.

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

* [Bug target/110621] x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector
  2023-07-10 19:53 [Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector mpolacek at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-04-26  9:06 ` haochen.jiang at intel dot com
@ 2024-04-26  9:06 ` liuhongt at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: liuhongt at gcc dot gnu.org @ 2024-04-26  9:06 UTC (permalink / raw)
  To: gcc-bugs

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

Hongtao Liu <liuhongt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
fixed.

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

end of thread, other threads:[~2024-04-26  9:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-10 19:53 [Bug target/110621] New: x86_64: Test gcc.target/i386/pr105354-2.c fails with -fstack-protector mpolacek at gcc dot gnu.org
2024-04-26  9:05 ` [Bug target/110621] " cvs-commit at gcc dot gnu.org
2024-04-26  9:05 ` cvs-commit at gcc dot gnu.org
2024-04-26  9:06 ` haochen.jiang at intel dot com
2024-04-26  9:06 ` 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).