Summary: | [3.3.1 regression] Compiler segfault with ffmpeg altivec code | ||
---|---|---|---|
Product: | gcc | Reporter: | Jonas Smedegaard <dr> |
Component: | c | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aldyh, debian-gcc, fang, gcc-bugs, james |
Priority: | P2 | Keywords: | ice-on-valid-code |
Version: | 3.3.2 | ||
Target Milestone: | 3.3.2 | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2003-08-16 16:13:38 | |
Attachments: | preprocessed file |
Description
Jonas Smedegaard
2003-08-16 15:55:27 UTC
Created attachment 4615 [details]
preprocessed file
Reduced case (you do not have to supply any options): static const __attribute__((vector_size(16))) signed short constants[5] = { (__attribute__((vector_size(16))) signed short) {23170, 13573, 6518, 21895, -23170, -21895, 32, 31}, (__attribute__((vector_size(16))) signed short) {16384, 22725, 21407, 19266, 16384, 19266, 21407, 22725}, (__attribute__((vector_size(16))) signed short) {22725, 31521, 29692, 26722, 22725, 26722, 29692, 31521}, (__attribute__((vector_size(16))) signed short) {21407, 29692, 27969, 25172, 21407, 25172, 27969, 29692}, (__attribute__((vector_size(16))) signed short) {19266, 26722, 25172, 22654, 19266, 22654, 25172, 26722} }; I can confirm this in 3.3.2 (20030816). It is already fixed on the mainline. From Phil's regressio hunter: Search converges between 2003-07-24-3.3 (#174) and 2003-07- 25-3.3 (#175). I think it was caused by: 2003-07-24 Aldy Hernandez <aldyh@redhat.com> Backport the folling patch. 2003-04-01 Aldy Hernandez <aldyh@redhat.com> PR/8878 * expr.c (expand_expr): Handle VECTOR_CST. (const_vector_from_tree): New. * varasm.c (output_constant): Handle VECTOR_CST. * c-typeck.c (digest_init): Build a vector constant from a VECTOR_TYPE. The fix was put on the mainline: Search converges between 2003-05-05-trunk (#287) and 2003- 05-06-trunk (#288). I think it was 2003-05-05 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.c-torture/compile/simd-6.c: New. * c-typeck.c (digest_init): Handle arrays of vector constants. Subject: Re: [3.3.1 regression] Compiler segfault with ffmpeg altivec code On 16 Aug 2003 16:13:38 -0000 "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> wrote: > PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* > gcc-bugs@gcc.gnu.org. For your information: I used the web-based Bugzilla form to submit both original bugreport and attached file, so if nay mail got send to the wrong address I believe the problem lies in the configuration of Bugzilla. If the message was meant for future reply, then I suggest prepending the text with "When replying to this email, " to avoid confusion like the above. Regards, - Jonas Do not worry about that part it is only if you reply again (not the first time). You are the first one who got confused about this, I would recommend that this be fixed but what to. *** Bug 11981 has been marked as a duplicate of this bug. *** I've backported, bootstrapped, and regression tested the patch from comment #2 and submitted it for approval: http://gcc.gnu.org/ml/gcc-patches/2003-08/msg01356.html *** Bug 12042 has been marked as a duplicate of this bug. *** Subject: Bug 11949 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_3-branch Changes by: doko@gcc.gnu.org 2003-10-13 21:18:38 Modified files: gcc : ChangeLog c-typeck.c Log message: 2003-10-13 Matt Kraai <kraai@alumni.cmu.edu> PR target/11949 Backport from mainline: 2003-05-05 Aldy Hernandez <aldyh@redhat.com> * testsuite/gcc.c-torture/compile/simd-6.c: New. * c-typeck.c (digest_init): Handle arrays of vector constants. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.777&r2=1.16114.2.778 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.213.2.9&r2=1.213.2.10 Fixed for 3.3.2. |