public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template
@ 2008-06-29 2:12 pinskia at gcc dot gnu dot org
2008-06-29 2:12 ` [Bug c++/36662] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-29 2:12 UTC (permalink / raw)
To: gcc-bugs
Hi,
THis is another template regression with respect of attributes.
Testcase:
#include <altivec.h>
#ifdef WORKS
#undef vector
#define vector __attribute__((vector_size(16) ))
#endif
template <typename c> struct f {};
template <> struct f< vector float >
{
static const vector float zero;
};
template <int>
void g(void)
{
vector float t = f<vector float> :: zero;
}
--- Cut ---
This works if WORKS is defined.
--
Summary: [4.3/4.4 Regression] vector vs template
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: rejects-valid
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
GCC target triplet: powerpc*-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36662] [4.3/4.4 Regression] vector vs template
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
@ 2008-06-29 2:12 ` pinskia at gcc dot gnu dot org
2008-06-30 11:03 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-06-29 2:12 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-29 02:12 -------
This blocks moving the PS3 toolchain over to 4.3.x.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Target Milestone|--- |4.3.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36662] [4.3/4.4 Regression] vector vs template
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
2008-06-29 2:12 ` [Bug c++/36662] " pinskia at gcc dot gnu dot org
@ 2008-06-30 11:03 ` jakub at gcc dot gnu dot org
2008-06-30 20:43 ` jakub at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-06-30 11:03 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 |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2008-06-30 11:03:07
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36662] [4.3/4.4 Regression] vector vs template
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
2008-06-29 2:12 ` [Bug c++/36662] " pinskia at gcc dot gnu dot org
2008-06-30 11:03 ` jakub at gcc dot gnu dot org
@ 2008-06-30 20:43 ` jakub at gcc dot gnu dot org
2008-06-30 20:51 ` jakub at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-06-30 20:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2008-06-30 20:42 -------
Subject: Bug 36662
Author: jakub
Date: Mon Jun 30 20:41:29 2008
New Revision: 137287
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137287
Log:
PR c++/36662
* decl2.c (is_late_template_attribute): If the first attribute
argument is IDENTIFIER_NODE, don't consider it when checking
if arguments are value or type dependent.
* g++.dg/ext/altivec-16.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/ext/altivec-16.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/decl2.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36662] [4.3/4.4 Regression] vector vs template
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-06-30 20:43 ` jakub at gcc dot gnu dot org
@ 2008-06-30 20:51 ` jakub at gcc dot gnu dot org
2008-06-30 20:53 ` jakub at gcc dot gnu dot org
2008-08-10 23:21 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-06-30 20:51 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from jakub at gcc dot gnu dot org 2008-06-30 20:50 -------
Subject: Bug 36662
Author: jakub
Date: Mon Jun 30 20:49:51 2008
New Revision: 137289
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=137289
Log:
PR c++/36662
* decl2.c (is_late_template_attribute): If the first attribute
argument is IDENTIFIER_NODE, don't consider it when checking
if arguments are value or type dependent.
* g++.dg/ext/altivec-16.C: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/ext/altivec-16.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/decl2.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36662] [4.3/4.4 Regression] vector vs template
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-06-30 20:51 ` jakub at gcc dot gnu dot org
@ 2008-06-30 20:53 ` jakub at gcc dot gnu dot org
2008-08-10 23:21 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-06-30 20:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from jakub at gcc dot gnu dot org 2008-06-30 20:52 -------
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=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/36662] [4.3/4.4 Regression] vector vs template
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-06-30 20:53 ` jakub at gcc dot gnu dot org
@ 2008-08-10 23:21 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 23:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-08-10 23:20 -------
*** Bug 36979 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cyp561 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36662
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-08-10 23:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-29 2:12 [Bug c++/36662] New: [4.3/4.4 Regression] vector vs template pinskia at gcc dot gnu dot org
2008-06-29 2:12 ` [Bug c++/36662] " pinskia at gcc dot gnu dot org
2008-06-30 11:03 ` jakub at gcc dot gnu dot org
2008-06-30 20:43 ` jakub at gcc dot gnu dot org
2008-06-30 20:51 ` jakub at gcc dot gnu dot org
2008-06-30 20:53 ` jakub at gcc dot gnu dot org
2008-08-10 23:21 ` pinskia 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).