[Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot

2005-09-26 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-09-27 00:44 --- Kevin, can you try out the various testcases from this report and see whether your compiler fails any of them? W. -- What|Removed |Added

[Bug c++/19317] [4.1 Regression] removing a temporary return value when we cannot

2005-09-27 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-09-27 14:01 --- Then the issue you are seeing is a separate one, and we would need to have a smaller testcase to figure out what is going on. Please try to work on finding one so that we can look at it. Thanks Wolfgang

[Bug target/24102] [3.4/4.0/4.1 Regression] floatdisf2_internal2 broken

2005-09-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-09-29 00:25 --- How about the other branches? W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24102

[Bug c++/24118] Access control bug for base class of templates

2005-09-29 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-09-29 16:29 --- Confirmed. Seems as if this never worked. W. -- What|Removed |Added Status

[Bug c++/24139] [4.0/4.1 Regression] Rejects definition of member of specialized inner class

2005-10-03 Thread bangerth at dealii dot org
--- Comment #6 from bangerth at dealii dot org 2005-10-04 02:03 --- Confirmed. A redux is here: -- template struct O { struct I; }; template<> struct O::I { I(); }; O::I::I() {} -- g/x> /home/bangerth/bin/gcc-3.4.5-pre/b

[Bug c++/24331] The symbol properties of generated C++ code depend on the position of template instantiations

2005-10-12 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2005-10-12 14:57 --- To be clear about what the original bug was: despite the existence of the explicit instantiation (after an implicit instantiation of f<1>), the generated symbol had private linkage. Such symbols aren't ex

[Bug c++/24375] Wrong line number in diagnostic

2005-10-14 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2005-10-14 22:21 --- Confirmed. The problem goes back to at least 2.95. W. -- bangerth at dealii dot org changed: What|Removed |Added

[Bug debug/24569] New: [4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966

2005-10-28 Thread bangerth at dealii dot org
itical Priority: P2 Component: debug AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bangerth at dealii dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569

[Bug debug/24569] [4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966

2005-10-28 Thread bangerth at dealii dot org
--- Comment #1 from bangerth at dealii dot org 2005-10-28 16:19 --- Created an attachment (id=10076) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10076&action=view) Preprocessed sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24569

[Bug debug/24569] [4.1 regression] ICE in add_AT_specification, at dwarf2out.c:4966

2005-10-28 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2005-10-28 16:26 --- And here's the minimal testcase: - template struct S { static const int u = 2 * dim; static const int p[u]; static int f(); }; template <> inline int S<3>

[Bug c++/19253] [3.4/4.0/4.1 regression] bad error message / ICE for invalid template parameter

2005-10-31 Thread bangerth at dealii dot org
--- Comment #11 from bangerth at dealii dot org 2005-10-31 16:10 --- (In reply to comment #8) > > How do you generate all these snippets? > > By sheer determination. I pick some topic like pointers-to-members or > destructors for example and try to find some bugs. Over t

[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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45168 Wolfgang Bangerth changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC

[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++/21799] [4.1 regression] Spurious ambiguity with pointers to members

2005-06-20 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-20 21:30 --- Since this PR prevents me from running my nightly tests for more than 2 months now, could someone try to run the regression finder on the small testcase to find out who broke this and when? The duplicate of

[Bug c++/21799] [4.1 regression] Spurious ambiguity with pointers to members

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 15:55 --- I also see this problem on the 4.0 branch now, with gcc version 4.0.1 20050531 (prerelease) I am pretty sure that it wasn't there in 4.0.0, but don't know for sure any more... W.

[Bug c++/21799] [4.1 regression] Spurious ambiguity with pointers to members

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 16:00 --- Giovanni, I can confirm that your patch for PR 8271 also fixes the problem in this PR. I would be extremely grateful if it would move somewhere... Cheers Wolfgang -- What|Removed

[Bug c++/8271] Templates and pointers to const member functions

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 16:03 --- I just verified that Giovanni's patch linked to in comment #4 also fixes the regression reported in PR 21799. Apparently some unrelated change exposed the problem in 21799, but the underlying issue is th

[Bug c++/21799] [4.0/4.1 regression] Spurious ambiguity with pointers to members

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 16:14 --- I don't have the time to check it today, but could try tomorrow. It certainly sounds plausible. Nathan, could you comment on this problem? Thanks Wolfgang -- What|Re

[Bug c++/22136] New: [4.1 regression] Rejects old-style using declaration

2005-06-21 Thread bangerth at dealii dot org
This used to compile but doesn't any more on mainline (ok on 4.0.x branch): --- struct B { void foo(); }; template class I : public B {}; template class D : private I { I::B::foo; }; -- g/x> /home/bangerth/bin/gcc-4.0.1

[Bug c++/22136] [4.1 regression] Rejects old-style using declaration

2005-06-21 Thread bangerth at dealii dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22136

[Bug c++/22139] New: [4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
With attached file, I get the following segfault with mainline: examples/step-18> /home/bangerth/bin/gcc-4.1-pre/bin/c++ -c step-18.ii step-18.ii:7102: warning: ‘__malloc__’ attribute ignored step-18.ii: In constructor ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, con

[Bug c++/22139] [4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
-- What|Removed |Added Target Milestone|--- |4.1.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22139

[Bug c++/22139] [4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 17:58 --- Created an attachment (id=9125) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9125&action=view) Preprocessed sources -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22139

[Bug c++/22139] [4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 18:00 --- This looks like a memory problem -- the backtrace is this: (gdb) r -quiet step-18.ii -o /dev/null Starting program: /home/bangerth/bin/gcc-4.1-pre/libexec/gcc/i686-pc-linux-gnu/4.1.0/cc1plus -quiet step

[Bug c++/22139] [4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 18:03 --- I also get essentially the same backtrace (with the call to ggc_set_mark (p=0x14) at the top) from the 4.0.1pre CVS as of 2005-05-31, although this happens at a different place in the source code. I&#

[Bug c++/22139] [4.0/4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
-- What|Removed |Added Summary|[4.1 regression] Segfault |[4.0/4.1 regression] ||Segfault http://gcc.gnu.org/bugzilla/sho

[Bug c++/22139] [4.0/4.1 regression] Segfault

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 18:48 --- Created an attachment (id=9126) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9126&action=view) Smaller testcase Attached is another testcase that has only half as many lines (~40k) and that

[Bug c++/21799] [4.0/4.1 regression] Spurious ambiguity with pointers to members

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 20:58 --- Good idea. So I tried it, and indeed this patch 2005-05-10 Nathan Sidwell <[EMAIL PROTECTED]> PR c++/20723 * pt.c (more_specialized_fn): Member functions are unordered wrt

[Bug c++/19203] [3.4/4.0 Regression] [DR 214] Partial ordering failure between function reference and generic const reference

2005-06-21 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-21 20:58 --- Unfortunately, the patch to this PR has caused the regression reported in PR 21799 :-( W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19203

[Bug libfortran/22124] eoshift with dim=2 fails

2005-06-22 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-22 14:09 --- Um, Thomas, PR 21592 which you claim this is a duplicate of, is a C++ front end bug. Did you mean that? W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22124

[Bug c++/22147] [4.1 regression] ICE in get_bindings

2005-06-22 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-23 02:45 --- Is this really valid? class Y is undeclared at the point of the friend declaration... W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22147

[Bug c++/21799] [4.0/4.1 regression] Spurious ambiguity with pointers to members

2005-06-23 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-23 14:51 --- Mark, since you are looking for bugs to be fixed in 4.0.1 again, would this regression between 4.0.0 and the present state of 4.0.1 interest you? This is code that also appears in boost... W. -- http

[Bug c++/22206] gcc overload resolution fails to follow "using" in some cases

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 13:57 --- Andrew is correct: name lookup proceeds from the present scope outward and stops once it finds a matching name (note: name, not signature) or names. It then tries to match the signature of the names to the

[Bug rtl-optimization/22208] [4.0/4.1 Regression] flag_rename_registers is not enabled at -O3 or above

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 13:59 --- I concur, done. W. -- What|Removed |Added Target Milestone|4.0.2

[Bug c++/22227] g++ 4.0.0 has issues with the typedef of reference

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 22:57 --- I tried to understand what you want to say, but couldn't. Would you mind sending us a little piece of (complete, compilable) code that compiles with SunCC but not with gcc? Thanks Wol

[Bug tree-optimization/22037] [4.1 Regression] internal compiler error: verify_ssa failed

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:06 --- Cutting another line or two: --- extern double sqrt (double) throw (); void foo(double& d, int n) { double e=0; for(int i=0; i /home/bangerth/bin/gcc-4.1-pre/bin/c++ -c x.cc

[Bug tree-optimization/21218] [4.1 regression] ICE using -ftree-vectorize

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:10 --- Volker, your testcase does not fail anymore. Should we close this PR? I have other testcases that fail with the same error message and for which I will open another PR shortly... W. -- http

[Bug tree-optimization/20256] Perfect nest transformation not conservative enough

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:17 --- Andrew's code in comment #4 is invalid (don't call no-arg functions with arguments!), but here's a version that also passes through the c++ frontend and crashes the optimizers:

[Bug tree-optimization/22228] New: [4.1 regression] ICE with -ftree-vectorize

2005-06-28 Thread bangerth at dealii dot org
Attached code fails like so: spec/src> /home/bangerth/bin/gcc-4.1-pre/bin/c++ -O3 -march=pentium4 -ftree-vectorize -c mapping_cartesian.ii mapping_cartesian.cc: In constructor ‘MappingCartesian::InternalData::InternalData(const Quadrature&) [with int dim = 3]’: mapping_cartesia

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:22 --- Created an attachment (id=9168) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9168&action=view) Preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8

[Bug tree-optimization/21218] [4.1 regression] ICE using -ftree-vectorize

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:23 --- See PR 8... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21218

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-06-28 Thread bangerth at dealii dot org
-- What|Removed |Added Summary|[4.1 regression] ICE with - |[4.1 regression] ICE with - |ftree-vectorize |ftree-vectorize in

[Bug tree-optimization/21859] ICE with -ftree-vectorize and -O2 or higher

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:25 --- This may be the same as PR 8, which still fails as of today... W. -- What|Removed |Added

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-06-28 Thread bangerth at dealii dot org
-- What|Removed |Added OtherBugsDependingO||21859 nThis|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-28 23:31 --- I don't think its the same as PR 22037 -- they have different error messages! W. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-06-28 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-29 03:41 --- Created an attachment (id=9169) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9169&action=view) New testcase New testcase, much smaller: 100 lines + #include -- What|

[Bug tree-optimization/22228] [4.1 regression] ICE with -ftree-vectorize in verify_ssa

2005-06-28 Thread bangerth at dealii dot org
-- What|Removed |Added CC||irar at il dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8

[Bug c++/22227] g++ 4.0.0 has issues with the typedef of reference

2005-06-29 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-29 13:45 --- > Well it compiles perfectly fine on a Sun Solaris Machine with > Sun Studio 9 installed that has the Sun CC compiler. Also It > was written by a Computer Science Professor at the Universi

[Bug c++/22227] g++ 4.0.0 has issues with the typedef of reference

2005-06-29 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-29 13:47 --- > You will see these > other errors that will show up as well but the code has no > problems on the Sun Machine which means that g++ does not > completely folllow the ANSI/ISO C++ standard

[Bug c++/22227] g++ 4.0.0 has issues with the typedef of reference

2005-06-29 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2005-06-29 14:05 --- Let me point out a few problems in your code first: list225.cpp, line 161: you can't write typename const list::iterator& origVal) const you need to reverse the order of const and

<    2   3   4   5   6   7   8   9   10   11   >