* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
@ 2004-12-26 21:27 ` debian-gcc at lists dot debian dot org
2004-12-26 21:28 ` debian-gcc at lists dot debian dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-12-26 21:27 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to fail| |4.0.0
Known to work| |3.3.5 3.4.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
2004-12-26 21:27 ` [Bug target/19162] " debian-gcc at lists dot debian dot org
@ 2004-12-26 21:28 ` debian-gcc at lists dot debian dot org
2004-12-26 21:36 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-12-26 21:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From debian-gcc at lists dot debian dot org 2004-12-26 21:28 -------
Created an attachment (id=7826)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7826&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
2004-12-26 21:27 ` [Bug target/19162] " debian-gcc at lists dot debian dot org
2004-12-26 21:28 ` debian-gcc at lists dot debian dot org
@ 2004-12-26 21:36 ` pinskia at gcc dot gnu dot org
2004-12-26 22:19 ` pinskia at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-26 21:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-26 21:36 -------
Confirmed, this bug is related to __builtin_apply, I was waiting for this to be filed. I wonder if there is
something which can be done without disabling libobjc for arm-linux or just using libffi.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|arm-linux |
GCC host triplet|arm-linux |
Last reconfirmed|0000-00-00 00:00:00 |2004-12-26 21:36:08
date| |
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (2 preceding siblings ...)
2004-12-26 21:36 ` pinskia at gcc dot gnu dot org
@ 2004-12-26 22:19 ` pinskia at gcc dot gnu dot org
2004-12-26 22:21 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-26 22:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-26 22:19 -------
Here is the reduced testcase:
int *f(void)
{
return __builtin_apply (0,0,0);
}
We are just going into an infinite loop:
#254 0x002d6c04 in operand_subword_force (op=0x4167a020, offset=0, mode=XFmode) at ../../gcc/
emit-rtl.c:1352
#255 0x00313680 in emit_move_multi_word (mode=XFmode, x=0x887c20, y=0x4167a020) at ../../
gcc/expr.c:2985
#256 0x003139a0 in emit_move_insn_1 (x=0x887c20, y=0x4167a020) at ../../gcc/expr.c:3045
#257 0x00313f94 in emit_move_insn (x=0x887c20, y=0x4167a020) at ../../gcc/expr.c:3103
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (3 preceding siblings ...)
2004-12-26 22:19 ` pinskia at gcc dot gnu dot org
@ 2004-12-26 22:21 ` pinskia at gcc dot gnu dot org
2004-12-26 22:26 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-26 22:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-26 22:21 -------
The bug is in untyped_call.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (4 preceding siblings ...)
2004-12-26 22:21 ` pinskia at gcc dot gnu dot org
@ 2004-12-26 22:26 ` pinskia at gcc dot gnu dot org
2004-12-26 22:47 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-26 22:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-26 22:26 -------
We are trying to emit the following RTL:
(Set (reg:XF 115) (reg:XF 16 f0))
So maybe this bug is in the middle-end and related to the subreg work.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (5 preceding siblings ...)
2004-12-26 22:26 ` pinskia at gcc dot gnu dot org
@ 2004-12-26 22:47 ` pinskia at gcc dot gnu dot org
2004-12-27 0:18 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-26 22:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-26 22:47 -------
The problem is that there is no movxf. So this is definitely a target problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (6 preceding siblings ...)
2004-12-26 22:47 ` pinskia at gcc dot gnu dot org
@ 2004-12-27 0:18 ` pinskia at gcc dot gnu dot org
2004-12-28 6:31 ` debian-gcc at lists dot debian dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 0:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-27 00:18 -------
Could you test the patch in <http://gcc.gnu.org/bugzilla/attachment.cgi?id=7827&action=view> and
report back the results so I send in the patch since I don't have access to arm-linux and arm-elf will
does not have this bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (7 preceding siblings ...)
2004-12-27 0:18 ` pinskia at gcc dot gnu dot org
@ 2004-12-28 6:31 ` debian-gcc at lists dot debian dot org
2004-12-28 14:47 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2004-12-28 6:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From debian-gcc at lists dot debian dot org 2004-12-28 06:31 -------
the patch fixes the ICE, libobjc built sucessfully.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (8 preceding siblings ...)
2004-12-28 6:31 ` debian-gcc at lists dot debian dot org
@ 2004-12-28 14:47 ` pinskia at gcc dot gnu dot org
2005-01-04 1:37 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-28 14:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-28 14:47 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg02008.html>.
Mine.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords| |patch
Last reconfirmed|2004-12-26 21:36:08 |2004-12-28 14:47:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (9 preceding siblings ...)
2004-12-28 14:47 ` pinskia at gcc dot gnu dot org
@ 2005-01-04 1:37 ` pinskia at gcc dot gnu dot org
2005-01-04 1:47 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-04 1:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-04 01:37 -------
Looking at the history I think this is also a 3.4 release, so maybe the problem is using XFmode:
* arm.h (ENABLE_XF_PATTERNS): Delete.
* arm.md (addxf3, subxf3, mulxf3, divxf3, modxf3, negxf2, absxf2)
(sqrtxf2, floatsixf2, fix_truncxfsi2, truncxfsf2, truncxfdf2)
(extendsfxf2, extenddfxf2, movxf, cmpxf, cmpxf_insn)
(cmpxf_trap): Delete.
(movxf_hard_insn): Remove test of ENABLE_XF_PATTERNS.
http://gcc.gnu.org/ml/gcc-patches/2003-01/msg00414.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (10 preceding siblings ...)
2005-01-04 1:37 ` pinskia at gcc dot gnu dot org
@ 2005-01-04 1:47 ` pinskia at gcc dot gnu dot org
2005-02-17 8:46 ` cvs-commit at gcc dot gnu dot org
2005-02-17 8:51 ` rearnsha at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-04 1:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-04 01:47 -------
Actually was just the removal of the define_expand, I think, I will try that simple patch and try to post it
soon.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (11 preceding siblings ...)
2005-01-04 1:47 ` pinskia at gcc dot gnu dot org
@ 2005-02-17 8:46 ` cvs-commit at gcc dot gnu dot org
2005-02-17 8:51 ` rearnsha at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-17 8:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-02-16 21:57 -------
Subject: Bug 19162
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: rearnsha@gcc.gnu.org 2005-02-16 21:57:10
Modified files:
gcc : ChangeLog
gcc/config/arm : arm-protos.h arm.c arm.h arm.md fpa.md
Log message:
* PR target/19162
* arm.c (arm_apply_result_size): New function.
* arm.h (APPLY_RESULT_SIZE): Define.
* arm-protos.h (arm_apply_result_size): Add prototype.
* arm.md (RO_REGNUM, FPA_F0_REGNUM, FPA_F7_REGNUM): New constants.
(movxf): New expand.
(ldmsi_postinc4_thumb, stmsi_postinc4_thumb): New patterns for Thumb.
(call_value_symbol): Remove predicate for operand 0.
(call_value_insn, sibcall_value, sibcall_value_insn): Likewise.
(untyped_call): Rework to correclty return values for any type.
(untyped_return): New expand.
* fpa.md (movxf_fpa): Simplify and use sfm/lfm when appropriate.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7498&r2=2.7499
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm-protos.h.diff?cvsroot=gcc&r1=1.81&r2=1.82
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.c.diff?cvsroot=gcc&r1=1.428&r2=1.429
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.h.diff?cvsroot=gcc&r1=1.266&r2=1.267
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.md.diff?cvsroot=gcc&r1=1.190&r2=1.191
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/fpa.md.diff?cvsroot=gcc&r1=1.4&r2=1.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug target/19162] [4.0 regression] ICE while building libobjc's sendmsg.c
2004-12-26 21:27 [Bug target/19162] New: [4.0 regression] ICE while building libobjc's sendmsg.c debian-gcc at lists dot debian dot org
` (12 preceding siblings ...)
2005-02-17 8:46 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-17 8:51 ` rearnsha at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2005-02-17 8:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rearnsha at gcc dot gnu dot org 2005-02-16 22:00 -------
Patch fixes untyped returns properly using sfm/lfm as appropriate to avoid
potential type-conversion traps and also fixs returning types larger than a word
in integer registers. Should also work correctly for Thumb when values larger
than a word are returned.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19162
^ permalink raw reply [flat|nested] 15+ messages in thread