This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
On 2016-05-18 2:20 AM, Jakub Jelinek wrote:
The attached change implements the above. There is an implicit assumption that int64_tOn Tue, May 17, 2016 at 08:31:00PM -0400, John David Anglin wrote:>r235550 introduced the use of long long, and the macros LLONG_MIN and LLONG_MAX. These macros >are not defined by default and we need to include <climits> when compiling with c++ to define them.IMNSHO we should get rid of those long long uses instead and just use int64_t and INTTYPE_MINIMUM (int64_t) and INTTYPE_MAXIMUM (int64_t). There is also another use of long long in libcpp, we should also replace that.
is long long if it is not long. The patch also changes gcov-tool.c. This affects the interface somewhat but I think consistently using int64_t better. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave -- John David Anglin dave.anglin@bell.net
Attachment:
longlong.d.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |