Fix an undefined behavior in record_line
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d1f408f1a47971d0fdaa13c62d5b8e1e55d21921..d5715a8fa00567096cccfe54adbd978d3aae81b3 100644 (file)
@@ -1,3 +1,42 @@
+2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * buildsym.c (record_line): Fix undefined behavior and preserve
+       lines at eof.
+
+2020-04-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * buildsym.c (record_line): Fix the resizing condition.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * value.h (value_literal_complex): Add comment.
+       * valops.c (value_literal_complex): Refer to value.h.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (FLOAT_KEYWORD, COMPLEX): New tokens.
+       (scalar_type): New rule, from typebase.
+       (typebase): Use scalar_type.  Recognize complex types.
+       (field_name): Handle FLOAT_KEYWORD.
+       (ident_tokens): Add _Complex and __complex__.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       PR exp/25299:
+       * valarith.c (promotion_type, complex_binop): New functions.
+       (scalar_binop): Handle complex numbers.  Use promotion_type.
+       (value_pos, value_neg, value_complement): Handle complex numbers.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-exp.y (COMPLEX_INT, COMPLEX_FLOAT): New tokens.
+       (exp) <COMPLEX_INT, COMPLEX_FLOAT>: New rules.
+       (parse_number): Handle complex numbers.
+
+2020-04-01  Tom Tromey  <tom@tromey.com>
+
+       * c-valprint.c (c_decorations): Change complex suffix to "i".
+
 2020-04-01  Tom Tromey  <tom@tromey.com>
 
        * valprint.c (generic_value_print_complex): Use accessors.
This page took 0.02466 seconds and 4 git commands to generate.