http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
Jason Merrill changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
--- Comment #4 from Jakub Jelinek 2011-06-21
13:41:19 UTC ---
template
void f (int const x)
{
#pragma omp parallel default(none)
int y = x;
}
template
void g (int const x)
{
#pragma omp parallel default(none) shared(x)
int y = x;
}
void h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
--- Comment #3 from Jakub Jelinek 2011-06-21
13:34:35 UTC ---
Perhaps the top-level quals from the older type could be used, if the standard
doesn't disallow it? Like, if T const arg is instantiated with T int or const
int, it would be int const
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org,
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49418
--- Comment #1 from gcc-bug at safetymail dot info 2011-06-15 11:07:12 UTC ---
Created attachment 24534
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24534
test case