public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28255]  New: [4.1/4.2 regression] ICE with initialization in template
@ 2006-07-04 23:34 reichelt at gcc dot gnu dot org
  2006-07-04 23:36 ` [Bug c++/28255] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-07-04 23:34 UTC (permalink / raw)
  To: gcc-bugs

The following valid testcase triggers a segfault since GCC 4.1.0:

=========================================
template<int> void foo()
{
  int i = (int){ 0 };
}
=========================================

bug.cc: In function 'void foo()':
bug.cc:3: internal compiler error: Segmentation fault
Please submit a full bug report, [etc.]

Maybe related to PR28248.


-- 
           Summary: [4.1/4.2 regression] ICE with initialization in template
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-07-04 15:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-04 23:34 [Bug c++/28255] New: [4.1/4.2 regression] ICE with initialization in template reichelt at gcc dot gnu dot org
2006-07-04 23:36 ` [Bug c++/28255] " pinskia at gcc dot gnu dot org
2006-07-04 23:37 ` pinskia at gcc dot gnu dot org
2006-07-05 11:03 ` rguenth at gcc dot gnu dot org
2006-07-17  3:05 ` mmitchel at gcc dot gnu dot org
2006-08-09 15:46 ` janis at gcc dot gnu dot org
2006-08-18  4:29 ` [Bug c++/28255] [4.1/4.2 regression] ICE with C99 compund literal (scalar), initializer and templates pinskia at gcc dot gnu dot org
2006-08-22 20:22 ` jason at gcc dot gnu dot org
2006-08-22 20:26 ` pinskia at gcc dot gnu dot org
2006-10-17  7:17 ` [Bug c++/28255] [4.1/4.2 regression] ICE with (GNU extension) " mmitchel at gcc dot gnu dot org
2006-10-17  7:49 ` pinskia at gcc dot gnu dot org
2006-10-23 19:12 ` [Bug c++/28255] [4.1 " reichelt at gcc dot gnu dot org
2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:39 ` jsm28 at gcc dot gnu dot org

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).