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]

c++/1772: ICE when instantiating templates with "long long" values



>Number:         1772
>Category:       c++
>Synopsis:       ICE when instantiating templates with "long long" values
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 25 11:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jens Maurer
>Release:        gcc version 2.97 20010118 (experimental)
>Organization:
>Environment:
i686-pc-linux-gnu with glibc 2.2
>Description:
xxx.cc:4: Internal compiler error in tree_low_cst, at tree.c:3401
Please submit a full bug report.
 See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Note that gcc 2.95.2 compiled the code ok.

>How-To-Repeat:
template<class T, T num>
struct A { };

template struct A<long long, -2854775807LL>;
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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