This is the mail archive of the gcc-bugs@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]

[Bug c/71013] New: [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX' was not declared in this scope


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71013

            Bug ID: 71013
           Summary: [7 Regression] c-common.c:12810:37: error: 'LLONG_MAX'
                    was not declared  in this scope
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: danglin at gcc dot gnu.org
                CC: doko at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11

In stage1,

g++ -std=gnu++98 -fno-PIE -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -DIN_GCC   
  -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing
 -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings  
 -DHAVE_CONFIG_H -I. -Ic-family -I../../gcc/gcc -I../../gcc/gcc/c-family
-I../..
/gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include
-I/opt/gnu64/g
cc/gmp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc/gcc/../libbacktrace   -o c-family/c-common.o -
MT c-family/c-common.o -MMD -MP -MF c-family/.deps/c-common.TPo
../../gcc/gcc/c-
family/c-common.c

../../gcc/gcc/c-family/c-common.c: In function 'time_t
get_source_date_epoch()':
../../gcc/gcc/c-family/c-common.c:12810:37: error: 'LLONG_MAX' was not declared
in this scope
   if ((errno == ERANGE && (epoch == LLONG_MAX || epoch == LLONG_MIN))
                                     ^
../../gcc/gcc/c-family/c-common.c:12810:59: error: 'LLONG_MIN' was not declared
in this scope
   if ((errno == ERANGE && (epoch == LLONG_MAX || epoch == LLONG_MIN))
                                                           ^
make[3]: *** [c-family/c-common.o] Error 1

Bootstrap compiler was:
gcc version 5.3.1 20160217 [gcc-5-branch revision 233498] (GCC)

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