[Bug c++/114569] GCC accepts forming pointer to function type which is ref qualified

2024-04-04 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114569 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2024-02-03 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug libstdc++/109822] New: Converting std::experimental::simd masks yields an error

2023-05-12 Thread jens.maurer at gmx dot net via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- Reproducer: #include auto x = to_native(to_fixed_size(std::experimental::native_simd::mask_type())); This converts a native SIMD mask

[Bug c++/105200] user-defined operator <=> for enumerated types is ignored

2023-01-01 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105200 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug c++/107022] error: use of deleted function 'std::unordered_map

2022-10-21 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 --- Comment #8 from Jens Maurer --- I understand we're in a tangled web of partially-complete class rules here, but the standard does give you the expectation that the inner class is complete at its closing brace: [class.pre] p2 says: "A

[Bug c++/107340] New: std::unordered_map and completeness of nested classes

2022-10-21 Thread jens.maurer at gmx dot net via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- Consider: #include struct X { struct Key { int x = 0; bool operator==(const Key&) const = default; std::size_t operator()(const Key&

[Bug c++/106812] Throwing a non-copyable exception

2022-09-02 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106812 --- Comment #1 from Jens Maurer --- Cross-reference: clang bug https://github.com/llvm/llvm-project/issues/57519

[Bug c++/106812] New: Throwing a non-copyable exception

