Hi!

The
commit r14-9805-g8057f9aa1f7e70490064de796d7a8d42d446caf8                       
                                                                                
                      
Author: Martin Uecker <uec...@tugraz.at>                                        
                                                                                
                      
Date:   Fri Apr 5 12:14:56 2024 +0200                                           
                                                                                
                      
                                                                                
                                                                                
                      
    Revert "Fix ICE with -g and -std=c23 related to incomplete types 
[PR114361]"                                                                     
                                 
                                                                                
                                                                                
                      
    This reverts commit 871bb5ad2dd56343d80b6a6d269e85efdc9999e5  because it    
                                                                                
                      
    breaks LTO and needs a bit more work. See PR 114574.                        
                                                                                
                      
commit broke ChangeLog regeneration.  The
"This reverts commit <xyz>."
line is something that is parsed by the ChangeLog updates script, so can't
be ammended like the above.

I've committed the following patch as obvious to unbreak it, then ran
update_git_version by hand on sourceware and then committed the attached
patch to add the ChangeLog entries there by hand.

2024-04-08  Jakub Jelinek  <ja...@redhat.com>

        * gcc-changelog/git_update_version.py: Add
        8057f9aa1f7e70490064de796d7a8d42d446caf8 to IGNORED_COMMITS.

--- contrib/gcc-changelog/git_update_version.py.jj      2024-01-05 
15:22:21.721686738 +0100
+++ contrib/gcc-changelog/git_update_version.py 2024-04-08 14:10:56.096421526 
+0200
@@ -38,7 +38,8 @@ IGNORED_COMMITS = (
         '86d8e0c0652ef5236a460b75c25e4f7093cc0651',
         'e4cba49413ca429dc82f6aa2e88129ecb3fdd943',
         '1957bedf29a1b2cc231972aba680fe80199d5498',
-        '040e5b0edbca861196d9e2ea2af5e805769c8d5d')
+        '040e5b0edbca861196d9e2ea2af5e805769c8d5d',
+        '8057f9aa1f7e70490064de796d7a8d42d446caf8')
 
 FORMAT = '%(asctime)s:%(levelname)s:%(name)s:%(message)s'
 logging.basicConfig(level=logging.INFO, format=FORMAT,

        Jakub
--- gcc/c/ChangeLog
+++ gcc/c/ChangeLog
@@ -1,3 +1,12 @@
+2024-04-05  Martin Uecker  <uec...@tugraz.at>
+
+       Revert:
+       2024-04-02  Martin Uecker  <uec...@tugraz.at>
+
+       PR c/114361
+       * c-decl.cc (finish_struct): Set TYPE_CANONICAL when completing
+       strucute types.
+
 2024-04-02  Martin Uecker  <uec...@tugraz.at>
 
        PR c/114361
--- gcc/testsuite/ChangeLog
+++ gcc/testsuite/ChangeLog
@@ -138,6 +138,16 @@
        PR tree-optimization/114566
        * gcc.target/i386/avx512f-pr114566.c: New test.
 
+2024-04-05  Martin Uecker  <uec...@tugraz.at>
+
+       Revert:
+       2024-04-02  Martin Uecker  <uec...@tugraz.at>
+
+       PR c/114361
+       * gcc.dg/pr114361.c: New test.
+       * gcc.dg/c23-tag-incomplete-1.c: New test.
+       * gcc.dg/c23-tag-incomplete-2.c: New test.
+
 2024-04-05  Jakub Jelinek  <ja...@redhat.com>
 
        * gdc.dg/dg.exp: Prune gcov*.d from the list of tests to run.

Reply via email to