public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf
@ 2007-03-16 21:11 mstein at phenix dot rootshell dot be
2008-03-20 17:02 ` [Bug target/31232] " mstein dot lists at googlemail dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: mstein at phenix dot rootshell dot be @ 2007-03-16 21:11 UTC (permalink / raw)
To: gcc-bugs
Hello,
there seems to be a gcc problem with the target 'xstormy16-elf':
/home/mstein/sim/xstormy16-elf/build/./gcc/xgcc
-B/home/mstein/sim/xstormy16-elf/build/./gcc/ -nostdinc
-B/home/mstein/sim/xstormy16-elf/build/xstormy16-elf/newlib/ -isystem
/home/mstein/sim/xstormy16-elf/build/xstormy16-elf/newlib/targ-include -isystem
/n/07/mstein/combined-trunk/newlib/libc/include
-B/n/07/mstein/cross-local/xstormy16-elf-new/xstormy16-elf/bin/
-B/n/07/mstein/cross-local/xstormy16-elf-new/xstormy16-elf/lib/ -isystem
/n/07/mstein/cross-local/xstormy16-elf-new/xstormy16-elf/include -isystem
/n/07/mstein/cross-local/xstormy16-elf-new/xstormy16-elf/sys-include
-L/home/mstein/sim/xstormy16-elf/build/./ld -O2 -g -O2 -O2 -O2 -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -Os -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.
-I. -I../.././gcc -I/n/07/mstein/combined-trunk/libgcc
-I/n/07/mstein/combined-trunk/libgcc/.
-I/n/07/mstein/combined-trunk/libgcc/../gcc
-I/n/07/mstein/combined-trunk/libgcc/../include
-I/n/07/mstein/combined-trunk/libgcc/../libdecnumber -I../../libdecnumber -o
stormy16-lib2.o -MT stormy16-lib2.o -MD -MP -MF stormy16-lib2.dep -fexceptions
-c /n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c
In file included from
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:46:
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:348: error: expected '=',
',', ';', 'asm' or '__attribute__' before '__bswapsi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:354: error: expected '=',
',', ';', 'asm' or '__attribute__' before '__bswapdi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:52:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'udivmodsi4'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:53:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__divsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:54:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__modsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:55:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__udivsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:56:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__umodsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:57:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ashlsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:58:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ashrsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:59:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__lshrsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:60:
error: conflicting types for '__popcounthi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:447: error: previous
declaration of '__popcounthi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:61:
error: conflicting types for '__parityhi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:449: error: previous
declaration of '__parityhi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:62:
error: conflicting types for '__clzhi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:440: error: previous
declaration of '__clzhi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:63:
error: conflicting types for '__ctzhi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:445: error: previous
declaration of '__ctzhi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:68:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'udivmodsi4'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:95:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__divsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:121:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__modsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:144:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__udivsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:150:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__umodsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:156:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ashlsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:170:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ashrsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:184:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '__lshrsi3'
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:202:
error: conflicting types for '__popcounthi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:447: error: previous
declaration of '__popcounthi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:217:
error: conflicting types for '__parityhi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:449: error: previous
declaration of '__parityhi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:230:
error: conflicting types for '__clzhi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:440: error: previous
declaration of '__clzhi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c: In
function '__clzhi2':
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:231:
warning: comparison is always false due to limited range of data type
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c: At
top level:
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:242:
error: conflicting types for '__ctzhi2'
/n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.h:445: error: previous
declaration of '__ctzhi2' was here
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c: In
function '__ctzhi2':
/n/07/mstein/combined-trunk/libgcc/../gcc/config/stormy16/stormy16-lib2.c:248:
warning: comparison is always false due to limited range of data type
make[2]: *** [stormy16-lib2.o] Error 1
make[2]: Leaving directory
`/home/mstein/sim/xstormy16-elf/build/xstormy16-elf/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/mstein/sim/xstormy16-elf/build'
make: *** [all] Error 2
The SVN revision was 122962.
--
Summary: Problem while compiling gcc for xstormy16-elf
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mstein at phenix dot rootshell dot be
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: xstormy16-elf
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
@ 2008-03-20 17:02 ` mstein dot lists at googlemail dot com
2008-03-26 12:30 ` nickc at redhat dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mstein dot lists at googlemail dot com @ 2008-03-20 17:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from mstein dot lists at googlemail dot com 2008-03-20 17:02 -------
building xstormy16 now fails in:
/home/mstein/combined-trunk/libiberty/cp-demangle.c: In function
'cplus_demangle_type':
/home/mstein/combined-trunk/libiberty/cp-demangle.c:2059: internal compiler
error: in xstormy16_print_operand_address, at config/stormy16/stormy16.c:1718
--
mstein dot lists at googlemail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
2008-03-20 17:02 ` [Bug target/31232] " mstein dot lists at googlemail dot com
@ 2008-03-26 12:30 ` nickc at redhat dot com
2008-03-26 12:31 ` nickc at redhat dot com
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: nickc at redhat dot com @ 2008-03-26 12:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from nickc at redhat dot com 2008-03-26 12:29 -------
Created an attachment (id=15380)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15380&action=view)
Do not allow INT+INT as a legitimate addressing mode
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
2008-03-20 17:02 ` [Bug target/31232] " mstein dot lists at googlemail dot com
2008-03-26 12:30 ` nickc at redhat dot com
@ 2008-03-26 12:31 ` nickc at redhat dot com
2008-03-26 12:33 ` nickc at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: nickc at redhat dot com @ 2008-03-26 12:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from nickc at redhat dot com 2008-03-26 12:30 -------
Hi Mike,
The attached patch takes care of this. I will be applying it shortly.
Cheers
Nick
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
` (2 preceding siblings ...)
2008-03-26 12:31 ` nickc at redhat dot com
@ 2008-03-26 12:33 ` nickc at gcc dot gnu dot org
2008-03-28 8:57 ` mstein dot lists at googlemail dot com
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: nickc at gcc dot gnu dot org @ 2008-03-26 12:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from nickc at gcc dot gnu dot org 2008-03-26 12:33 -------
Subject: Bug 31232
Author: nickc
Date: Wed Mar 26 12:32:22 2008
New Revision: 133598
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133598
Log:
PR target/31232
* config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do
not allow INT+INT as a legitimate addressing mode.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/stormy16/stormy16.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
` (3 preceding siblings ...)
2008-03-26 12:33 ` nickc at gcc dot gnu dot org
@ 2008-03-28 8:57 ` mstein dot lists at googlemail dot com
2008-03-28 9:34 ` nickc at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: mstein dot lists at googlemail dot com @ 2008-03-28 8:57 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from mstein dot lists at googlemail dot com 2008-03-28 08:56 -------
Can the patch be applied to the 4.3 branch too?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
` (5 preceding siblings ...)
2008-03-28 9:34 ` nickc at gcc dot gnu dot org
@ 2008-03-28 9:34 ` nickc at redhat dot com
2008-03-28 10:30 ` mstein dot lists at googlemail dot com
7 siblings, 0 replies; 9+ messages in thread
From: nickc at redhat dot com @ 2008-03-28 9:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from nickc at redhat dot com 2008-03-28 09:33 -------
Subject: Re: Problem while compiling gcc for xstormy16-elf
Hi Mike,
> Can the patch be applied to the 4.3 branch too?
Done.
Cheers
Nick
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
` (4 preceding siblings ...)
2008-03-28 8:57 ` mstein dot lists at googlemail dot com
@ 2008-03-28 9:34 ` nickc at gcc dot gnu dot org
2008-03-28 9:34 ` nickc at redhat dot com
2008-03-28 10:30 ` mstein dot lists at googlemail dot com
7 siblings, 0 replies; 9+ messages in thread
From: nickc at gcc dot gnu dot org @ 2008-03-28 9:34 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from nickc at gcc dot gnu dot org 2008-03-28 09:33 -------
Subject: Bug 31232
Author: nickc
Date: Fri Mar 28 09:33:01 2008
New Revision: 133677
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133677
Log:
PR target/31232
* config/stormy16/stormy16.c (xstormy16_legitimate_address_p): Do
not allow INT+INT as a legitimate addressing mode.
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/config/stormy16/stormy16.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug target/31232] Problem while compiling gcc for xstormy16-elf
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
` (6 preceding siblings ...)
2008-03-28 9:34 ` nickc at redhat dot com
@ 2008-03-28 10:30 ` mstein dot lists at googlemail dot com
7 siblings, 0 replies; 9+ messages in thread
From: mstein dot lists at googlemail dot com @ 2008-03-28 10:30 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mstein dot lists at googlemail dot com 2008-03-28 10:30 -------
Fixed :)
--
mstein dot lists at googlemail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31232
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-03-28 10:30 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-16 21:11 [Bug target/31232] New: Problem while compiling gcc for xstormy16-elf mstein at phenix dot rootshell dot be
2008-03-20 17:02 ` [Bug target/31232] " mstein dot lists at googlemail dot com
2008-03-26 12:30 ` nickc at redhat dot com
2008-03-26 12:31 ` nickc at redhat dot com
2008-03-26 12:33 ` nickc at gcc dot gnu dot org
2008-03-28 8:57 ` mstein dot lists at googlemail dot com
2008-03-28 9:34 ` nickc at gcc dot gnu dot org
2008-03-28 9:34 ` nickc at redhat dot com
2008-03-28 10:30 ` mstein dot lists at googlemail 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).