public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/50890] New: [4.7 Regression] ICE in fold_convert_loc, at fold-const.c:1894
@ 2011-10-27 21:54 belyshev at depni dot sinp.msu.ru
  2011-10-28  9:45 ` [Bug middle-end/50890] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: belyshev at depni dot sinp.msu.ru @ 2011-10-27 21:54 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50890
           Summary: [4.7 Regression] ICE in fold_convert_loc, at
                    fold-const.c:1894
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: belyshev@depni.sinp.msu.ru
                CC: hubicka@gcc.gnu.org


r172609
(http://gcc.gnu.org/viewcvs?limit_changes=0&view=revision&revision=172609)
caused ICE with -O2 or -O1 -finline-small-functions on this (invalid?)
testcase, note function pointer type cast:

static float make_insn_raw (void)
{
  return 0;
}

static int emit_pattern_after_noloc (int (make_raw) ()) 
{
  return make_raw ();
}

void emit_insn_after_noloc (void) 
{
  emit_pattern_after_noloc ((void *) make_insn_raw);
}

bug.c:8:3: internal compiler error: in fold_convert_loc, at fold-const.c:1894


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

end of thread, other threads:[~2011-11-03 19:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-27 21:54 [Bug middle-end/50890] New: [4.7 Regression] ICE in fold_convert_loc, at fold-const.c:1894 belyshev at depni dot sinp.msu.ru
2011-10-28  9:45 ` [Bug middle-end/50890] " rguenth at gcc dot gnu.org
2011-10-28 12:45 ` rguenth at gcc dot gnu.org
2011-11-02  8:46 ` rguenth at gcc dot gnu.org
2011-11-02  8:48 ` rguenth at gcc dot gnu.org
2011-11-03 19:18 ` ebotcazou at gcc dot gnu.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).