Skip to content

Commit a629bee

Browse files
Place the GH #27 Changes entry above the GH #203 note. [GH #27]
1 parent 3056726 commit a629bee

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

‎src/Changes‎

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ such object files failed. For example, with --g++:
5353
This is now fixed: When generating code targeting GCC, the C-generating back
5454
end now preserves the __weak__ attribute and suppresses the __always_inline__
5555
attribute instead.
56+
57+
5658
10/6/26 [GH #27]
5759
Clearer diagnostic when auto is deduced from an incomplete type
5860

@@ -70,6 +72,23 @@ The diagnostic is not issued while scanning a template definition, because
7072
the initializer type may be completed before the template is instantiated.
7173

7274

75+
10/6/26 [GH #203]
76+
Assertion failure on an empty diag_suppress pragma
77+
78+
A diag_suppress (or similar) pragma with no arguments, or with a trailing
79+
comma, diagnosed the missing argument and then read past the end of the
80+
directive. That, in turn, could lead to an assertion failure in
81+
process_immediate_pragmas. For example:
82+
83+
#pragma diagnostic push
84+
#pragma diag_suppress
85+
int f() { int a; return a; }
86+
#pragma diagnostic pop
87+
88+
That is now fixed: The missing argument is still diagnosed, and the code after
89+
the pragma is parsed.
90+
91+
7392
10/5/26 [GH #195]
7493
C++-generating back end: dependent multi-dimensional subscripts
7594

@@ -90,21 +109,6 @@ C++-generating back end: inaccessible or out-of-scope template arguments
90109
In certain complex cases, the C++-generating back end could put out a
91110
template argument that uses an inaccessible or out-of-scope name, making
92111
the generated code uncompilable. This is now fixed.
93-
10/6/26 [GH #203]
94-
Assertion failure on an empty diag_suppress pragma
95-
96-
A diag_suppress (or similar) pragma with no arguments, or with a trailing
97-
comma, diagnosed the missing argument and then read past the end of the
98-
directive. That, in turn, could lead to an assertion failure in
99-
process_immediate_pragmas. For example:
100-
101-
#pragma diagnostic push
102-
#pragma diag_suppress
103-
int f() { int a; return a; }
104-
#pragma diagnostic pop
105-
106-
That is now fixed: The missing argument is still diagnosed, and the code after
107-
the pragma is parsed.
108112

109113

110114
10/5/26 [GH #213]

0 commit comments

Comments
 (0)