public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
@ 2020-09-22 19:25 msebor at gcc dot gnu.org
  2020-09-23  7:11 ` [Bug testsuite/97168] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-09-22 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 97168
           Summary: [11 Regression] FAIL:
                    gcc.dg/plugin/diagnostic-test-expressions-1.c,
                    diagnostic-test-paths-2.c, location-overflow-test-1.c
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

Recent builds with GCC 11 show a number of plugin test failures including the
following:

FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
-fplugin=./diagnostic_plugin_test_tree_expression_range.so  1 blank line(s) in
output
FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
-fplugin=./diagnostic_plugin_test_tree_expression_range.so  expected multiline
pattern lines 550-551 not found: "                           
__builtin_types_compatible_p \\(long, int\\) \\+ f \\(i\\)\\);.*\\n            
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\^~~~~~~\\n"
FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
-fplugin=./diagnostic_plugin_test_tree_expression_range.so (test for excess
errors)
FAIL: gcc.dg/plugin/diagnostic-test-paths-2.c
-fplugin=./diagnostic_plugin_test_paths.so  expected multiline pattern lines
36-54 not found: "\\s*29 \\|     PyList_Append\\(list, item\\);.*\\n      \\|  
  \\^~~~~~~~~~~~~~~~~~~~~~~~~\\n  'make_a_list_of_random_ints_badly': events
1-3.*\\n    \\|.*\\n    \\|   25 \\|   list = PyList_New\\(0\\);.*\\n    \\|   
  \\|          \\^~~~~~~~~~~~~\\n    \\|      \\|          \\|.*\\n    \\|     
\\|          \\(1\\) when 'PyList_New' fails, returning NULL.*\\n    \\|   26
\\| .*\\n    \\|   27 \\|   for \\(i = 0; i < count; i\\+\\+\\) \\{.*\\n    \\|
     \\|   ~~~     .*\\n    \\|      \\|   \\|.*\\n    \\|      \\|   \\(2\\)
when 'i < count'.*\\n    \\|   28 \\|     item =
PyLong_FromLong\\(random\\(\\)\\);.*\\n    \\|   29 \\|    
PyList_Append\\(list, item\\);.*\\n    \\|      \\|    
~~~~~~~~~~~~~~~~~~~~~~~~~\\n    \\|      \\|     \\|.*\\n    \\|      \\|    
\\(3\\) when calling 'PyList_Append', passing NULL from \\(1\\) as argument
1.*\\n    \\|.*\\n"
FAIL: gcc.dg/plugin/diagnostic-test-paths-2.c
-fplugin=./diagnostic_plugin_test_paths.so (test for excess errors)
FAIL: gcc.dg/plugin/location-overflow-test-1.c
-fplugin=./location_overflow_plugin.so adding '-flarge-source-files' (test for
warnings, line 16)

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
@ 2020-09-23  7:11 ` rguenth at gcc dot gnu.org
  2020-10-09 11:41 ` tschwinge at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2020-09-23  7:11 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |11.0
          Component|plugins                     |testsuite

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think I've seen a dup.

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
  2020-09-23  7:11 ` [Bug testsuite/97168] " rguenth at gcc dot gnu.org
@ 2020-10-09 11:41 ` tschwinge at gcc dot gnu.org
  2020-10-09 17:44 ` dmalcolm at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2020-10-09 11:41 UTC (permalink / raw)
  To: gcc-bugs

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

Thomas Schwinge <tschwinge at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmalcolm at gcc dot gnu.org,
                   |                            |sandra at gcc dot gnu.org,
                   |                            |tschwinge at gcc dot gnu.org
   Last reconfirmed|                            |2020-10-09
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
           Assignee|unassigned at gcc dot gnu.org      |dmalcolm at gcc dot gnu.org

--- Comment #2 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
Heh, I just wanted to push a fix for 'gcc.dg/plugin/diagnostic-test-paths-2.c',
but the cherry-pick from my development branch turned into Git telling me
"nothing to commit": David beat me to it, who included the expected output
update in commit r11-3700-g7345c89ecb1a31ce96c6789bffc7183268a040b3 "Add
-fdiagnostics-path-format=separate-events to -fdiagnostics-plain-output".  ;-)

For reference, this update should've been part of Sandra's commit
r11-3302-g3696a50beeb73f4ded8a584e76ee16f0bde109b9 "Change C front end to emit
structured loop and switch tree nodes".


(In reply to Martin Sebor from comment #0)
> FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
> -fplugin=./diagnostic_plugin_test_tree_expression_range.so  1 blank line(s)
> in output
> FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
> -fplugin=./diagnostic_plugin_test_tree_expression_range.so  expected
> multiline pattern lines 550-551 not found: "                           
> __builtin_types_compatible_p \\(long, int\\) \\+ f \\(i\\)\\);.*\\n         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\^~~~~~~\\n"
> FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
> -fplugin=./diagnostic_plugin_test_tree_expression_range.so (test for excess
> errors)

These FAILs I'm not seeing in my testing.


> FAIL: gcc.dg/plugin/location-overflow-test-1.c
> -fplugin=./location_overflow_plugin.so adding '-flarge-source-files' (test
> for warnings, line 16)

But this one I still see, too.

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
  2020-09-23  7:11 ` [Bug testsuite/97168] " rguenth at gcc dot gnu.org
  2020-10-09 11:41 ` tschwinge at gcc dot gnu.org
@ 2020-10-09 17:44 ` dmalcolm at gcc dot gnu.org
  2020-10-09 21:58 ` msebor at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2020-10-09 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Thomas Schwinge from comment #2)
[...]
> (In reply to Martin Sebor from comment #0)
> > FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
> > -fplugin=./diagnostic_plugin_test_tree_expression_range.so  1 blank line(s)
> > in output
> > FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
> > -fplugin=./diagnostic_plugin_test_tree_expression_range.so  expected
> > multiline pattern lines 550-551 not found: "                           
> > __builtin_types_compatible_p \\(long, int\\) \\+ f \\(i\\)\\);.*\\n         
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\\^~~~~~~\\n"
> > FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c
> > -fplugin=./diagnostic_plugin_test_tree_expression_range.so (test for excess
> > errors)
> 
> These FAILs I'm not seeing in my testing.

Likewise, I'm not seeing those FAILs either.

> > FAIL: gcc.dg/plugin/location-overflow-test-1.c
> > -fplugin=./location_overflow_plugin.so adding '-flarge-source-files' (test
> > for warnings, line 16)
> 
> But this one I still see, too.

Likewise; am investigating.

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2020-10-09 17:44 ` dmalcolm at gcc dot gnu.org
@ 2020-10-09 21:58 ` msebor at gcc dot gnu.org
  2020-10-09 23:10 ` dmalcolm at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-10-09 21:58 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=97117

--- Comment #4 from Martin Sebor <msebor at gcc dot gnu.org> ---
The failure in location-overflow-test-1.c is the subject of pr97117.

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2020-10-09 21:58 ` msebor at gcc dot gnu.org
@ 2020-10-09 23:10 ` dmalcolm at gcc dot gnu.org
  2020-10-09 23:25 ` msebor at gcc dot gnu.org
  2020-10-10 15:12 ` dmalcolm at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2020-10-09 23:10 UTC (permalink / raw)
  To: gcc-bugs

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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |UNCONFIRMED
     Ever confirmed|1                           |0

--- Comment #5 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to Martin Sebor from comment #4)
> The failure in location-overflow-test-1.c is the subject of pr97117.

Thanks; in that case the only remaining failures are the ones in
gcc.dg/plugin/diagnostic-test-expressions-1.c; are you still seeing those?

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2020-10-09 23:10 ` dmalcolm at gcc dot gnu.org
@ 2020-10-09 23:25 ` msebor at gcc dot gnu.org
  2020-10-10 15:12 ` dmalcolm at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: msebor at gcc dot gnu.org @ 2020-10-09 23:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> ---
No failures in diagnostic-test-expressions-1.c in my latest build (just about
an hour old).  The latest x86_64 result posted to gcc-testresults also looks
clear of plugin test failures except pr97117:
https://gcc.gnu.org/pipermail/gcc-testresults/2020-October/614433.html
Please feel free to close this.

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

* [Bug testsuite/97168] [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c
  2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2020-10-09 23:25 ` msebor at gcc dot gnu.org
@ 2020-10-10 15:12 ` dmalcolm at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: dmalcolm at gcc dot gnu.org @ 2020-10-10 15:12 UTC (permalink / raw)
  To: gcc-bugs

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

David Malcolm <dmalcolm at gcc dot gnu.org> changed:

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

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
Thanks; closing.

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

end of thread, other threads:[~2020-10-10 15:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22 19:25 [Bug plugins/97168] New: [11 Regression] FAIL: gcc.dg/plugin/diagnostic-test-expressions-1.c, diagnostic-test-paths-2.c, location-overflow-test-1.c msebor at gcc dot gnu.org
2020-09-23  7:11 ` [Bug testsuite/97168] " rguenth at gcc dot gnu.org
2020-10-09 11:41 ` tschwinge at gcc dot gnu.org
2020-10-09 17:44 ` dmalcolm at gcc dot gnu.org
2020-10-09 21:58 ` msebor at gcc dot gnu.org
2020-10-09 23:10 ` dmalcolm at gcc dot gnu.org
2020-10-09 23:25 ` msebor at gcc dot gnu.org
2020-10-10 15:12 ` dmalcolm 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).