public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/46156] New: ICE: in tsubst_copy, at cp/pt.c:11370 with -frounding-math
@ 2010-10-24  8:54 marc.glisse at normalesup dot org
  2010-10-24 10:19 ` [Bug c++/46156] " silver24k at gmail dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: marc.glisse at normalesup dot org @ 2010-10-24  8:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46156

           Summary: ICE: in tsubst_copy, at cp/pt.c:11370 with
                    -frounding-math
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: marc.glisse@normalesup.org


This problem appeared around the same time as the fix for PR c++/46129, so they
may be related. When I compile this code with -frounding-math:

template < typename K >
void
linear_least_squares_fitting_2()
{
  double temp[4] = {1/3.0, 0.25, 0.25,  1/3.0};
}

int main()
{
  linear_least_squares_fitting_2<int>();
}


I get the error:

bug.cpp: In function ‘void linear_least_squares_fitting_2() [with K = int]’:
bug.cpp:10:39:   instantiated from here
bug.cpp:5:46: internal compiler error: in tsubst_copy, at cp/pt.c:11370
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-12-19  7:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-24  8:54 [Bug c++/46156] New: ICE: in tsubst_copy, at cp/pt.c:11370 with -frounding-math marc.glisse at normalesup dot org
2010-10-24 10:19 ` [Bug c++/46156] " silver24k at gmail dot com
2010-10-24 13:44 ` hjl.tools at gmail dot com
2010-10-24 13:46 ` [Bug c++/46156] [4.6 Regression] " hjl.tools at gmail dot com
2010-10-26  0:53 ` jakub at gcc dot gnu.org
2010-11-08 10:35 ` jakub at gcc dot gnu.org
2010-11-08 11:01 ` marc.glisse at normalesup dot org
2010-11-10 16:27 ` jakub at gcc dot gnu.org
2010-11-10 17:02 ` marc.glisse at normalesup dot org
2010-11-10 17:24 ` hjl.tools at gmail dot com
2010-11-10 17:34 ` jakub at gcc dot gnu.org
2010-11-10 21:00 ` marc.glisse at normalesup dot org
2010-11-10 21:17 ` jakub at gcc dot gnu.org
2010-12-19  7:39 ` silver24k at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).