public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/57091] New: [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -mcmodel=large and indirect call
@ 2013-04-27 17:05 zsojka at seznam dot cz
  2013-04-30 15:11 ` [Bug target/57091] " ubizjak at gmail dot com
  2013-05-02 19:28 ` jakub at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2013-04-27 17:05 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 57091
           Summary: [4.8/4.9 Regression] ICE: in assign_by_spills, at
                    lra-assigns.c:1268 with -mcmodel=large and indirect
                    call
    Classification: Unclassified
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 29953
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29953
reduced testcase

Compiler output:
$ gcc -O -mcmodel=large testcase.c 
testcase.c: In function 'foo':
testcase.c:6:1: internal compiler error: in assign_by_spills, at
lra-assigns.c:1270
 }
 ^
0x8f04a4 assign_by_spills
        /mnt/svn/gcc-trunk/gcc/lra-assigns.c:1270
0x8f1693 lra_assign()
        /mnt/svn/gcc-trunk/gcc/lra-assigns.c:1427
0x8ece6c lra(_IO_FILE*)
        /mnt/svn/gcc-trunk/gcc/lra.c:2308
0x8a0268 do_reload
        /mnt/svn/gcc-trunk/gcc/ira.c:4619
0x8a0268 rest_of_handle_reload
        /mnt/svn/gcc-trunk/gcc/ira.c:4731
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r198354 - crash
4.8 r198018 - crash
4.7 r198018 - OK


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

* [Bug target/57091] [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -mcmodel=large and indirect call
  2013-04-27 17:05 [Bug target/57091] New: [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -mcmodel=large and indirect call zsojka at seznam dot cz
@ 2013-04-30 15:11 ` ubizjak at gmail dot com
  2013-05-02 19:28 ` jakub at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ubizjak at gmail dot com @ 2013-04-30 15:11 UTC (permalink / raw)
  To: gcc-bugs


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

Uros Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-04-30
                 CC|                            |vmakarov at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2013-04-30 15:11:38 UTC ---
Confirmed, adding CC.


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

* [Bug target/57091] [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -mcmodel=large and indirect call
  2013-04-27 17:05 [Bug target/57091] New: [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -mcmodel=large and indirect call zsojka at seznam dot cz
  2013-04-30 15:11 ` [Bug target/57091] " ubizjak at gmail dot com
@ 2013-05-02 19:28 ` jakub at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-05-02 19:28 UTC (permalink / raw)
  To: gcc-bugs


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jakub at gcc dot gnu.org
         Resolution|                            |FIXED
   Target Milestone|---                         |4.8.1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-05-02 19:28:38 UTC ---
Author: vmakarov
Date: Thu May  2 19:02:19 2013
New Revision: 198558

URL: http://gcc.gnu.org/viewcvs?rev=198558&root=gcc&view=rev
Log:
2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>

    * lra-constraints.c (process_alt_operands): Add checking alt
    number to choose the best alternative.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c

Author: vmakarov
Date: Wed May  1 18:54:17 2013
New Revision: 198503

URL: http://gcc.gnu.org/viewcvs?rev=198503&root=gcc&view=rev
Log:
2013-05-01  Vladimir Makarov  <vmakarov@redhat.com>

    PR target/57091
    * lra-constraints.c (best_small_class_operands_num): Remove.
    (process_alt_operands): Remove small_class_operands_num.  Take
    small classes operands into losers and only if the operand is not
    matched.  Modify debugging output.
    (curr_insn_transform): Remove best_small_class_operands_num.
    Print insn name.

2013-05-01  Vladimir Makarov  <vmakarov@redhat.com>

    PR target/57091
    * gcc.target/i386/pr57091.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/pr57091.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c
    trunk/gcc/testsuite/ChangeLog
Author: vmakarov
Date: Thu May  2 19:16:29 2013
New Revision: 198559

URL: http://gcc.gnu.org/viewcvs?rev=198559&root=gcc&view=rev
Log:
2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>

    Backport from mainline
    2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>

    * lra-constraints.c (process_alt_operands): Add checking alt
    number to choose the best alternative.

    2013-05-01  Vladimir Makarov  <vmakarov@redhat.com>

    PR target/57091
    * lra-constraints.c (best_small_class_operands_num): Remove.
    (process_alt_operands): Remove small_class_operands_num.  Take
    small classes operands into losers and only if the operand is not
    matched.  Modify debugging output.
    (curr_insn_transform): Remove best_small_class_operands_num.
    Print insn name.

2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>

    Backport from mainline
    PR target/57091
    * gcc.target/i386/pr57091.c: New test.


Added:
    branches/gcc-4_8-branch/gcc/testsuite/gcc.target/i386/pr57091.c
Modified:
    branches/gcc-4_8-branch/gcc/ChangeLog
    branches/gcc-4_8-branch/gcc/lra-constraints.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


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

end of thread, other threads:[~2013-05-02 19:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-27 17:05 [Bug target/57091] New: [4.8/4.9 Regression] ICE: in assign_by_spills, at lra-assigns.c:1268 with -mcmodel=large and indirect call zsojka at seznam dot cz
2013-04-30 15:11 ` [Bug target/57091] " ubizjak at gmail dot com
2013-05-02 19:28 ` jakub 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).