public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071
@ 2010-10-04 19:02 rmansfield at qnx dot com
  2010-12-03 10:23 ` [Bug target/45885] " ramana at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rmansfield at qnx dot com @ 2010-10-04 19:02 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in arm_dbx_register_number, at
                    config/arm/arm.c:22071
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rmansfield@qnx.com


$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnu
Configured with: ../configure --target=arm-unknown-linux-gnu
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnu
--with-headers=/home/ryan/x-tools/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnu/arm-unknown-linux-gnu
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
--enable-languages=c --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 4.6.0 20101004 (experimental) [trunk revision 164952] (GCC) 


$ ./xgcc -B. -c -O3 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon -g ~/ice.i
/home/ryan/ice.i: In function 'OVGTessellateFillPath':
/home/ryan/ice.i:80:16: warning: incompatible implicit declaration of built-in
function 'fabsf' [enabled by default]
/home/ryan/ice.i:103:2: warning: visibility attribute not supported in this
configuration; ignored [-Wattributes]
/home/ryan/ice.i:103:2: internal compiler error: in arm_dbx_register_number, at
config/arm/arm.c:22071
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
@ 2010-12-03 10:23 ` ramana at gcc dot gnu.org
  2010-12-03 12:25 ` rmansfield at qnx dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu.org @ 2010-12-03 10:23 UTC (permalink / raw)
  To: gcc-bugs

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

Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2010.12.03 10:22:45
                 CC|                            |ramana at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2010-12-03 10:22:45 UTC ---
As I've said in the past, the arm-none-linux-gnu target really hasn't been
validated for neon support and thus it is likely that there are parts which are
just broken. Thus expecting that this will *work* is probably not correct. 

This configuration is strictly in maintenance mode only and I would encourage
you to move on to linux-gnueabi .

Ramana


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
  2010-12-03 10:23 ` [Bug target/45885] " ramana at gcc dot gnu.org
@ 2010-12-03 12:25 ` rmansfield at qnx dot com
  2010-12-03 13:22 ` ramana at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rmansfield at qnx dot com @ 2010-12-03 12:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Ryan Mansfield <rmansfield at qnx dot com> 2010-12-03 12:25:04 UTC ---
