public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/42981]  New: internal compiler error: in default_secondary_reload, at targhooks.c:660
@ 2010-02-06  0:05 raj dot khem at gmail dot com
  2010-02-06  0:06 ` [Bug target/42981] " raj dot khem at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: raj dot khem at gmail dot com @ 2010-02-06  0:05 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

gcc ICE's when compiling attached example

arm-none-eabi-gcc lib_pad.i -c -O  -fPIC -mthumb

../ncurses/./base/lib_pad.c: In function ‘pnoutrefresh’:
../ncurses/./base/lib_pad.c:218: internal compiler error: in
default_secondary_reload, at targhooks.c:660
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Target: arm-none-eabi
Configured with: ../sources/gcc-4_4-branch/configure --target=arm-none-eabi
--prefix=/scratch/oss/baremetal/arm-none-eabi/tools --enable-languages=c,c++
--with-newlib
Thread model: single
gcc version 4.4.4 20100203 (prerelease) (GCC)


-- 
           Summary: internal compiler error: in default_secondary_reload, at
                    targhooks.c:660
           Product: gcc
           Version: 4.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raj dot khem at gmail dot com
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: arm-none-eabi


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


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

* [Bug target/42981] internal compiler error: in default_secondary_reload, at targhooks.c:660
  2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
@ 2010-02-06  0:06 ` raj dot khem at gmail dot com
  2010-02-06 13:21 ` rearnsha at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: raj dot khem at gmail dot com @ 2010-02-06  0:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from raj dot khem at gmail dot com  2010-02-06 00:06 -------
Created an attachment (id=19811)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19811&action=view)
testcase


-- 


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


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

* [Bug target/42981] internal compiler error: in default_secondary_reload, at targhooks.c:660
  2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
  2010-02-06  0:06 ` [Bug target/42981] " raj dot khem at gmail dot com
@ 2010-02-06 13:21 ` rearnsha at gcc dot gnu dot org
  2010-02-06 13:22 ` rearnsha at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-02-06 13:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rearnsha at gcc dot gnu dot org  2010-02-06 13:21 -------
Confirmed


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-06 13:21:34
               date|                            |


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


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

* [Bug target/42981] internal compiler error: in default_secondary_reload, at targhooks.c:660
  2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
  2010-02-06  0:06 ` [Bug target/42981] " raj dot khem at gmail dot com
  2010-02-06 13:21 ` rearnsha at gcc dot gnu dot org
@ 2010-02-06 13:22 ` rearnsha at gcc dot gnu dot org
  2010-02-06 21:08 ` mikpe at it dot uu dot se
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2010-02-06 13:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rearnsha at gcc dot gnu dot org  2010-02-06 13:22 -------
Created an attachment (id=19813)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19813&action=view)
Reduced test case


-- 


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


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

* [Bug target/42981] internal compiler error: in default_secondary_reload, at targhooks.c:660
  2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
                   ` (2 preceding siblings ...)
  2010-02-06 13:22 ` rearnsha at gcc dot gnu dot org
@ 2010-02-06 21:08 ` mikpe at it dot uu dot se
  2010-02-07 11:17 ` mikpe at it dot uu dot se
  2010-02-07 11:54 ` mikpe at it dot uu dot se
  5 siblings, 0 replies; 7+ messages in thread
From: mikpe at it dot uu dot se @ 2010-02-06 21:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mikpe at it dot uu dot se  2010-02-06 21:08 -------
A bisection has identified this as a regression on 4.4 branch triggered by
r147081, the fix for PR39914. The same change was committed to trunk too, but
for some reason doesn't trigger the ICE there.


-- 

mikpe at it dot uu dot se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu dot se


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


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

* [Bug target/42981] internal compiler error: in default_secondary_reload, at targhooks.c:660
  2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
                   ` (3 preceding siblings ...)
  2010-02-06 21:08 ` mikpe at it dot uu dot se
@ 2010-02-07 11:17 ` mikpe at it dot uu dot se
  2010-02-07 11:54 ` mikpe at it dot uu dot se
  5 siblings, 0 replies; 7+ messages in thread
From: mikpe at it dot uu dot se @ 2010-02-07 11:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mikpe at it dot uu dot se  2010-02-07 11:17 -------
(In reply to comment #4)
> A bisection has identified this as a regression on 4.4 branch triggered by
> r147081, the fix for PR39914. The same change was committed to trunk too, but
> for some reason doesn't trigger the ICE there.

Trunk also ICEd on this test case for a while, but that was fixed by r147282,
one of several fixes to fwprop/df-problems.


-- 


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


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

* [Bug target/42981] internal compiler error: in default_secondary_reload, at targhooks.c:660
  2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
                   ` (4 preceding siblings ...)
  2010-02-07 11:17 ` mikpe at it dot uu dot se
@ 2010-02-07 11:54 ` mikpe at it dot uu dot se
  5 siblings, 0 replies; 7+ messages in thread
From: mikpe at it dot uu dot se @ 2010-02-07 11:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mikpe at it dot uu dot se  2010-02-07 11:54 -------
gcc-4.5-20100204 ICEs with -O1 -fno-forward-propagate -fPIC -mthumb on the
original test case. So r147282, which enabled fwprop at -O1, merely masked the
problem.


-- 


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


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

end of thread, other threads:[~2010-02-07 11:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-06  0:05 [Bug target/42981] New: internal compiler error: in default_secondary_reload, at targhooks.c:660 raj dot khem at gmail dot com
2010-02-06  0:06 ` [Bug target/42981] " raj dot khem at gmail dot com
2010-02-06 13:21 ` rearnsha at gcc dot gnu dot org
2010-02-06 13:22 ` rearnsha at gcc dot gnu dot org
2010-02-06 21:08 ` mikpe at it dot uu dot se
2010-02-07 11:17 ` mikpe at it dot uu dot se
2010-02-07 11:54 ` mikpe at it dot uu dot se

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