public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-8440] testsuite: Added missing } in the dg-bogus comment [PR114343]
@ 2024-03-15  8:30 Torbjorn Svensson
  0 siblings, 0 replies; only message in thread
From: Torbjorn Svensson @ 2024-03-15  8:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c471d29affba0d98d5cc6ab044b53f009f35324b

commit r13-8440-gc471d29affba0d98d5cc6ab044b53f009f35324b
Author: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>
Date:   Fri Mar 15 09:25:06 2024 +0100

    testsuite: Added missing } in the dg-bogus comment [PR114343]
    
    gcc/testsuite/ChangeLog:
    
            PR testsuite/114343
            * gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c:
            Added missing } in the dg-bogus comment.
    
    Signed-off-by: Torbjörn SVENSSON <torbjorn.svensson@foss.st.com>

Diff:
---
 .../gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c b/gcc/testsuite/gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c
index e8cde7338a0..33cf10c1e29 100644
--- a/gcc/testsuite/gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c
+++ b/gcc/testsuite/gcc.dg/analyzer/null-deref-pr108251-smp_fetch_ssl_fc_has_early-O2.c
@@ -60,7 +60,7 @@ static inline enum obj_type obj_type(const enum obj_type *t)
 }
 static inline struct connection *__objt_conn(enum obj_type *t)
 {
- return ((struct connection *)(((void *)(t)) - ((long)&((struct connection *)0)->obj_type))); /* { dg-bogus "may result in an unaligned pointer value" "Fixed in r14-6517-gb7e4a4c626e" { xfail short_enums } */
+ return ((struct connection *)(((void *)(t)) - ((long)&((struct connection *)0)->obj_type))); /* { dg-bogus "may result in an unaligned pointer value" "Fixed in r14-6517-gb7e4a4c626e" { xfail short_enums } } */
 }
 static inline struct connection *objt_conn(enum obj_type *t)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-15  8:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-15  8:30 [gcc r13-8440] testsuite: Added missing } in the dg-bogus comment [PR114343] Torbjorn Svensson

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