[Bug driver/40200] ''gcc file.cpp -o file.cpp'' overwrites input file

2009-08-25 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2009-08-25 15:51 --- Confirmed. This is indeed awkward, and not actually all that hard to get into using makefiles (was @< the input or output file again??). -- bangerth at gmail dot com changed: What|Remo

[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)

2009-08-26 Thread bangerth at gmail dot com
--- Comment #6 from bangerth at gmail dot com 2009-08-26 18:49 --- It's also fixed on mainline and it works on 4.2.1. I don't have a version of 4.3 lying around, but that would be the only open branch which appears to still have the problem. Would someone mind testing this on

[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)

2009-08-26 Thread bangerth at gmail dot com
--- Comment #8 from bangerth at gmail dot com 2009-08-26 19:43 --- (In reply to comment #7) > pr.cc:38: error: invalid operands of types ‘bool’ and > ‘int’ to binary > ‘operator==’ This is doubly fascinating as there is no operator== in this line ;-) W. -- http://gc

[Bug c++/40146] Unexplained "'' is used uninitialized in this function" warning

2009-08-27 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2009-08-27 11:35 --- The warning isn't triggered any more with current mainline. Can someone gives this a try with the current 4.4.x branch? W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40146

[Bug c++/7932] Emit debug information about non-type template parameters

2009-08-31 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2009-08-31 22:05 --- (In reply to comment #2) > I think this bug should be fixed in trunk (4.5) by the patch for PR > debug/30161. > Can we close this bug or should we wait for GDB ? What does GDB currently say for the testcase sho

[Bug c++/7932] Emit debug information about non-type template parameters

2009-08-31 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2009-08-31 22:49 --- (In reply to comment #4) > > What does GDB currently say for the testcase shown in the initial report? > > I think GDB doesn't know about the new type debug information added by gcc > yet. So it wo

[Bug c++/41825] useless -Wshadow warning on function argument in local class

2009-10-25 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2009-10-26 04:52 --- Confirmed. Though I'd note that if this was a *nested* function (not a function in a *nested structure*) -- or a lambda function--, then the warning would make sense. -- bangerth at gmail dot com ch

[Bug c++/41840] g++ compiler giving error for array of pointers of abstract base class

2009-10-27 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2009-10-28 05:17 --- (In reply to comment #0) > There are many other such deviations we noticed in this compiler from the > normal C++ principles. In addition to the previous answer: since gcc3.3, many many bugs have been fixed whe

[Bug c++/45606] [4.5/4.6 Regression] match a method prototyped a typedef alias with the original type (using stdlib)

2011-02-27 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45606 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/10200] Weird clash with same names in different scopes

2011-10-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10200 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/15272] lookup, dependent base

2011-10-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15272 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/6936] member "using" binds wrong

2011-10-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6936 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com --- Comment

[Bug c++/11814] Code with missing "template" keyword wrongly accepted

2011-10-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11814 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/10291] error referencing a static local from a local struct in template code

2011-10-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10291 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/10852] Old for-scoping rules improperly used?

2011-10-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10852 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/30539] Accepts invalid explicit specialization declaration

2012-01-03 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30539 --- Comment #3 from Wolfgang Bangerth 2012-01-03 19:11:09 UTC --- Excellent, and thanks! It's good to see that some of the 5+ year old reports are still being closed on occasion :-) (Although I have to say that this one was one of the more humor

[Bug c++/2316] g++ fails to overload on language linkage

2012-01-04 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=2316 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com --- Comment

[Bug c/47043] allow deprecating enum values

2013-01-05 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47043 Wolfgang Bangerth changed: What|Removed |Added CC||joseph.h.garvin at gmail

[Bug c/45168] There should be a way to mark specific enum members as deprecated

2013-01-05 Thread bangerth at gmail dot com
||bangerth at gmail dot com Resolution||DUPLICATE --- Comment #1 from Wolfgang Bangerth 2013-01-05 23:31:11 UTC --- Confirmed, and a duplicate of an PR that had already been confirmed. *** This bug has been marked as a

[Bug c/47043] allow deprecating enum values

2013-01-05 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47043 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/26261] Rejects template with const static data member used in return type

