public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/113672] New: [14 Regression] FAIL: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH (test for excess errors)
@ 2024-01-30 18:42 danglin at gcc dot gnu.org
  2024-01-31  8:19 ` [Bug regression/113672] " rguenth at gcc dot gnu.org
  2024-01-31 14:49 ` lhyatt at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: danglin at gcc dot gnu.org @ 2024-01-30 18:42 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 113672
           Summary: [14 Regression] FAIL: g++.dg/pch/line-map-3.C  -g -I.
                    -Dwith_PCH (test for excess errors)
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

spawn -ignore SIGHUP /home/dave/gnu/gcc/objdir64/gcc/testsuite/g++2/../../xg++
-
B/home/dave/gnu/gcc/objdir64/gcc/testsuite/g++2/../../
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/pch/line-map-3.C
-fdiagnostics-plain-output -nostdinc++
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/home/dave/gnu/gcc/objdir64/hppa64-hp-hpux11.11/libstdc++-v3/include
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backward
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0 -g -I.
-Dwith_PCH -Werror=unused-macros -S -o line-map-3.s
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/pch/line-map-3.C:3:9: error: macro
"UNUSED_MACRO" is not used [-Werror=unused-macros]
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/pch/line-map-3.C:3:9: error: macro
"with_PCH" is not used [-Werror=unused-macros]
cc1plus: some warnings being treated as errors
compiler exited with status 1
XFAIL: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH  (test for errors, line 1)
XPASS: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH  (test for bogus messages,
line 2)
XPASS: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH  at line 17 (test for bogus
messages, line 2)
PASS: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH  dg-regexp 23 was found:
"[^[:space:]]*: some warnings being treated as errors"
FAIL: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH (test for excess errors)
Excess errors:
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/pch/line-map-3.C:3:9: error: macro
"UNUSED_MACRO" is not used [-Werror=unused-macros]
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/pch/line-map-3.C:3:9: error: macro
"with_PCH" is not used [-Werror=unused-macros]

Commit bad991a1c59 was okay.

Similar fails:
FAIL: g++.dg/pch/line-map-3.C  -O2 -g -I. -Dwith_PCH (test for excess errors)
FAIL: g++.dg/pch/line-map-3.C  -O2 -I. -Dwith_PCH (test for excess errors)

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

* [Bug regression/113672] [14 Regression] FAIL: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH (test for excess errors)
  2024-01-30 18:42 [Bug regression/113672] New: [14 Regression] FAIL: g++.dg/pch/line-map-3.C -g -I. -Dwith_PCH (test for excess errors) danglin at gcc dot gnu.org
@ 2024-01-31  8:19 ` rguenth at gcc dot gnu.org
  2024-01-31 14:49 ` lhyatt at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2024-01-31  8:19 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |testsuite-fail
   Target Milestone|---                         |14.0

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

* [Bug regression/113672] [14 Regression] FAIL: g++.dg/pch/line-map-3.C  -g -I. -Dwith_PCH (test for excess errors)
  2024-01-30 18:42 [Bug regression/113672] New: [14 Regression] FAIL: g++.dg/pch/line-map-3.C -g -I. -Dwith_PCH (test for excess errors) danglin at gcc dot gnu.org
  2024-01-31  8:19 ` [Bug regression/113672] " rguenth at gcc dot gnu.org
@ 2024-01-31 14:49 ` lhyatt at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: lhyatt at gcc dot gnu.org @ 2024-01-31 14:49 UTC (permalink / raw)
  To: gcc-bugs

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

Lewis Hyatt <lhyatt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |lhyatt at gcc dot gnu.org

--- Comment #1 from Lewis Hyatt <lhyatt at gcc dot gnu.org> ---
Thanks, yes the test is problematic because the warnings it looks for are
platform dependent. There is a patch to address it here:
https://gcc.gnu.org/pipermail/gcc-patches/2024-January/644487.html. It's being
tracked at the original PR, so marking as a dupe of that one.

*** This bug has been marked as a duplicate of bug 105608 ***

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

end of thread, other threads:[~2024-01-31 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-30 18:42 [Bug regression/113672] New: [14 Regression] FAIL: g++.dg/pch/line-map-3.C -g -I. -Dwith_PCH (test for excess errors) danglin at gcc dot gnu.org
2024-01-31  8:19 ` [Bug regression/113672] " rguenth at gcc dot gnu.org
2024-01-31 14:49 ` lhyatt 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).