public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/25559] New: Internal compiler error when specifying vector_size(2) @ 2005-12-25 14:50 guilhem at kaffe dot org 2005-12-25 14:51 ` [Bug c/25559] " guilhem at kaffe dot org ` (7 more replies) 0 siblings, 8 replies; 9+ messages in thread From: guilhem at kaffe dot org @ 2005-12-25 14:50 UTC (permalink / raw) To: gcc-bugs I have found this bug when playing a bit with the vector_size attribute. To reproduce just compile the attached program with gcc -march=pentium4 runsimd.c Result: runsimd.c:1: internal compiler error: in round_up, at fold-const.c:11606 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. -- Summary: Internal compiler error when specifying vector_size(2) Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: guilhem at kaffe dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] Internal compiler error when specifying vector_size(2) 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org @ 2005-12-25 14:51 ` guilhem at kaffe dot org 2005-12-25 14:52 ` guilhem at kaffe dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: guilhem at kaffe dot org @ 2005-12-25 14:51 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from guilhem at kaffe dot org 2005-12-25 14:51 ------- Created an attachment (id=10554) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10554&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] Internal compiler error when specifying vector_size(2) 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org 2005-12-25 14:51 ` [Bug c/25559] " guilhem at kaffe dot org @ 2005-12-25 14:52 ` guilhem at kaffe dot org 2005-12-25 14:57 ` [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: guilhem at kaffe dot org @ 2005-12-25 14:52 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from guilhem at kaffe dot org 2005-12-25 14:52 ------- Changing vector_size(2) to vector_size(4) does not show any problem by the way. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org 2005-12-25 14:51 ` [Bug c/25559] " guilhem at kaffe dot org 2005-12-25 14:52 ` guilhem at kaffe dot org @ 2005-12-25 14:57 ` pinskia at gcc dot gnu dot org 2005-12-28 12:40 ` jakub at gcc dot gnu dot org ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-25 14:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pinskia at gcc dot gnu dot org 2005-12-25 14:57 ------- Reduced testcase: typedef int __m64 __attribute__ ((vector_size(2))); This is invalid as int is 4 bytes but you are trying to fit a vector of 2bytes which is just wrong -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |minor Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Known to fail| |4.0.0 4.1.0 4.2.0 Known to work| |3.4.0 Last reconfirmed|0000-00-00 00:00:00 |2005-12-25 14:57:06 date| | Summary|Internal compiler error when|[4.0/4.1/4.2 Regression] |specifying vector_size(2) |Internal compiler error when | |specifying vector_size(2) of | |int Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org ` (2 preceding siblings ...) 2005-12-25 14:57 ` [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int pinskia at gcc dot gnu dot org @ 2005-12-28 12:40 ` jakub at gcc dot gnu dot org 2006-01-04 8:07 ` jakub at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: jakub at gcc dot gnu dot org @ 2005-12-28 12:40 UTC (permalink / raw) To: gcc-bugs -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | URL| |http://gcc.gnu.org/ml/gcc- | |patches/2005- | |12/msg01870.html Status|NEW |ASSIGNED Last reconfirmed|2005-12-25 14:57:06 |2005-12-28 12:40:05 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org ` (3 preceding siblings ...) 2005-12-28 12:40 ` jakub at gcc dot gnu dot org @ 2006-01-04 8:07 ` jakub at gcc dot gnu dot org 2006-01-04 9:16 ` jakub at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: jakub at gcc dot gnu dot org @ 2006-01-04 8:07 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from jakub at gcc dot gnu dot org 2006-01-04 08:07 ------- Subject: Bug 25559 Author: jakub Date: Wed Jan 4 08:07:09 2006 New Revision: 109316 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109316 Log: PR c/25559 * c-common.c (handle_vector_size_attribute): Reject zero vector size as well as sizes not multiple of component size. * gcc.dg/pr25559.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr25559.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-common.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org ` (4 preceding siblings ...) 2006-01-04 8:07 ` jakub at gcc dot gnu dot org @ 2006-01-04 9:16 ` jakub at gcc dot gnu dot org 2006-01-04 12:28 ` jakub at gcc dot gnu dot org 2006-01-04 12:33 ` jakub at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: jakub at gcc dot gnu dot org @ 2006-01-04 9:16 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from jakub at gcc dot gnu dot org 2006-01-04 09:16 ------- Subject: Bug 25559 Author: jakub Date: Wed Jan 4 09:16:09 2006 New Revision: 109320 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109320 Log: PR c/25559 * c-common.c (handle_vector_size_attribute): Reject zero vector size as well as sizes not multiple of component size. * gcc.dg/pr25559.c: New test. Added: branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr25559.c Modified: branches/gcc-4_1-branch/gcc/ChangeLog branches/gcc-4_1-branch/gcc/c-common.c branches/gcc-4_1-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org ` (5 preceding siblings ...) 2006-01-04 9:16 ` jakub at gcc dot gnu dot org @ 2006-01-04 12:28 ` jakub at gcc dot gnu dot org 2006-01-04 12:33 ` jakub at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: jakub at gcc dot gnu dot org @ 2006-01-04 12:28 UTC (permalink / raw) To: gcc-bugs ------- Comment #6 from jakub at gcc dot gnu dot org 2006-01-04 12:27 ------- Subject: Bug 25559 Author: jakub Date: Wed Jan 4 12:27:48 2006 New Revision: 109326 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=109326 Log: PR c/25559 * c-common.c (handle_vector_size_attribute): Reject zero vector size as well as sizes not multiple of component size. * gcc.dg/pr25559.c: New test. Added: branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/pr25559.c Modified: branches/gcc-4_0-branch/gcc/ChangeLog branches/gcc-4_0-branch/gcc/c-common.c branches/gcc-4_0-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org ` (6 preceding siblings ...) 2006-01-04 12:28 ` jakub at gcc dot gnu dot org @ 2006-01-04 12:33 ` jakub at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: jakub at gcc dot gnu dot org @ 2006-01-04 12:33 UTC (permalink / raw) To: gcc-bugs ------- Comment #7 from jakub at gcc dot gnu dot org 2006-01-04 12:33 ------- Fixed. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25559 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-01-04 12:33 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-12-25 14:50 [Bug c/25559] New: Internal compiler error when specifying vector_size(2) guilhem at kaffe dot org 2005-12-25 14:51 ` [Bug c/25559] " guilhem at kaffe dot org 2005-12-25 14:52 ` guilhem at kaffe dot org 2005-12-25 14:57 ` [Bug c/25559] [4.0/4.1/4.2 Regression] Internal compiler error when specifying vector_size(2) of int pinskia at gcc dot gnu dot org 2005-12-28 12:40 ` jakub at gcc dot gnu dot org 2006-01-04 8:07 ` jakub at gcc dot gnu dot org 2006-01-04 9:16 ` jakub at gcc dot gnu dot org 2006-01-04 12:28 ` jakub at gcc dot gnu dot org 2006-01-04 12:33 ` jakub 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).