From f7010f1746ea6d885f3afd2b422498ecdb82ebe5 Mon Sep 17 00:00:00 2001 From: Stephen Heumann Date: Sat, 8 Sep 2018 23:08:17 -0500 Subject: [PATCH] Update release notes. --- cc.notes | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/cc.notes b/cc.notes index 61b6e3c..a513d03 100644 --- a/cc.notes +++ b/cc.notes @@ -172,6 +172,10 @@ p. 263 2. There is a new optimization bit for #pragma optimize. See #pragma optimize, below. +p. 277 + +The type "long double" now specifies a number in the SANE extended format. + p. 289 Unions can be initialized by a brace-enclosed expression giving the initializer value for the first element of the union, or by an expression of the appropriate union type. The non-standard construct of initializing the first element of a union with a non-brace-enclosed initializer is no longer supported. The supported alternative is simply to enclose the initializer in braces, e.g. @@ -737,6 +741,14 @@ int foo(int[42]); 83. Constant expressions cast to char or unsigned char could be treated as if their type promoted to unsigned int rather than int. +84. If the compiler was set to enter the editor on errors, it could sometimes open the editor at the wrong position in the file. + +(Matt Ackeret) + +85. Errors displayed for source lines indented with tabs would typically appear to be at the wrong position (depending on how the console in use displays tabs). + +86. The LDBL_* values in were all wrong. They specified values for the double format, not the SANE extended format actually used for long double. Most of them have now been corrected; however, LDBL_MAX and LDBL_MIN are still incorrect, because ORCA/C internally represents floating-point constants in the double format, which is not capable of holding the proper values for them. + -- Bugs from C 2.1.0 that have been fixed ----------------------------------- 1. In some situations, fread() reread the first 1K or so of the file.