public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/29686]  New: [4.1 Regression] ICE when building the kernel on ARM
@ 2006-11-02  6:49 vapier at gentoo dot org
  2006-11-02  6:53 ` [Bug target/29686] " vapier at gentoo dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2006-11-02  6:49 UTC (permalink / raw)
  To: gcc-bugs

when cross-compiling the kernel for ARM with gcc-4.1.1, we hit an ICE:

include/asm/arch/io.h: In function 'imu_dev_init':
include/asm/arch/io.h:43: internal compiler error: Segmentation fault

checked on a Gentoo ppc/x86_64 host for the arm target with gcc-3.4.6 and
gcc-4.1.1 and gcc-4.1-20061027 gcc-4.2-20061014 ... only the 4.1.x versions
failed


-- 
           Summary: [4.1 Regression] ICE when building the kernel on ARM
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: vapier at gentoo dot org
  GCC host triplet: x86_64-linux
GCC target triplet: arm-linux


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


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

* [Bug target/29686] [4.1 Regression] ICE when building the kernel on ARM
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
@ 2006-11-02  6:53 ` vapier at gentoo dot org
  2006-11-02  6:54 ` vapier at gentoo dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2006-11-02  6:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from vapier at gentoo dot org  2006-11-02 06:53 -------
Created an attachment (id=12532)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12532&action=view)
PR29686-reduced-O1-only.i

this is a reduced test case that only fails with -O1 :)

vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-reduced-O1-only.i -O0
vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-reduced-O1-only.i -O2
vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-reduced-O1-only.i -O3
vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-reduced-O1-only.i -O1
PR29686-reduced-O1-only.i: In function 'meremap':
PR29686-reduced-O1-only.i:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.


-- 


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


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

* [Bug target/29686] [4.1 Regression] ICE when building the kernel on ARM
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
  2006-11-02  6:53 ` [Bug target/29686] " vapier at gentoo dot org
@ 2006-11-02  6:54 ` vapier at gentoo dot org
  2006-11-02 13:40 ` falk at debian dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: vapier at gentoo dot org @ 2006-11-02  6:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from vapier at gentoo dot org  2006-11-02 06:54 -------
Created an attachment (id=12533)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12533&action=view)
PR29686-original.i

this is the original testcase that fails at -O[123] but not -O0

vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-original.i -O0
vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-original.i -O1
include/asm/arch/io.h: In function 'imu_dev_init':
include/asm/arch/io.h:43: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-original.i -O2
include/asm/arch/io.h: In function 'imu_dev_init':
include/asm/arch/io.h:43: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
vapier@G5[ppc] 0 ~ $ arm-unknown-linux-gnu-gcc -c PR29686-original.i -O3
include/asm/arch/io.h: In function 'imu_dev_init':
include/asm/arch/io.h:43: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.


-- 


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


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

* [Bug target/29686] [4.1 Regression] ICE when building the kernel on ARM
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
  2006-11-02  6:53 ` [Bug target/29686] " vapier at gentoo dot org
  2006-11-02  6:54 ` vapier at gentoo dot org
@ 2006-11-02 13:40 ` falk at debian dot org
  2007-01-21 21:45 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: falk at debian dot org @ 2006-11-02 13:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from falk at debian dot org  2006-11-02 13:40 -------
Confirmed with a native 4.1.2 20061020.


-- 

falk at debian dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1


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


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

* [Bug target/29686] [4.1 Regression] ICE when building the kernel on ARM
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
                   ` (2 preceding siblings ...)
  2006-11-02 13:40 ` falk at debian dot org
@ 2007-01-21 21:45 ` pinskia at gcc dot gnu dot org
  2007-01-22 12:04 ` [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch rearnsha at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-21 21:45 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.2


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


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

* [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
                   ` (3 preceding siblings ...)
  2007-01-21 21:45 ` pinskia at gcc dot gnu dot org
@ 2007-01-22 12:04 ` rearnsha at gcc dot gnu dot org
  2007-02-05  5:23 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2007-01-22 12:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rearnsha at gcc dot gnu dot org  2007-01-22 12:04 -------
The reduced testcase also ices on a native i386 build.  The problem seems to
crop up somewhere in t81.ivopts pass where a switch statement variable is
transformed from an integral calculation into a cast of a void* pointer to an
integral expression.  Further simplification then removes that cast and thus
causes an invalid type to be passed to the switch expander.  This then crashes
because the pointer type has no 'min value'.


-- 

rearnsha at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rearnsha at gcc dot gnu dot
                   |                            |org
          Component|target                      |tree-optimization
 GCC target triplet|arm-linux                   |
            Summary|[4.1 Regression] ICE when   |[4.1 Regression] ICE when
                   |building the kernel on ARM  |expanding recursive function
                   |                            |containing switch


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


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

* [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
                   ` (4 preceding siblings ...)
  2007-01-22 12:04 ` [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch rearnsha at gcc dot gnu dot org
@ 2007-02-05  5:23 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:03 ` mmitchel at gcc dot gnu dot org
  2008-07-04 15:54 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-05  5:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
                   ` (5 preceding siblings ...)
  2007-02-05  5:23 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:03 ` mmitchel at gcc dot gnu dot org
  2008-07-04 15:54 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch
  2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
                   ` (6 preceding siblings ...)
  2007-02-14  9:03 ` mmitchel at gcc dot gnu dot org
@ 2008-07-04 15:54 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 15:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-07-04 15:53 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|4.1.1                       |4.1.1 4.1.3
         Resolution|                            |FIXED
   Target Milestone|4.1.3                       |4.2.0


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


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-02  6:49 [Bug target/29686] New: [4.1 Regression] ICE when building the kernel on ARM vapier at gentoo dot org
2006-11-02  6:53 ` [Bug target/29686] " vapier at gentoo dot org
2006-11-02  6:54 ` vapier at gentoo dot org
2006-11-02 13:40 ` falk at debian dot org
2007-01-21 21:45 ` pinskia at gcc dot gnu dot org
2007-01-22 12:04 ` [Bug tree-optimization/29686] [4.1 Regression] ICE when expanding recursive function containing switch rearnsha at gcc dot gnu dot org
2007-02-05  5:23 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:03 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:54 ` 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).