2022-09-02 Thread jens.maurer at gmx dot net via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- gcc accepts the following program: struct S { S() = default; S(const S) = delete; // int x = 0; // #3 }; int main() { try { throw S(); // #1 } catch (S s

[Bug c++/106150] [DR 2084] union with more than one variant and non-trivial constructor is not accepted

2022-07-01 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106150 --- Comment #6 from Jens Maurer --- Related clang bug: https://github.com/llvm/llvm-project/issues/56313

[Bug c++/106150] New: Incorrect error for defaulted anonymous union member

2022-06-30 Thread jens.maurer at gmx dot net via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following is valid, but yields an error with gcc 12.1: struct A { A() { } }; struct V { V() { }; ~V() { } }; struct S { S(); ~S() {} union

[Bug tree-optimization/105651] bogus "may overlap" memcpy warning with std::string

2022-06-07 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug c++/103177] New: incorrect error message for ambiguous lookup

2021-11-10 Thread jens.maurer at gmx dot net via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- This is clearly a case of ambiguous lookup: struct B { static int foo(int); }; struct B2 { int foo(); }; struct D : private B, public B2 { }; void f() { D d

[Bug c++/101480] [11/12 Regression] Miscompiled code involving operator new

2021-07-19 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 --- Comment #10 from Jens Maurer --- I agree with Jonathan here: The difference is that "malloc" comes with the compiler/library and cannot be replaced (within the scope of the C or C++ standards), but "operator new" is expressly specified to

[Bug c++/101480] [11/12 Regression] Miscompiled code involving operator new

2021-07-19 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101480 --- Comment #3 from Jens Maurer --- "We treat the global operator new as not reading from global memory" If I implement my own global "operator new" afresh, certainly it'll need to access global memory, e.g. to read a global pointer to the

[Bug c++/101480] New: Miscompiled code involving operator new

2021-07-16 Thread jens.maurer at gmx dot net via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following test case works correctly with gcc 10.3 (with any of -O0, -O1, or -O3) and works with gcc 11.1 with -O0, but the assertion at #2 fires with gcc 11.1 with -O1

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 --- Comment #4 from Jens Maurer --- Thanks. My take-away from the discussion is that -Warray-bounds triggers when there might be a code path with bad behavior. Whether such a code path is detected depends very much on the details of

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 --- Comment #2 from Jens Maurer --- Why does the warning go away with -O3, then? If it's intentional, it should be consistent once the optimization level is sufficient for the necessary static analysis.

[Bug c++/100430] New: False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- This code triggers a -Warray-bounds warning in gcc 11.1 (gcc 9.3 was silent; gcc 10 did show the warning). The test case is reduced from another case (not shown) that only

[Bug c++/52202] [C++11][DR 1376] Should not extend lifetime of temporary wrapped in static_cast to reference type

2021-04-06 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52202 --- Comment #5 from Jens Maurer --- Core issue 1299 resolved via http://wg21.link/p0727 does in fact lifetime-extend the temporary in the example. This bug report should therefore be closed without action. (If a test case is missing that

[Bug c++/87223] New: -Os produces sub-optimal x86 machine code for initialization with zero

2018-09-05 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- My understanding of -Os is that it is aimed at reducing code size. It produces code with suboptimal size for the constructor below

[Bug c++/84699] discarded value expression of volatile class type shall materialize a temporary

2018-03-07 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84699 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment #2

[Bug c++/84287] New: pointer to member function type with dependent parameter cannot be mangled

2018-02-08 Thread jens.maurer at gmx dot net
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- This is a (reduced) attempt at SFINAE, which fails with gcc 7.3: struct S { void f(const int&); }; template int g

[Bug c++/57728] Explicit template instantiation with defaulted method causes missing symbol

2017-11-02 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57728 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug c++/80601] spurious -Wconversion warning with explicit class template arguments

2017-05-03 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80601 --- Comment #2 from Jens Maurer --- (In reply to Jonathan Wakely from comment #1) > Strictly speaking the compiler is correct that the type of sizeof(T) is not > dependent, so for LP64 targets will always need a conversion to a narrower > type.

[Bug c++/80601] New: spurious -Wconversion warning with explicit class template arguments

2017-05-03 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The all-new gcc 7.1.0 has introduced a conversion warning in template definition context when a value-dependent sizeof is used

[Bug c++/80599] -Wuseless-cast triggers for inherited constructor

2017-05-02 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80599 --- Comment #1 from Jens Maurer --- This is a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70844 ; please close.

[Bug c++/80599] New: -Wuseless-cast triggers for inherited constructor

2017-05-02 Thread jens.maurer at gmx dot net
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- All-new gcc 7.1.0 delivers a -Wuseless-cast warning for inherited constructors involving reference parameters that the user cannot do anything about. This did not happen

[Bug c++/80598] New: -Wunused triggers for functions used in uninstantiated templates

2017-05-02 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The all-new gcc 7.1.0 now shows this disturbing warning; gcc 6.3.0 didn't. It seems unhelpful to issue an "unused function&quo

[Bug c++/80516] New: No error for bad type-specifier-seq in template parameter

2017-04-25 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following code violates [dcl.type] paragraph 2 "at most one type-specifier is allowed in a type-specifier-seq" (none of the except

[Bug libstdc++/78420] [5/6/7 Regression] std::less<T*> is not a total order with -O2 enabled

2017-01-23 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #18 from Jens Maurer --- Then you should cheat on [dcl.constexpr] p5 by carving out the nullptr case: constexpr void less_than(int *p1, int *p2) { if (p1 == nullptr && p2 == nullptr) return false; return (size_t)p1 <

[Bug libstdc++/78420] [5/6/7 Regression] std::less<T*> is not a total order with -O2 enabled

2017-01-23 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 Jens Maurer changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug c++/79001] New: spurious "defined but not used" warning with explicit instantiation

2017-01-05 Thread jens.maurer at gmx dot net
ty: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following testcase gives a "defined but not used" warning for "f", but not for "g".

[Bug target/78954] optimization: broadcast of non-constant scalar into SSE2 register

2016-12-30 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78954 --- Comment #3 from Jens Maurer --- Ok, thanks. So, this essentially says most/all AMD CPUs have bad general-reg -> xmm move performance. Oh well. Please close.

[Bug target/78954] New: optimization: broadcast of non-constant scalar into SSE2 register

2016-12-30 Thread jens.maurer at gmx dot net
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following code goes through the stack instead of directly moving from the register for "x" into (the low part of) &qu

[Bug c++/78949] New: incorrect "unused variable" warning with SSE2

2016-12-29 Thread jens.maurer at gmx dot net
mponent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following program: typedef unsigned char xmmb_t __attribute__((vector_size(16))); void f() { xmmb_t bla = { }; xmmb_t x = { }; bla &= ~x; } yie

[Bug c++/70932] flexible array member with non-trivial destructor

2016-05-04 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70932 --- Comment #2 from Jens Maurer --- The whole point of flexible array members seems to be to save an allocation for the array, with the precondition that the array size can be determined at initialization time and stays fixed for the entire

[Bug c++/70932] New: flexible array member with non-trivial destructor

2016-05-03 Thread jens.maurer at gmx dot net
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- Testcase: struct A { ~A(); }; struct S { S() : i(0) { } int i; A a[]; }; $ g++ -v flex.cc gcc version 6.1.0 (GCC) flex.cc: In constructor ‘S::S()’: flex.cc:6

[Bug c++/70827] [6/7 regression] dubious use of deleted function in inherited constructor

2016-05-03 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70827 --- Comment #2 from Jens Maurer --- A prominent use case is that std::unique_ptr in the parameter list of an inherited constructor stops working.

[Bug c++/70847] exponential time in cp_fold for chained virtual function calls

2016-04-28 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70847 --- Comment #1 from Jens Maurer --- This situation is similar to bug 70342, except that my testcase - involves no -fsanitize=undefined, - is shorter, - hinges on "virtual", and - is a regression vs. gcc 5.x.

[Bug c++/70847] New: exponential time in cp_fold for chained virtual function calls

2016-04-28 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- Testcase: struct D { virtual D& f(); }; void g() { D d; d.f().f().f().f().f().f().f().f().f().f().f().f().f().f().f() #if 1

[Bug c++/60685] exception not caught by enclosing catch

2015-08-08 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60685 --- Comment #4 from Jens Maurer jens.maurer at gmx dot net --- Works with 5.1.0 and 5.2.0, so this seems to be resolved.

[Bug c++/67064] Register asm variable broken

2015-07-31 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #16 from Jens Maurer jens.maurer at gmx dot net --- (In reply to Jason Merrill from comment #14) '-Wpedantic' does not cause warning messages for use of the alternate keywords whose names begin and end with '__'. Pedantic

[Bug c++/67064] Register asm variable broken

2015-07-30 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67064 --- Comment #8 from Jens Maurer jens.maurer at gmx dot net --- In general, x and (x) have the same meaning as per 5.1.1p6. There are a few (spelled-out) exceptions, though. One exception is inside a decltype-specifier, where decltype(e

[Bug c++/66954] New: function multiversioning fails for target aes

2015-07-20 Thread jens.maurer at gmx dot net
++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- I would like to switch implementations depending on whether the (Intel) CPU has AES instructions or not. Simplified testcase: __attribute__((target(default))) void foo

[Bug c++/66583] New: incorrect implicitly-defined move constructor for class with anonymous union and NSDMI

2015-06-18 Thread jens.maurer at gmx dot net
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Target Milestone: --- The following code wrongly prints 0 instead of the correct 1: $ g++ -std=c++11 union.cc $ ./a.out 0

[Bug c++/60685] exception not caught by enclosing catch

2015-03-05 Thread jens.maurer at gmx dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60685 Jens Maurer jens.maurer at gmx dot net changed: What|Removed |Added Version|4.8.2 |4.9.2

[Bug c++/65140] New: crash with function multiversioning and LTO

2015-02-20 Thread jens.maurer at gmx dot net
++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net The first example for function multiversioning given at https://gcc.gnu.org/wiki/FunctionMultiVersioning crashes when compiled with -flto. Reduced example: __attribute__ ((target (default))) void foo

[Bug c++/60685] New: exception not caught by enclosing catch

2014-03-27 Thread jens.maurer at gmx dot net
++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Created attachment 32465 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32465action=edit source code to reproduce the issue When compiling and linking the attached two files, I get a core dump, although

[Bug c/60412] New: superfluous arithmetic generated for uneven tail handling

2014-03-04 Thread jens.maurer at gmx dot net
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Created attachment 32262 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=32262action=edit Testcase showing superfluous arithmetic in assembly The attached function

[Bug c++/60372] New: incorrect destruction order for function parameter objects

2014-02-28 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net Parameter objects are not destroyed when the called function returns, but later (too late). The C++ standard says in 5.2.2p4 [expr.call]: ... The lifetime

[Bug c++/59248] [4.8 regression] pointless -Wconversion warning with sizeof, take 2

2013-11-22 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59248 --- Comment #2 from Jens Maurer jens.maurer at gmx dot net --- This one: $ cat ~/x.cc int main() { int x = 2*sizeof(int); int y { 2* sizeof(int) }; } (sorry, forgot to attach earlier)

[Bug c++/59248] New: [4.8 regression] pointless -Wconversion warning with sizeof, take 2

2013-11-21 Thread jens.maurer at gmx dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jens.maurer at gmx dot net The simple case was fixed with http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56930 (thanks, Jason), but a slightly more involved case still warns spuriously

[Bug c++/56930] New: regression: pointless -Wconversion warning with sizeof

2013-04-12 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56930 Bug #: 56930 Summary: regression: pointless -Wconversion warning with sizeof Classification: Unclassified Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal

[Bug c++/55972] New: cannot access private member from lambda used in NSDMI

2013-01-14 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55972 Bug #: 55972 Summary: cannot access private member from lambda used in NSDMI Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug c++/55446] New: array new with size zero vanishes from object code

2012-11-23 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55446 Bug #: 55446 Summary: array new with size zero vanishes from object code Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: major

[Bug target/39102] gcc generating multiple stack stores in optimised code

2012-11-23 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39102 --- Comment #2 from Jens Maurer jens.maurer at gmx dot net 2012-11-23 14:07:34 UTC --- Here is another test case: struct S { unsigned char * p; unsigned char * limit; }; S g(S s); inline __attribute__((always_inline)) S f(S

[Bug c++/54079] New: __builtin_ia32_palignr128 can't be called

2012-07-24 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54079 Bug #: 54079 Summary: __builtin_ia32_palignr128 can't be called Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/52689] static linking with libstdc++ fails

2012-03-27 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689 --- Comment #6 from Jens Maurer jens.maurer at gmx dot net 2012-03-27 07:03:46 UTC --- $ nm /usr/local/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/../../../../lib64/libstdc++.a | grep GLIBCXX_3.4.14 B _ZSt15future_category

[Bug libstdc++/52689] New: static linking with libstdc++ fails

2012-03-23 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689 Bug #: 52689 Summary: static linking with libstdc++ fails Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: major Priority: P3

[Bug libstdc++/52689] static linking with libstdc++ fails

2012-03-23 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689 --- Comment #2 from Jens Maurer jens.maurer at gmx dot net 2012-03-23 20:13:11 UTC --- $ find /usr/lib -name libstdc++.a /usr/lib/gcc/x86_64-linux-gnu/4.6/32/libstdc++.a /usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a /usr/lib/gcc/x86_64-linux-gnu

[Bug libstdc++/52689] static linking with libstdc++ fails

2012-03-23 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52689 --- Comment #3 from Jens Maurer jens.maurer at gmx dot net 2012-03-23 20:14:33 UTC --- In case it matters, here's the configure info etc: $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-unknown

[Bug c++/52099] New: Incorrectly applying conversion when catching pointer-to-members

2012-02-02 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52099 Bug #: 52099 Summary: Incorrectly applying conversion when catching pointer-to-members Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED

[Bug c/52057] New: dropping const in assignment gives only a warning

2012-01-30 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52057 Bug #: 52057 Summary: dropping const in assignment gives only a warning Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal

[Bug c++/48577] New: unexpected ast of kind unordered_expr using isnan()

2011-04-12 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48577 Summary: unexpected ast of kind unordered_expr using isnan() Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo:

[Bug c++/48577] unexpected ast of kind unordered_expr using isnan()

2011-04-12 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48577 --- Comment #1 from Jens Maurer jens.maurer at gmx dot net 2011-04-12 16:39:03 UTC --- It works with gcc 4.5.2, so it seems to be a 4.6 regression.

[Bug c++/48453] [C++0x] Invalid reference initialization via explicit conversion

2011-04-06 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48453 Jens Maurer jens.maurer at gmx dot net changed: What|Removed |Added CC||jens.maurer

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-27 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 --- Comment #3 from Jens Maurer jens.maurer at gmx dot net 2010-10-27 06:14:31 UTC --- Created attachment 22170 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22170 improved testcase The previous testcase had the problem that the compiler

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-27 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 --- Comment #4 from Jens Maurer jens.maurer at gmx dot net 2010-10-27 07:55:37 UTC --- Created attachment 22171 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22171 two if conditions removed from the testcase Two if conditions increase

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-27 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 --- Comment #6 from Jens Maurer jens.maurer at gmx dot net 2010-10-27 13:15:19 UTC --- Thanks. Yes, the testcase was reduced from preprocessed files. Unfortunately, you can't remove the #pragma interface without breaking the testcase

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-27 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 --- Comment #6 from Jens Maurer jens.maurer at gmx dot net 2010-10-27 13:15:19 UTC --- Thanks. Yes, the testcase was reduced from preprocessed files. Unfortunately, you can't remove the #pragma interface without breaking the testcase

[Bug c++/46188] New: -fipa-cp removes destructor call

2010-10-26 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 Summary: -fipa-cp removes destructor call Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo:

[Bug c++/46188] -fipa-cp removes destructor call

2010-10-26 Thread jens.maurer at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 Jens Maurer jens.maurer at gmx dot net changed: What|Removed |Added Attachment #22164|0 |1