This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/15242] function-like cast notation


https://sourceware.org/bugzilla/show_bug.cgi?id=15242

Martin Sebor <msebor at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msebor at gmail dot com

--- Comment #1 from Martin Sebor <msebor at gmail dot com> ---
This missing functionality causes trouble when evaluating GCC predefined macros
like __DBL_MAX__.  For example, in GNU gdb (GDB) Fedora 7.12.1-47.fc25:

(gdb) p __DBL_MAX__
A syntax error in expression, near `1.79769313486231570815e+308L)'.
(gdb) info macro __DBL_MAX__
Defined at /ssd/src/gcc/79800/gcc/gimple-fold.c:0
-D__DBL_MAX__=double(1.79769313486231570815e+308L)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]