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)

Reply via email to