------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-18 17:47 ------- (In reply to comment #2) > Indeed. Okay, but then this really is an optimization regression compared > to gcc 3.3.x which compiled this just fine. As it's only rejected with > -pedantic (and I think it's a sensible extension), shouldn't we make sure > that we can compile this comparatively simple source, i.e. propagate > the constant correctly everywhere? I'm not sure what to do, reopening with > a new subject, or creating a new bug?
Oh, in that case I will reopen the bug with a different summary. -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Keywords| |missed-optimization Resolution|DUPLICATE | Summary|c++ accepts invalid static |C++ front-end does not |const double members with |"inline" the static const |initializer |double members http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21089