2010-02-16 Thread bangerth at gmail dot com
--- Comment #8 from bangerth at gmail dot com 2010-02-16 23:42 --- (In reply to comment #6) > Clarified summary. Since this isn't a regression and there is a workaround, > it > doesn't seem like a high priority for 4.5. But if I understand comment #3 correctly,

[Bug c++/26261] Rejects template with const static data member used in return type

2010-02-16 Thread bangerth at gmail dot com
--- Comment #10 from bangerth at gmail dot com 2010-02-17 01:45 --- (In reply to comment #9) > The workaround in Comment #5 does work in mainline. Right, but that wasn't the question. Does my program in comment #8 work? If not, then that would be a regression. As for the worka

[Bug c++/43101] New: [4.5 regression] Rejects template with const static data member used in return type

2010-02-16 Thread bangerth at gmail dot com
To: unassigned at gcc dot gnu dot org ReportedBy: bangerth at gmail dot com OtherBugsDependingO 26261 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43101

[Bug c++/26261] Rejects template with const static data member used in return type

2010-02-16 Thread bangerth at gmail dot com
--- Comment #12 from bangerth at gmail dot com 2010-02-17 02:00 --- (In reply to comment #11) > Only if the transitive property doesn't hold for workarounds. I think it does > ;) But you keep dodging the question whether we have regressed on the workaround. Anyway, thi

[Bug c++/9990] locale_facets.h contains invalid typedef

2010-02-18 Thread bangerth at gmail dot com
--- Comment #9 from bangerth at gmail dot com 2010-02-18 20:29 --- (In reply to comment #8) > For the record, all the compilers I have at hand, EDG based too, accept this > in > the most strict mode. I seriously doubt there is really something to fix here. That said: if it i

[Bug c++/9990] locale_facets.h contains invalid typedef

2010-02-18 Thread bangerth at gmail dot com
--- Comment #11 from bangerth at gmail dot com 2010-02-18 20:53 --- (In reply to comment #10) > I'm not sure to fully understand, Wolfgang: you mean, we should change that > line in the library instead of dealing with a possible C++ issue here? That > would be easy to do

[Bug c++/43117] New: Accepts invalid typedef

2010-02-18 Thread bangerth at gmail dot com
onent: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43117

[Bug c++/43117] Accepts invalid typedef

2010-02-18 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2010-02-19 00:56 --- *** Bug 9990 has been marked as a duplicate of this bug. *** -- bangerth at gmail dot com changed: What|Removed |Added

[Bug c++/9990] locale_facets.h contains invalid typedef

2010-02-18 Thread bangerth at gmail dot com
--- Comment #14 from bangerth at gmail dot com 2010-02-19 00:56 --- (In reply to comment #13) > The library issue doesn't exist anymore ;) Thus, let's not be distracted by > the > trivial library case, ok? I see, that's convenient :-) In any case, in orde

[Bug c++/43117] Accepts invalid typedef

