public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/17317] New: Match Constraints for *movdf_insn fails
@ 2004-09-04 11:46 ramana dot radhakrishnan at codito dot com
2004-09-04 11:47 ` [Bug target/17317] " ramana dot radhakrishnan at codito dot com
` (13 more replies)
0 siblings, 14 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-09-04 11:46 UTC (permalink / raw)
To: gcc-bugs
gcc 3.4.2 pre release 20040902
ramana@arnor:/mnt/tools/fsf/fsfbuild/build-ARC/build-newlib$ arc-elf32-gcc -v
Reading specs from /usr/local/arcfsf/lib/gcc/arc-elf32/3.4.2/specs
Configured with: /mnt/tools/fsf/fsfgcc/gcc-3.4.2-rc-20040902/configure
--prefix=/usr/local/arcfsf --target=arc-elf32 --with-gnu-as --with-gnu-ld
--without-libs --with-newlib --with-stabs --with-dwarf --host=i686-pc-linux-gnu
--enable-languages=c --disable-shared --disable-nls --without-libbanshee
Thread model: single
gcc version 3.4.2 20040902 (prerelease)
arc-elf32-gcc
-B/mnt/tools/fsf/fsfbuild/build-ARC/build-newlib/arc-elf32/newlib/ -isystem
/mnt/tools/fsf/fsfbuild/build-ARC/build-newlib/arc-elf32/newlib/targ-include
-isystem /mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libc/include
-DPACKAGE=\"newlib\" -DVERSION=\"1.12.0\" -I.
-I/mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libm/common -O2 -fno-builtin
-O2 -g -O2 -O2 -g -O2 -c
/mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libm/common/s_modf.c
/mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libm/common/s_modf.c: In function `modf':
/mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libm/common/s_modf.c:129: error: insn
does not satisfy its constraints:
(insn 108 106 304 3
/mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libm/common/s_modf.c:106 (set (mem:DF
(reg:SI 31 blink [6]) [2 S8 A64])
(reg:DF 4 r4 [orig:92 iw_u ] [92])) 8 {*movdf_insn} (insn_list 105
(insn_list 106 (nil)))
(nil))
/mnt/tools/fsf/fsfgcc/newlib-1.12.0/newlib/libm/common/s_modf.c:129: internal
compiler error: in extract_constrain_insn_cached, at recog.c:2000
--
Summary: Match Constraints for *movdf_insn fails
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ramana dot radhakrishnan at codito dot com
CC: gcc-bugs at gcc dot gnu dot org,mark at codesourcery dot
com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arc-elf32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
@ 2004-09-04 11:47 ` ramana dot radhakrishnan at codito dot com
2004-10-08 12:00 ` ramana dot radhakrishnan at codito dot com
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-09-04 11:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2004-09-04 11:47 -------
Created an attachment (id=7045)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7045&action=view)
The preprocessed file for the testcase.
This is the pre-processed file for the case which creates such a problem .
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
2004-09-04 11:47 ` [Bug target/17317] " ramana dot radhakrishnan at codito dot com
@ 2004-10-08 12:00 ` ramana dot radhakrishnan at codito dot com
2004-10-08 13:02 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-10-08 12:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2004-10-08 12:00 -------
Moving it up 3.4.3
--
What |Removed |Added
----------------------------------------------------------------------------
Version|3.4.2 |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
2004-09-04 11:47 ` [Bug target/17317] " ramana dot radhakrishnan at codito dot com
2004-10-08 12:00 ` ramana dot radhakrishnan at codito dot com
@ 2004-10-08 13:02 ` pinskia at gcc dot gnu dot org
2004-10-08 18:35 ` ramana dot radhakrishnan at codito dot com
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-08 13:02 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-08 13:02 -------
Note that arc does not have a maintainer.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (2 preceding siblings ...)
2004-10-08 13:02 ` pinskia at gcc dot gnu dot org
@ 2004-10-08 18:35 ` ramana dot radhakrishnan at codito dot com
2004-10-08 18:38 ` ramana dot radhakrishnan at codito dot com
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-10-08 18:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2004-10-08 18:35 -------
The same test case does not fail with 4.0.0 20041008 . However 4.0.0 20041007.
However that does not build because of an assembler error. gcc generates ld
r5,[0] in certain cases. Reporting that as a separate bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (3 preceding siblings ...)
2004-10-08 18:35 ` ramana dot radhakrishnan at codito dot com
@ 2004-10-08 18:38 ` ramana dot radhakrishnan at codito dot com
2004-10-10 3:25 ` ramana dot radhakrishnan at codito dot com
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-10-08 18:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2004-10-08 18:38 -------
(In reply to comment #3)
> Note that arc does not have a maintainer.
Agreed. Trying to fix this so that there atleast can be a 3.4.x tree
building.Will try working on fixing it anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (4 preceding siblings ...)
2004-10-08 18:38 ` ramana dot radhakrishnan at codito dot com
@ 2004-10-10 3:25 ` ramana dot radhakrishnan at codito dot com
2004-10-11 5:16 ` ramana dot radhakrishnan at codito dot com
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-10-10 3:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2004-10-10 03:25 -------
Discovered REGNO_OK_FOR_BASE and REG_OK_FOR_BASE have been defined to disallow
blink (r31) as a base register. That seems to be the reason for the crash to
occur. On doing the same compile with -ffixed-blink the problem disappeared.
Will send a patch to fix this problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (5 preceding siblings ...)
2004-10-10 3:25 ` ramana dot radhakrishnan at codito dot com
@ 2004-10-11 5:16 ` ramana dot radhakrishnan at codito dot com
2004-10-14 19:05 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2004-10-11 5:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2004-10-11 05:16 -------
Patch submitted for review.
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00891.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (6 preceding siblings ...)
2004-10-11 5:16 ` ramana dot radhakrishnan at codito dot com
@ 2004-10-14 19:05 ` pinskia at gcc dot gnu dot org
2004-10-20 2:21 ` cvs-commit at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-14 19:05 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (7 preceding siblings ...)
2004-10-14 19:05 ` pinskia at gcc dot gnu dot org
@ 2004-10-20 2:21 ` cvs-commit at gcc dot gnu dot org
2004-10-20 2:27 ` [Bug target/17317] [3.3/3.4/4.0 Regression] " giovannibajo at libero dot it
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-20 2:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-20 02:21 -------
Subject: Bug 17317
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: giovannibajo@gcc.gnu.org 2004-10-20 02:21:05
Modified files:
gcc : ChangeLog
gcc/config/arc : t-arc lib1funcs.asm arc.h
Log message:
* config/arc/lib1funcs.asm (___umulsidi3): Correct usage of flags.
PR target/17317
* config/arc/arc.h (REGNO_OK_FOR_BASE_P,REGNO_OK_FOR_INDEX_P,
REG_OK_FOR_BASE, REG_OK_FOR_INDEX): Consider blink(r31) as a valid
base and index register for loads.
* config/arc/t-arc: Fix multilib handling.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.5954&r2=2.5955
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/t-arc.diff?cvsroot=gcc&r1=1.7&r2=1.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/lib1funcs.asm.diff?cvsroot=gcc&r1=1.5&r2=1.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/arc.h.diff?cvsroot=gcc&r1=1.80&r2=1.81
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] [3.3/3.4/4.0 Regression] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (8 preceding siblings ...)
2004-10-20 2:21 ` cvs-commit at gcc dot gnu dot org
@ 2004-10-20 2:27 ` giovannibajo at libero dot it
2004-10-21 1:33 ` [Bug target/17317] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-10-20 2:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-10-20 02:27 -------
This is a regression against all open branches. I have committed Ramana's patch
to mainline, but still needs approval to get backported.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-10-20 02:27:57
date| |
Summary|Match Constraints for |[3.3/3.4/4.0 Regression]
|*movdf_insn fails |Match Constraints for
| |*movdf_insn fails
Target Milestone|--- |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] [3.3/3.4 Regression] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (9 preceding siblings ...)
2004-10-20 2:27 ` [Bug target/17317] [3.3/3.4/4.0 Regression] " giovannibajo at libero dot it
@ 2004-10-21 1:33 ` cvs-commit at gcc dot gnu dot org
2004-10-21 1:34 ` [Bug target/17317] [3.3 " giovannibajo at libero dot it
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-10-21 1:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-10-21 01:33 -------
Subject: Bug 17317
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: giovannibajo@gcc.gnu.org 2004-10-21 01:33:16
Modified files:
gcc : ChangeLog
gcc/config/arc : lib1funcs.asm arc.h t-arc
Log message:
* config/arc/lib1funcs.asm (___umulsidi3): Correct usage of flags.
PR target/17317
* config/arc/arc.h (REGNO_OK_FOR_BASE_P,REGNO_OK_FOR_INDEX_P,
REG_OK_FOR_BASE, REG_OK_FOR_INDEX): Consider blink(r31) as a valid
base and index register for loads.
* config/arc/t-arc: Fix multilib handling.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.667&r2=2.2326.2.668
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/lib1funcs.asm.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.5&r2=1.5.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/arc.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.68.4.1&r2=1.68.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/t-arc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.7&r2=1.7.12.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] [3.3 Regression] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (10 preceding siblings ...)
2004-10-21 1:33 ` [Bug target/17317] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
@ 2004-10-21 1:34 ` giovannibajo at libero dot it
2005-04-22 7:43 ` ramana dot radhakrishnan at codito dot com
2005-04-30 13:53 ` gdr at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-10-21 1:34 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2004-10-21 01:34 -------
Committed to 3.4 as well. Now only a 3.3 regression.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3/3.4 Regression] Match |[3.3 Regression] Match
|Constraints for *movdf_insn |Constraints for *movdf_insn
|fails |fails
Target Milestone|3.4.3 |3.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] [3.3 Regression] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (11 preceding siblings ...)
2004-10-21 1:34 ` [Bug target/17317] [3.3 " giovannibajo at libero dot it
@ 2005-04-22 7:43 ` ramana dot radhakrishnan at codito dot com
2005-04-30 13:53 ` gdr at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: ramana dot radhakrishnan at codito dot com @ 2005-04-22 7:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ramana dot radhakrishnan at codito dot com 2005-04-22 07:43 -------
If the above patch set is applied for 3.3.6, please also apply this patch so
that the build does not break.
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arc/lib1funcs.asm.diff?cvsroot=gcc&r1=1.8&r2=1.9
which was a fix for PR #18263
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/17317] [3.3 Regression] Match Constraints for *movdf_insn fails
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
` (12 preceding siblings ...)
2005-04-22 7:43 ` ramana dot radhakrishnan at codito dot com
@ 2005-04-30 13:53 ` gdr at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: gdr at gcc dot gnu dot org @ 2005-04-30 13:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at gcc dot gnu dot org 2005-04-30 13:53 -------
won't fix for 3.3.5. Fixed in 3.4.x
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|3.3.6 |3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17317
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2005-04-30 13:53 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-04 11:46 [Bug target/17317] New: Match Constraints for *movdf_insn fails ramana dot radhakrishnan at codito dot com
2004-09-04 11:47 ` [Bug target/17317] " ramana dot radhakrishnan at codito dot com
2004-10-08 12:00 ` ramana dot radhakrishnan at codito dot com
2004-10-08 13:02 ` pinskia at gcc dot gnu dot org
2004-10-08 18:35 ` ramana dot radhakrishnan at codito dot com
2004-10-08 18:38 ` ramana dot radhakrishnan at codito dot com
2004-10-10 3:25 ` ramana dot radhakrishnan at codito dot com
2004-10-11 5:16 ` ramana dot radhakrishnan at codito dot com
2004-10-14 19:05 ` pinskia at gcc dot gnu dot org
2004-10-20 2:21 ` cvs-commit at gcc dot gnu dot org
2004-10-20 2:27 ` [Bug target/17317] [3.3/3.4/4.0 Regression] " giovannibajo at libero dot it
2004-10-21 1:33 ` [Bug target/17317] [3.3/3.4 " cvs-commit at gcc dot gnu dot org
2004-10-21 1:34 ` [Bug target/17317] [3.3 " giovannibajo at libero dot it
2005-04-22 7:43 ` ramana dot radhakrishnan at codito dot com
2005-04-30 13:53 ` gdr 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).