public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;"
@ 2012-04-05 15:11 Wolfgang.Thumser@t-systems.com
  2012-04-05 15:21 ` [Bug target/52877] " pinskia at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Wolfgang.Thumser@t-systems.com @ 2012-04-05 15:11 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52877
           Summary: ARC cross-compiler cc1 fails on "x=-1;"
    Classification: Unclassified
           Product: gcc
           Version: 4.2.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Wolfgang.Thumser@t-systems.com


the exact version of GCC: cc1 --version:
GNU C version 4.2.1 (ARC_2.4) (arc-elf32)
compiled by GNU C version 4.6.3.

the system type: uname -a:
Linux acer 3.2-11.slh.1-aptosid-amd64 #1 SMP PREEMPT Wed Mar 14 00:56:37 UTC
2012 x86_64 GNU/Linux

the options when GCC was configured/built:
configure  --prefix=/opt/arc --target=arc-elf32 --with-newlib --with-headers
--enable-multilib --enable-languages=c,c++
(gcc taken from sourceforge as arc_gcc_rel2.4.tar.gz)

the exact command line passed to the gcc program triggering the bug:
./cc1 -o tst.s tst.c

a collection of source files for reproducing the bug:
---------- tst.c  ------------------------
int x;

void tst(void){
x=-1;
}
------------------------------------------

a description of the expected behavior:
same bahavior as for "x=1;"

a description of actual behavior:
eval@acer:/tmp$ ./cc1 -o tst.s tst.c
 tst
tst.c: In function ‘tst’:
tst.c:5: error: unrecognizable insn:
(insn 7 5 8 3 (set (reg:SI 151)
        (const_int -1 [0xffffffffffffffff])) -1 (nil)
    (nil))
tst.c:5: internal compiler error: in extract_insn, at recog.c:2077
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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

* [Bug target/52877] ARC cross-compiler cc1 fails on "x=-1;"
  2012-04-05 15:11 [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;" Wolfgang.Thumser@t-systems.com
@ 2012-04-05 15:21 ` pinskia at gcc dot gnu.org
  2012-04-23 19:55 ` joseph at codesourcery dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-05 15:21 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|                            |arc-elf32
          Component|c                           |target
           Severity|major                       |normal


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

* [Bug target/52877] ARC cross-compiler cc1 fails on "x=-1;"
  2012-04-05 15:11 [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;" Wolfgang.Thumser@t-systems.com
  2012-04-05 15:21 ` [Bug target/52877] " pinskia at gcc dot gnu.org
@ 2012-04-23 19:55 ` joseph at codesourcery dot com
  2021-09-20  8:59 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: joseph at codesourcery dot com @ 2012-04-23 19:55 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-04-23 19:55:25 UTC ---
ARC support was obsoleted in 4.6 and removed for 4.7, so this should be 
closed WONTFIX.


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

* [Bug target/52877] ARC cross-compiler cc1 fails on "x=-1;"
  2012-04-05 15:11 [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;" Wolfgang.Thumser@t-systems.com
  2012-04-05 15:21 ` [Bug target/52877] " pinskia at gcc dot gnu.org
  2012-04-23 19:55 ` joseph at codesourcery dot com
@ 2021-09-20  8:59 ` pinskia at gcc dot gnu.org
  2021-09-20  9:00 ` pinskia at gcc dot gnu.org
  2021-09-20  9:05 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  8:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52877

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Closing as won't fix as arc was removed.

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

* [Bug target/52877] ARC cross-compiler cc1 fails on "x=-1;"
  2012-04-05 15:11 [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;" Wolfgang.Thumser@t-systems.com
                   ` (2 preceding siblings ...)
  2021-09-20  8:59 ` pinskia at gcc dot gnu.org
@ 2021-09-20  9:00 ` pinskia at gcc dot gnu.org
  2021-09-20  9:05 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  9:00 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52877

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.7.0                       |---
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|WONTFIX                     |---

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It was added back ...

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

* [Bug target/52877] ARC cross-compiler cc1 fails on "x=-1;"
  2012-04-05 15:11 [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;" Wolfgang.Thumser@t-systems.com
                   ` (3 preceding siblings ...)
  2021-09-20  9:00 ` pinskia at gcc dot gnu.org
@ 2021-09-20  9:05 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-20  9:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52877

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.8.0

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> It was added back ...

by r0-125504
So I am just going to assume this was fixed with the updated backend ...

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

end of thread, other threads:[~2021-09-20  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-05 15:11 [Bug c/52877] New: ARC cross-compiler cc1 fails on "x=-1;" Wolfgang.Thumser@t-systems.com
2012-04-05 15:21 ` [Bug target/52877] " pinskia at gcc dot gnu.org
2012-04-23 19:55 ` joseph at codesourcery dot com
2021-09-20  8:59 ` pinskia at gcc dot gnu.org
2021-09-20  9:00 ` pinskia at gcc dot gnu.org
2021-09-20  9:05 ` pinskia 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).