http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Paolo Carlini changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #11 from paolo at gcc dot gnu.org
2012-03-12 19:29:42 UTC ---
Author: paolo
Date: Mon Mar 12 19:29:38 2012
New Revision: 185264
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185264
Log:
/cp
2012-03-12 Paolo Carlini
PR
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Paolo Carlini changed:
What|Removed |Added
Status|NEW |ASSIGNED
AssignedTo|unassigned at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Jakub Jelinek changed:
What|Removed |Added
CC||jason at gcc dot gnu.org
--- Comment #9 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Jonathan Wakely changed:
What|Removed |Added
Keywords||diagnostic
Known to fail|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #7 from Joseph Garvin 2012-02-20
17:56:20 UTC ---
Sorry, I should have copy and pasted the whole file. I was trying to save
people's time by providing a condensed snippet ;p
(In reply to comment #6)
> This reproduces it:
>
> templat
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Jonathan Wakely changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #6 from Jonathan Wakely
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #5 from Jonathan Wakely 2012-02-20
17:02:03 UTC ---
I can't reproduce it with 4.4.3, but then ...
(In reply to comment #0)
>
> alignptrtest.cpp: In instantiation of ‘const size_t test<0ul>::a_’:
> alignptrtest.cpp:11: instantiate
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #3 from Joseph Garvin 2012-02-20
16:47:23 UTC ---
Also this is x86-64, which could be relevant since it affects the underlying
type of std::size_t.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
--- Comment #2 from Joseph Garvin 2012-02-20
16:45:21 UTC ---
#include
template
struct test {
static const std::size_t a_
= x ? 10 / x : 10;
};
I just forgot to copy and paste the include. My command line is just "g++
alignptrtest.cpp"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52299
Richard Guenther changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
12 matches
Mail list logo