(In reply to comment #2)
> As I've said in the past, the arm-none-linux-gnu target really hasn't been
> validated for neon support and thus it is likely that there are parts which are
> just broken. Thus expecting that this will *work* is probably not correct. 
> 
> This configuration is strictly in maintenance mode only and I would encourage
> you to move on to linux-gnueabi .

This bug, as are the other ones I filed are not strictly limited to
arm-none-linux-gnu. I am simply using a using arm-none-linux-gnu toolchain to
reproduce and report the issue. These likely effect all apcs-gnu toolchains,
and looking at config.gcc, there are more configurations that follow that than
gnueabi configurations. So basically you're saying that NEON is only supported
in arm-none-linux-gnueabi configurations because it's only been tested there. 

As for the expecting it to work, ICE are always bugs so until support for these
configurations are removed these are valid bugs. Whether bugs get closed, as
fixed or wontfix, doesn't make them less of a bug.


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
  2010-12-03 10:23 ` [Bug target/45885] " ramana at gcc dot gnu.org
  2010-12-03 12:25 ` rmansfield at qnx dot com
@ 2010-12-03 13:22 ` ramana at gcc dot gnu.org
  2011-06-21 13:04 ` rmansfield at qnx dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu.org @ 2010-12-03 13:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2010-12-03 13:21:48 UTC ---
(In reply to comment #0)
> $ ./xgcc -v
> Using built-in specs.
> COLLECT_GCC=./xgcc
> Target: arm-unknown-linux-gnu
> Configured with: ../configure --target=arm-unknown-linux-gnu
> --prefix=/home/ryan/x-tools/arm-unknown-linux-gnu
> --with-headers=/home/ryan/x-tools/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include
> --with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnu/arm-unknown-linux-gnu
> --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit
> --enable-languages=c --enable-shared --enable-c99 --enable-long-long
> Thread model: posix
> gcc version 4.6.0 20101004 (experimental) [trunk revision 164952] (GCC) 
> 
> 
> $ ./xgcc -B. -c -O3 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon -g ~/ice.i


What happens if you do a -mcpu=cortex-a8 ?


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
                   ` (2 preceding siblings ...)
  2010-12-03 13:22 ` ramana at gcc dot gnu.org
@ 2011-06-21 13:04 ` rmansfield at qnx dot com
  2011-08-10 20:03 ` rmansfield at qnx dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rmansfield at qnx dot com @ 2011-06-21 13:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Ryan Mansfield <rmansfield at qnx dot com> 2011-06-21 13:03:18 UTC ---
(In reply to comment #4)
> (In reply to comment #0)
> > $ ./xgcc -B. -c -O3 -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon -g ~/ice.i
> 
> 
> What happens if you do a -mcpu=cortex-a8 ?

The ICE doesn't happen if -mcpu=cortex-a8 is specified. I no longer reproduce
the ICE on trunk, only the 4.6 branch now. The ICE no longer happens with rev
171649 + 171713 applied.


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
                   ` (3 preceding siblings ...)
  2011-06-21 13:04 ` rmansfield at qnx dot com
@ 2011-08-10 20:03 ` rmansfield at qnx dot com
  2011-08-10 20:07 ` rmansfield at qnx dot com
  2013-12-17 16:48 ` rmansfield at qnx dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rmansfield at qnx dot com @ 2011-08-10 20:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Ryan Mansfield <rmansfield at qnx dot com> 2011-08-10 20:02:15 UTC ---
May be separate issue but I'm seeing the same ICE (gcc_unreachable in
arm_dbx_register_number) with an gnueabi configuration with the following
testcase.

$ cat ~/ice.i
static unsigned char dwarf_reg_size_table[128 + 1];

static void foo ()
{
  __builtin_init_dwarf_reg_size_table (dwarf_reg_size_table);
}
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp
Thread model: posix
gcc version 4.7.0 20110810 (experimental) [trunk revision 177632] (GCC) 
$ ./xgcc -B. ~/ice.i -g
/home/ryan/ice.i: In function 'foo':
/home/ryan/ice.i:5:39: internal compiler error: in arm_dbx_register_number, at
config/arm/arm.c:22866
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
                   ` (4 preceding siblings ...)
  2011-08-10 20:03 ` rmansfield at qnx dot com
@ 2011-08-10 20:07 ` rmansfield at qnx dot com
  2013-12-17 16:48 ` rmansfield at qnx dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rmansfield at qnx dot com @ 2011-08-10 20:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Ryan Mansfield <rmansfield at qnx dot com> 2011-08-10 20:06:44 UTC ---
Looks like latest testcase is a known issue. Bug29693


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

* [Bug target/45885] ICE in arm_dbx_register_number, at config/arm/arm.c:22071
  2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
                   ` (5 preceding siblings ...)
  2011-08-10 20:07 ` rmansfield at qnx dot com
@ 2013-12-17 16:48 ` rmansfield at qnx dot com
  6 siblings, 0 replies; 8+ messages in thread
From: rmansfield at qnx dot com @ 2013-12-17 16:48 UTC (permalink / raw)
  To: gcc-bugs

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

Ryan Mansfield <rmansfield at qnx dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Ryan Mansfield <rmansfield at qnx dot com> ---
ARM OABI is no longer a supported target


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

end of thread, other threads:[~2013-12-17 16:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-04 19:02 [Bug target/45885] New: ICE in arm_dbx_register_number, at config/arm/arm.c:22071 rmansfield at qnx dot com
2010-12-03 10:23 ` [Bug target/45885] " ramana at gcc dot gnu.org
2010-12-03 12:25 ` rmansfield at qnx dot com
2010-12-03 13:22 ` ramana at gcc dot gnu.org
2011-06-21 13:04 ` rmansfield at qnx dot com
2011-08-10 20:03 ` rmansfield at qnx dot com
2011-08-10 20:07 ` rmansfield at qnx dot com
2013-12-17 16:48 ` rmansfield at qnx dot com

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