2010-02-18 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-02-19 00:59 --- Darn, I did not pay attention at all. Scrap the text starting with "The issue is confusing..." above which is entirely pointless because the code I pasted is wrong in at least two ways (as the error messages

[Bug c/25733] missed diagnostic about assignment used as truth value.

2010-02-20 Thread bangerth at gmail dot com
--- Comment #10 from bangerth at gmail dot com 2010-02-21 01:25 --- (In reply to comment #7) > (In reply to comment #3) > > As another data-point, > > > > if ( (a=10) ) ; > > > > also doesn't warn. I'm not sure what the standard says on th

[Bug c++/33801] Missing warning

2010-02-20 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-02-21 01:27 --- I don't see what should be warned about. The 'const' in the signature of 'f' has no effect here, but it also doesn't hurt -- its presence or absence simply doesn't make a difference.

[Bug c++/43135] Possible bug in name resolution during template instantiation

2010-02-21 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-02-22 03:56 --- This is not a bug. Because the base class of Node::OpNode does not depend on template arguments, the members of the base class are visible in Node::OpNode::f(). On the other hand, since the base class of Node::FooOpNode

[Bug c++/43135] Possible bug in name resolution during template instantiation

2010-02-21 Thread bangerth at gmail dot com
--- Comment #4 from bangerth at gmail dot com 2010-02-22 04:29 --- (In reply to comment #3) > But doesn't this error happens during instantiation as the error message > indicates? If definition of Node::FooNode is commented out, the templates > themselves are accepted. W

[Bug c++/43149] Partial optimization

2010-02-23 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2010-02-23 15:13 --- This feature already exists. See the discussion of the "optimize" attribute in http://gcc.gnu.org/onlinedocs/gcc-4.4.3/gcc/Function-Attributes.html#Function-Attributes W. -- bangerth at gmail dot c

[Bug c++/43149] Partial optimization

2010-02-23 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-02-23 15:53 --- So the attribute would have to be attached to the namespace, I guess. We can keep the PR open, but my best guess is that this is going to be one of those PRs that stay open forever as there is so little demand for this

[Bug tree-optimization/42640] wrong code for -ftree-loop-distribution in 175.vpr

2010-02-23 Thread bangerth at gmail dot com
-- bangerth at gmail dot com changed: What|Removed |Added CC||mmitchel at gcc dot gnu dot

[Bug c++/2288] Variable declared in for-loop-header is in wrong scope

2010-02-23 Thread bangerth at gmail dot com
--- Comment #10 from bangerth at gmail dot com 2010-02-23 20:40 --- (In reply to comment #9) > Is there a reason this hasn't been fixed? Lack of public demand? There's only one duplicate of this bug that has been reported in the last 9 years... > If not, I'

[Bug c/43162] option to set the "promoted" type of parameters of arithmetic

2010-02-24 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-02-25 05:12 --- I don't think we should be doing this. GCC strives to be standards-conforming and the requested feature would purposefully make us violate the standard. There is a point for extensions, but I don't think ch

[Bug libstdc++/43241] std::tr1::regex is not fully implemented yet

2010-03-03 Thread bangerth at gmail dot com
--- Comment #4 from bangerth at gmail dot com 2010-03-03 19:30 --- I think INVALID is the wrong resolution of this PR. This clearly is a bug (if we offer a class we should make sure it can be used), but we may choose to say that we won't work on this bug. The right resolution ther

[Bug libstdc++/43241] std::tr1::regex is not fully implemented yet

2010-03-03 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2010-03-03 19:31 --- ...is WONTFIX. -- bangerth at gmail dot com changed: What|Removed |Added CC

[Bug c++/20397] g++ rejects valid code with 'is inaccessible' error

2010-03-03 Thread bangerth at gmail dot com
--- Comment #8 from bangerth at gmail dot com 2010-03-03 19:40 --- (In reply to comment #7) > The use of a base class ( class B : A ) is not a declaration of A. > Thus the base class ( class A ) is visible and not private. > > Reopen the bug and fix it. Andrew was right:

[Bug c++/43272] -Wmissing-prototypes doesn't work in C++ mode

2010-03-06 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-03-07 05:49 --- (In reply to comment #2) > So does this mean bug #13687 is going to be reopened? Or is there some > workaround that hasn't been mentioned? No. I think the issue has been discussed at length there. W. --

[Bug c++/43282] GCC looks into dependent bases during unqualified lookup

2010-03-07 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2010-03-07 23:41 --- The error message I get is this: g/x> c++ -c x.cc x.cc: In member function 'void Bar::bar() [with T = A::Baz]': x.cc:18: instantiated from here x.cc:10: error: no matching function for call to 'Bar:

[Bug c++/43282] GCC looks into dependent bases during unqualified lookup

2010-03-07 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-03-08 00:19 --- But that would mean that the following code should be invalid because the compiler should never find HasFoo::foo even at instantiation time: - template struct HasFoo { void foo(T) { } }; template

[Bug c++/43282] GCC looks into dependent bases during unqualified lookup

2010-03-07 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2010-03-08 00:36 --- OK, so the question is whether the testcase in comment #3 should be rejected based on the wording of 14.6.2/3. Jason, as our resident language lawyer, would you mind commenting? W. -- bangerth at gmail dot com

[Bug c++/13687] -Wmissing-prototypes should not be ignored for C++

2010-03-07 Thread bangerth at gmail dot com
--- Comment #19 from bangerth at gmail dot com 2010-03-08 04:26 --- *** Bug 43272 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13687

[Bug c++/43272] -Wmissing-prototypes doesn't work in C++ mode

2010-03-07 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2010-03-08 04:26 --- What I'm saying is that this entire discussion is already present in PR13687 and that there is nothing more to say. The warning exists in C because it can lead to hard-to-find bugs in C code because you can c

[Bug c++/6709] typeof() cannot be used with the :: operator

2010-03-08 Thread bangerth at gmail dot com
--- Comment #9 from bangerth at gmail dot com 2010-03-08 14:29 --- *** Bug 43285 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6709

[Bug c++/43285] typeof doesn't act like a type in "::"

2010-03-08 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-03-08 14:29 --- *** This bug has been marked as a duplicate of 6709 *** -- bangerth at gmail dot com changed: What|Removed |Added

[Bug c++/43272] -Wmissing-prototypes doesn't work in C++ mode

2010-03-08 Thread bangerth at gmail dot com
--- Comment #9 from bangerth at gmail dot com 2010-03-08 16:23 --- (In reply to comment #7) > The code that calls the function also *compiles* cleanly, and only the link > fails. By compiling I meant translating from source code to executable. That includes linking. The point

[Bug c/43405] sinl is not computed correctly

2010-03-18 Thread bangerth at gmail dot com
--- Comment #6 from bangerth at gmail dot com 2010-03-18 20:47 --- Also: 1e22 is not exactly representable as a floating point number. By consequence, 1e22 is different numbers when stored as a double or a long double, and we should expect different results when applying the sine to it

[Bug c++/43452] Array delete causes error on incomplete type

2010-03-20 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-03-20 11:26 --- (In reply to comment #2) > class Foo; > Foo* f(); > int main() { >Foo* p = f(); >delete [] p; > } I can't see how the compiler could possibly do anything useful in this case if Foo is i

[Bug c++/43522] [4.4 regression] Attempts to instantiate unnecessary code

2010-03-25 Thread bangerth at gmail dot com
--- Comment #4 from bangerth at gmail dot com 2010-03-25 18:37 --- (In reply to comment #2) > So you are saying the standard thinks > FixedPoint::allow_double_instantiations is dependent. That is the correct question. We get the error message during template parsing, not

[Bug c++/43601] Enormous increase in DLL object files size in 4.5

2010-04-02 Thread bangerth at gmail dot com
--- Comment #8 from bangerth at gmail dot com 2010-04-02 11:37 --- I think this is a bug the MingW maintainers should handle. While I understand Andrew's position, it seems to me that this is nevertheless a definite regression from the user's perspective. W. -- bangert

[Bug c++/43648] New: [4.5 regression] ICE with explicit destructor call and typedef

2010-04-05 Thread bangerth at gmail dot com
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43648

[Bug c++/43648] [4.5 regression] ICE with explicit destructor call and typedef

2010-04-05 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-04-05 12:46 --- Thanks Richard for the quick confirmation. I should have mentioned that this worked on previous versions up to at least 4.3.3. W. -- bangerth at gmail dot com changed: What|Removed

[Bug c++/43646] [C++0x] decltype and std::integral_constant

2010-04-05 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-04-05 12:56 --- I think this should work. I can't see how it would be invalid as template argument for integral_constant but valid for identity. W. -- bangerth at gmail dot com changed: What|Re

[Bug c++/41884] diagnostics: error vs. context

2010-04-05 Thread bangerth at gmail dot com
--- Comment #15 from bangerth at gmail dot com 2010-04-05 15:28 --- FWIW, let me say that I believe that few people use -Wfatal-errors. Most of the time, experienced programmers are able to fix multiple bugs in one go-around if they get to see all error messages, and the less

[Bug c++/43648] [4.5/4.6 regression] ICE with explicit destructor call and typedef

2010-04-07 Thread bangerth at gmail dot com
--- Comment #6 from bangerth at gmail dot com 2010-04-07 16:17 --- Jason, thanks a lot for the quick turnaround, and my apologies for not testing this stuff on a more frequent basis so I find earlier than the day before branch day :-) W. -- bangerth at gmail dot com changed

[Bug c++/43680] G++ is too aggressive in optimizing away bounds checking with enums

2010-04-07 Thread bangerth at gmail dot com
--- Comment #1 from bangerth at gmail dot com 2010-04-07 23:16 --- (In reply to comment #0) > I think the C++ standard can definitely be read to allow this optimization I would most definitely think so. 7.2/6 specifically says that the values an enum variable can take on are, in y

[Bug c++/43680] G++ is too aggressive in optimizing away bounds checking with enums

2010-04-08 Thread bangerth at gmail dot com
--- Comment #9 from bangerth at gmail dot com 2010-04-08 12:53 --- I'm not saying we *should* apply a mask (in fact, I think that would be silly). But we *could*, and if we did then VRP's actions might lead to faster but not different code. All I want to say is that VRP is

[Bug tree-optimization/43771] [4.5/4.6 Regression] ICE on valid when compiling ParMetis with gcc 4.5.0 and -O3

2010-04-16 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-04-17 02:55 --- Ouch. ParMetis is one of the most widely used libraries in the parallel scientific computing area... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43771

[Bug c++/43785] very basic regression in std::make_pair

2010-04-18 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-04-18 19:02 --- Confirmed. Including doesn't help. -- bangerth at gmail dot com changed: What|Removed |

[Bug libstdc++/43785] [4.5/4.6 Regression] very basic regression in std::make_pair

2010-04-18 Thread bangerth at gmail dot com
--- Comment #7 from bangerth at gmail dot com 2010-04-19 02:59 --- I think the point Andrew wanted to make is that it's a regression *from the user perspective*. I had a half dozen places in our code that now no longer compile in c++0x mode. Apparently others do too. If the standa

[Bug libstdc++/43785] [4.5/4.6 Regression] very basic regression in std::make_pair

2010-04-19 Thread bangerth at gmail dot com
--- Comment #12 from bangerth at gmail dot com 2010-04-19 14:57 --- (In reply to comment #9) > Also, make_pair's reason for existing is to deduce template arguments. If you > don't want argument deduction why use make_pair? True. I don't know why one would want t

[Bug libstdc++/43785] [4.5/4.6 Regression] very basic regression in std::make_pair

2010-04-19 Thread bangerth at gmail dot com
--- Comment #15 from bangerth at gmail dot com 2010-04-19 15:51 --- (In reply to comment #14) > > Well it's about time someone put a stop to it ;-) > > Seriously though, it's quicker to write e.g. > return std::pair(x, y) > than > return std::mak

[Bug c++/43787] [4.5/4.6 Regression] memory copy of empty class (sizeof is one)

2010-04-19 Thread bangerth at gmail dot com
--- Comment #9 from bangerth at gmail dot com 2010-04-19 22:18 --- Dereferencing the null pointer invokes undefined behavior, independent on whether the type of the dereferenced pointer is an empty class or not. Typically, dereferencing NULL results in a trap. GCC simply preserves this

[Bug tree-optimization/63945] New: Missing vectorization optimization

2014-11-18 Thread bangerth at gmail dot com
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: bangerth at gmail dot com (Reporting this for Bruno Turcksin .) The loop in the following testcase cannot be vectorized, we get the error: note: not vectorized: latch block not empty. note: bad loop form. The reason is

[Bug c++/6259] Explicit instantiation of template constructor not allowed

2009-11-24 Thread bangerth at gmail dot com
--- Comment #7 from bangerth at gmail dot com 2009-11-24 21:52 --- Jason, is this PR related to your recent work on injecting class names into scopes? I don't know what makes gcc reject the constructor specialization, but it seems to me that it might be because it parses the X<&

[Bug c++/40155] [c++0x] variadic template pack problem

2010-01-05 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-01-05 13:20 --- (In reply to comment #2) > I believe this should be flagged P1, even if it doesn't seem to be a > regression. I'm obviously not impartial, but this is the sort of code that template packs are supposed

[Bug c++/40239] Aggregate initialization requires copy constructor

2010-01-12 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-01-12 20:58 --- Dodji, thanks for the patch. As a matter of etiquette (I think we've had this conversation with others in the past already): in your patch, you mark the testcase as "Contributed by Dodji Seketeli",

[Bug c++/40239] Aggregate initialization requires copy constructor

2010-01-12 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2010-01-12 21:52 --- (In reply to comment #4) > I will stop adding the 'Contributed by' line from now, and will remove > it from this patch. If you want, I can remove it from all the test cases > I did commit. I don'

[Bug c++/42824] c++ compilation complains about error: call of overloaded

2010-01-25 Thread bangerth at gmail dot com
--- Comment #10 from bangerth at gmail dot com 2010-01-25 18:39 --- This works with gcc 4.3 and 4.4 I don't have mainline lying around here but if it really fails there it would be a 4.5 regression which should get it P1 status. Can someone try? W. -- bangerth at gmail do

[Bug c++/42768] ICE: libstdc++-v3/libsupc++/vec.cc:354

2010-01-25 Thread bangerth at gmail dot com
--- Comment #3 from bangerth at gmail dot com 2010-01-25 18:42 --- Someone on a win64 machine may have to check this. W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42768

[Bug c++/44629] [4.3 Regression] ICE in unify, at cp/pt.c:15155

2011-03-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44629 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/44629] [4.3 Regression] ICE in unify, at cp/pt.c:15155

2011-03-09 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44629 --- Comment #14 from Wolfgang Bangerth 2011-03-10 04:27:49 UTC --- (In reply to comment #13) > Once you know A's T, you have a desired type int (*)(T, T) from which to > determine which specialization of the template to use. Hm, I agree that the

[Bug c++/45114] implement C++0x alias-declaration

2010-09-07 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-09-07 18:08 --- Corresponding paper, for reference: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114

[Bug c++/45329] When printing a list of candidate functions, explain why each function failed to match.

2010-11-17 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45329 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug c++/45329] When printing a list of candidate functions, explain why each function failed to match.

2010-11-17 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45329 --- Comment #3 from Wolfgang Bangerth 2010-11-18 02:42:01 UTC --- (In reply to comment #2) > > In either case, assuming that a sufficient number of arguments are > > involved and if they are all templates of the kind > > std::vector> > > (with a

[Bug c++/44021] Templates with -Wtype-limits produces warnings.

2010-05-07 Thread bangerth at gmail dot com
--- Comment #5 from bangerth at gmail dot com 2010-05-07 13:15 --- *** This bug has been marked as a duplicate of 11856 *** -- bangerth at gmail dot com changed: What|Removed |Added

[Bug c++/11856] unsigned warning in template

2010-05-07 Thread bangerth at gmail dot com
--- Comment #28 from bangerth at gmail dot com 2010-05-07 13:15 --- *** Bug 44021 has been marked as a duplicate of this bug. *** -- bangerth at gmail dot com changed: What|Removed |Added

[Bug middle-end/44416] [4.6 regression] Failed to build 447.dealII in SPEC CPU 2006

2010-06-04 Thread bangerth at gmail dot com
--- Comment #7 from bangerth at gmail dot com 2010-06-04 16:36 --- As the author of the benchmark I can confirm that we apparently forgot to include the proper header file. So you can call it a defect in 447.dealII. The question is how to deal with this, of course. W. -- bangerth

[Bug c++/44486] [4.3/4.4/4.5/4.6 regression] missing space in __PRETTY_FUNCTION__ expansion in anonymous namespace

2010-06-09 Thread bangerth at gmail dot com
--- Comment #2 from bangerth at gmail dot com 2010-06-10 03:27 --- This is a regression: 2.95: struct S {anonymous}::f() 3.4: S ::f() 4.0: S::f() W. -- bangerth at gmail dot com changed: What|Removed |Added

[Bug c++/40793] "Error: no matching function for call to XYZ" doesn't display function-template-arguments

2010-07-01 Thread bangerth at gmail dot com
--- Comment #8 from bangerth at gmail dot com 2010-07-01 21:38 --- I think that would already be an improvement. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40793

[Bug c++/48818] Wrong copy constructor used when using std::pair in .so and app.

2011-05-25 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48818 Wolfgang Bangerth changed: What|Removed |Added CC||bangerth at gmail dot com

[Bug libstdc++/49717] New: Debug version checking algorithmic preconditions may have different complexity

2011-07-12 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49717 Summary: Debug version checking algorithmic preconditions may have different complexity Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority:

[Bug libstdc++/49717] Debug version checking algorithmic preconditions may have different complexity

2011-07-12 Thread bangerth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49717 Wolfgang Bangerth changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/11582] Odd error message with dynamically sized template arg printing

2021-08-23 Thread bangerth at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11582 Wolfgang Bangerth changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

<    1   2