public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/65364] New: FAIL: gcc.dg/uninit-19.c (test for warnings, line 22) Date: Mon, 09 Mar 2015 17:49:00 -0000 [thread overview] Message-ID: <bug-65364-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65364 Bug ID: 65364 Summary: FAIL: gcc.dg/uninit-19.c (test for warnings, line 22) Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: danglin at gcc dot gnu.org On hppa64-hp-hpux11.11 and other PIC targets, the expected warning does not occur at the expected line number. I believe the test was already adjusted once. spawn /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /test/gnu/gcc/gc c/gcc/testsuite/gcc.dg/uninit-19.c -fno-diagnostics-show-caret -fdiagnostics-col or=never -O -Wuninitialized -S -o uninit-19.s /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c: In function 'fn2': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c:13:15: warning: 'n' may be us ed uninitialized in this function [-Wmaybe-uninitialized] /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c:19:10: note: 'n' was declared here output is: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c: In function 'fn2': /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c:13:15: warning: 'n' may be us ed uninitialized in this function [-Wmaybe-uninitialized] /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c:19:10: note: 'n' was declared here FAIL: gcc.dg/uninit-19.c (test for warnings, line 22) FAIL: gcc.dg/uninit-19.c (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/gcc.dg/uninit-19.c:13:15: warning: 'n' may be us ed uninitialized in this function [-Wmaybe-uninitialized] /* { dg-warning "may be used uninitialized" "" { target nonpic } 13 } */^M /* { dg-warning "may be used uninitialized" "" { target { ! nonpic } } 22 } */^M The hppa64-hp-hpux11.11 target is always PIC and the warning occurs at line 13.
next reply other threads:[~2015-03-09 17:49 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-09 17:49 danglin at gcc dot gnu.org [this message] 2015-03-09 17:57 ` [Bug testsuite/65364] " dominiq at lps dot ens.fr 2015-03-09 18:09 ` dominiq at lps dot ens.fr 2015-03-09 19:27 ` dave.anglin at bell dot net
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65364-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).