public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/56246] New: [4.8 regression] ICE in assign_by_spills, at lra-assigns.c:1262
@ 2013-02-07 18:51 ppluzhnikov at google dot com
  2013-02-07 20:20 ` [Bug c/56246] " jakub at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: ppluzhnikov at google dot com @ 2013-02-07 18:51 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56246
           Summary: [4.8 regression] ICE in assign_by_spills, at
                    lra-assigns.c:1262
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ppluzhnikov@google.com


Test case:

void NoBarrier_AtomicExchange (long long *ptr) {
  while (__sync_val_compare_and_swap (ptr, 1, 0) );
}

Using g++ (GCC) 4.8.0 20130205 (experimental):

g++ -c -m32 -O2 -fPIC -fno-omit-frame-pointer test.ii

test.ii: In function 'void NoBarrier_AtomicExchange(long long int*)':
test.ii:3:1: internal compiler error: in assign_by_spills, at
lra-assigns.c:1262
 }
 ^
0x995de3 assign_by_spills
        ../../gcc/lra-assigns.c:1262
0x996a93 lra_assign()
        ../../gcc/lra-assigns.c:1419
0x992d11 lra(_IO_FILE*)
        ../../gcc/lra.c:2308
0x95ae78 do_reload
        ../../gcc/ira.c:4623
0x95ae78 rest_of_handle_reload
        ../../gcc/ira.c:4736
Please submit a full bug report,
with preprocessed source if appropriate.


Same crash after update to r195864.


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

end of thread, other threads:[~2013-02-12 18:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 18:51 [Bug c/56246] New: [4.8 regression] ICE in assign_by_spills, at lra-assigns.c:1262 ppluzhnikov at google dot com
2013-02-07 20:20 ` [Bug c/56246] " jakub at gcc dot gnu.org
2013-02-08 15:32 ` [Bug rtl-optimization/56246] " rguenth at gcc dot gnu.org
2013-02-08 16:40 ` vmakarov at gcc dot gnu.org
2013-02-08 21:59 ` vmakarov at gcc dot gnu.org
2013-02-12 18:14 ` steven 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).