public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
@ 2006-09-25 22:52 debian-gcc at lists dot debian dot org
2006-09-25 22:59 ` [Bug target/29230] " pinskia at gcc dot gnu dot org
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-25 22:52 UTC (permalink / raw)
To: gcc-bugs
[forwarded from http://bugs.debian.org/385505]
sorry for the vague report, didn't reproduce that report yet.
gcc-4.1 fails to build openmsx 0.6.1 from source when compiled with -O3.
Experimenting with debian/ARM installed in qemu revealed that
compiling with -O2 -funswitch-loops -fgcse-after-reload -ffast-math
-funroll-loops works fine.
This seems to point towards the the -finline-functions option.
More detailed concerning this bug can be found in openmsx bugreport
http://bugs.debian.org/385197 .
--
Summary: gcc-4.1 generates faulty asm on ARM when compiling
openmsx 0.6.1 with -O3
Product: gcc
Version: 4.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
GCC target triplet: arm-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
@ 2006-09-25 22:59 ` pinskia at gcc dot gnu dot org
2006-09-26 9:20 ` tbm at cyrius dot com
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-25 22:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-09-25 22:58 -------
Not enough information.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
2006-09-25 22:59 ` [Bug target/29230] " pinskia at gcc dot gnu dot org
@ 2006-09-26 9:20 ` tbm at cyrius dot com
2006-09-26 13:21 ` tbm at cyrius dot com
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-09-26 9:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from tbm at cyrius dot com 2006-09-26 09:20 -------
I'll try to take a look.
--
tbm at cyrius dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tbm at cyrius dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (2 preceding siblings ...)
2006-09-26 13:21 ` tbm at cyrius dot com
@ 2006-09-26 13:21 ` tbm at cyrius dot com
2006-09-26 13:37 ` [Bug target/29230] [4.1 regression] " tbm at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-09-26 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from tbm at cyrius dot com 2006-09-26 13:21 -------
(sid)40:tbm@usurper: ~] arm-linux-gnu-g++ -c YMF262.c
(sid)41:tbm@usurper: ~] arm-linux-gnu-g++ -c -O2 YMF262.c
(sid)42:tbm@usurper: ~] arm-linux-gnu-g++ -c -O3 YMF262.c
/tmp/ccnnwFsk.s: Assembler messages:
/tmp/ccnnwFsk.s:83: Error: bad immediate value for offset (4104)
/tmp/ccnnwFsk.s:84: Error: bad immediate value for offset (4104)
zsh: exit 1 arm-linux-gnu-g++ -c -O3 YMF262.c
(sid)43:tbm@usurper: ~]
(sid)44:tbm@usurper: ~] arm-linux-gnu-g++ -c -O2 YMF262.c
(sid)45:tbm@usurper: ~] arm-linux-gnu-g++ -c -O2 -finline-functions YMF262.c
/tmp/ccBUO5HO.s: Assembler messages:
/tmp/ccBUO5HO.s:83: Error: bad immediate value for offset (4104)
/tmp/ccBUO5HO.s:84: Error: bad immediate value for offset (4104)
zsh: exit 1 arm-linux-gnu-g++ -c -O2 -finline-functions YMF262.c
(sid)46:tbm@usurper: ~]
This is with 4.1.2 20060926.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
2006-09-25 22:59 ` [Bug target/29230] " pinskia at gcc dot gnu dot org
2006-09-26 9:20 ` tbm at cyrius dot com
@ 2006-09-26 13:21 ` tbm at cyrius dot com
2006-09-26 13:21 ` tbm at cyrius dot com
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-09-26 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from tbm at cyrius dot com 2006-09-26 13:21 -------
Created an attachment (id=12329)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12329&action=view)
test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (3 preceding siblings ...)
2006-09-26 13:21 ` tbm at cyrius dot com
@ 2006-09-26 13:37 ` tbm at gcc dot gnu dot org
2006-09-26 13:37 ` tbm at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at gcc dot gnu dot org @ 2006-09-26 13:37 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from tbm at gcc dot gnu dot org 2006-09-26 13:37 -------
This doesn't happen with gcc 4.2, nor, apparently, with 4.0.
--
tbm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|0000-00-00 00:00:00 |2006-09-26 13:37:26
date| |
Summary|gcc-4.1 generates faulty asm|[4.1 regression] gcc-4.1
|on ARM when compiling |generates faulty asm on ARM
|openmsx 0.6.1 with -O3 |when compiling openmsx 0.6.1
| |with -O3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (4 preceding siblings ...)
2006-09-26 13:37 ` [Bug target/29230] [4.1 regression] " tbm at gcc dot gnu dot org
@ 2006-09-26 13:37 ` tbm at gcc dot gnu dot org
2006-09-26 13:58 ` tbm at cyrius dot com
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at gcc dot gnu dot org @ 2006-09-26 13:37 UTC (permalink / raw)
To: gcc-bugs
--
tbm at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
Ever Confirmed|0 |1
Last reconfirmed|2006-09-26 13:37:26 |2006-09-26 13:37:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (5 preceding siblings ...)
2006-09-26 13:37 ` tbm at gcc dot gnu dot org
@ 2006-09-26 13:58 ` tbm at cyrius dot com
2006-09-26 14:17 ` pbrook at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: tbm at cyrius dot com @ 2006-09-26 13:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from tbm at cyrius dot com 2006-09-26 13:58 -------
Yes, 4.0 works, so it's really only a problem in 4.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (6 preceding siblings ...)
2006-09-26 13:58 ` tbm at cyrius dot com
@ 2006-09-26 14:17 ` pbrook at gcc dot gnu dot org
2006-09-26 17:45 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2006-09-26 14:17 UTC (permalink / raw)
To: gcc-bugs
--
pbrook at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pbrook at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2006-09-26 13:38:11 |2006-09-26 14:17:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (7 preceding siblings ...)
2006-09-26 14:17 ` pbrook at gcc dot gnu dot org
@ 2006-09-26 17:45 ` pinskia at gcc dot gnu dot org
2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-26 17: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=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (8 preceding siblings ...)
2006-09-26 17:45 ` pinskia at gcc dot gnu dot org
@ 2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
2006-09-27 17:11 ` pbrook at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2006-09-27 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from pbrook at gcc dot gnu dot org 2006-09-27 17:10 -------
Subject: Bug 29230
Author: pbrook
Date: Wed Sep 27 17:10:22 2006
New Revision: 117254
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117254
Log:
2006-09-27 Paul Brook <paul@codesourcery.com>
PR target/29230
Backport from mainline.
* config/arm/arm.md (arith_adjacentmem): Handle large offsets.
Modified:
branches/gcc-4_1-branch/gcc/ChangeLog
branches/gcc-4_1-branch/gcc/config/arm/arm.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (9 preceding siblings ...)
2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
@ 2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
2006-09-27 17:11 ` pbrook at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2006-09-27 17:10 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pbrook at gcc dot gnu dot org 2006-09-27 17:10 -------
Subject: Bug 29230
Author: pbrook
Date: Wed Sep 27 17:09:40 2006
New Revision: 117253
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117253
Log:
2006-09-27 Paul Brook <paul@codesourcery.com>
PR target/29230
gcc/
* config/arm/arm.md (arith_adjacentmem): Handle large offsets.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arm/arm.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug target/29230] [4.1 regression] gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
` (10 preceding siblings ...)
2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
@ 2006-09-27 17:11 ` pbrook at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2006-09-27 17:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from pbrook at gcc dot gnu dot org 2006-09-27 17:11 -------
Fixed.
--
pbrook at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29230
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2006-09-27 17:11 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-25 22:52 [Bug target/29230] New: gcc-4.1 generates faulty asm on ARM when compiling openmsx 0.6.1 with -O3 debian-gcc at lists dot debian dot org
2006-09-25 22:59 ` [Bug target/29230] " pinskia at gcc dot gnu dot org
2006-09-26 9:20 ` tbm at cyrius dot com
2006-09-26 13:21 ` tbm at cyrius dot com
2006-09-26 13:21 ` tbm at cyrius dot com
2006-09-26 13:37 ` [Bug target/29230] [4.1 regression] " tbm at gcc dot gnu dot org
2006-09-26 13:37 ` tbm at gcc dot gnu dot org
2006-09-26 13:58 ` tbm at cyrius dot com
2006-09-26 14:17 ` pbrook at gcc dot gnu dot org
2006-09-26 17:45 ` pinskia at gcc dot gnu dot org
2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
2006-09-27 17:10 ` pbrook at gcc dot gnu dot org
2006-09-27 17:11 ` pbrook 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).