gcc/libcpp
Jakub Jelinek 856809e582 c: Handle C23 floating constant {d,D}{32,64,128} suffixes like {df,dd,dl}
C23 roughly says that {d,D}{32,64,128} floating point constant suffixes
are alternate spellings of {df,dd,dl} suffixes in annex H.

So, the following patch allows that alternate spelling.
Or is it intentional it isn't enabled and we need to do everything in
there first before trying to define __STDC_IEC_60559_DFP__?
Like add support for _Decimal32x and _Decimal64x types (including
the d32x and d64x suffixes) etc.

2024-11-13  Jakub Jelinek  <jakub@redhat.com>

libcpp/
	* expr.cc (interpret_float_suffix): Handle d32 and D32 suffixes
	for C like df, d64 and D64 like dd and d128 and D128 like
	dl.
gcc/c-family/
	* c-lex.cc (interpret_float): Subtract 3 or 4 from copylen
	rather than 2 if last character of CPP_N_DFLOAT is a digit.
gcc/testsuite/
	* gcc.dg/dfp/c11-constants-3.c: New test.
	* gcc.dg/dfp/c11-constants-4.c: New test.
	* gcc.dg/dfp/c23-constants-3.c: New test.
	* gcc.dg/dfp/c23-constants-4.c: New test.
2024-11-13 09:44:20 +01:00
..
include c: Implement C2Y N3298 - Introduce complex literals [PR117029] 2024-11-13 09:41:41 +01:00
po Daily bump. 2024-09-20 17:36:00 +00:00
aclocal.m4
ChangeLog Daily bump. 2024-11-02 00:19:21 +00:00
ChangeLog.jit
charset.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
combining-chars.inc
config.in libcpp: replace SSE4.2 helper with an SSSE3 one 2024-08-20 14:09:12 +03:00
configure libcpp: replace SSE4.2 helper with an SSSE3 one 2024-08-20 14:09:12 +03:00
configure.ac libcpp: replace SSE4.2 helper with an SSSE3 one 2024-08-20 14:09:12 +03:00
directives.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
errors.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
expr.cc c: Handle C23 floating constant {d,D}{32,64,128} suffixes like {df,dd,dl} 2024-11-13 09:44:20 +01:00
files.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
generated_cpp_wcwidth.h contrib, libcpp, libstdc++: Update to Unicode 16.0 2024-10-08 10:01:47 +02:00
identifiers.cc
init.cc c: Implement C2Y N3298 - Introduce complex literals [PR117029] 2024-11-13 09:41:41 +01:00
internal.h c++: Attempt to implement C++26 P3034R1 - Module Declarations Shouldn't be Macros [PR114461] 2024-11-01 19:42:28 +01:00
lex.cc c++: Attempt to implement C++26 P3034R1 - Module Declarations Shouldn't be Macros [PR114461] 2024-11-01 19:42:28 +01:00
line-map.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
location-example.txt
macro.cc c++: Attempt to implement C++26 P3034R1 - Module Declarations Shouldn't be Macros [PR114461] 2024-11-01 19:42:28 +01:00
Makefile.in libcpp, genmatch: Use gcc_diag instead of printf for libcpp diagnostics 2024-10-12 10:50:41 +02:00
makeucnid.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
makeuname2c.cc contrib, libcpp, libstdc++: Update to Unicode 16.0 2024-10-08 10:01:47 +02:00
mkdeps.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
pch.cc libcpp, genmatch: Use gcc_diag instead of printf for libcpp diagnostics 2024-10-12 10:50:41 +02:00
printable-chars.inc
symtab.cc
system.h non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
traditional.cc non-gcc: Remove trailing whitespace 2024-10-25 10:03:17 +02:00
ucnid.h contrib, libcpp, libstdc++: Update to Unicode 16.0 2024-10-08 10:01:47 +02:00
ucnid.tab
uname2c.h contrib, libcpp, libstdc++: Update to Unicode 16.0 2024-10-08 10:01:47 +02:00