[GCC Bugzilla] Your account gcc-bugs@gcc.gnu.org is being impersonated

2010-10-08 Thread gcc-bugzilla
Frédéric Buclin has used the 'sudo' feature to access GCC Bugzilla using your account. Frédéric Buclin provided the following reason for doing this: Checking email preferences for the mailing-list. Ignore this message. If you feel that this action was inappropria

[Bug libstdc++/24595] std::tr1::get_deleter not declared

2005-11-12 Thread gcc-bugzilla at kayari dot org
--- Comment #6 from gcc-bugzilla at kayari dot org 2005-11-12 14:12 --- Created an attachment (id=10227) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10227&action=view) alternative fix This is a fixed version of the previous patch that passes tests on linux-x86_64. Thi

[Bug c++/25137] Warning "missing braces around initializer" causing problems with tr1::array

2005-12-06 Thread gcc-bugzilla at kayari dot org
--- Comment #9 from gcc-bugzilla at kayari dot org 2005-12-06 13:07 --- I've often found this warning to be a nuisance, because it's correct and well-defined to omit some braces from the initializer. There are many cases where the warning is useful, e.g. with aggregates

[Bug c++/13590] [DR39] Non-existing ambiguity when inhering through virtuals two identical using declarations.

2005-12-10 Thread gcc-bugzilla at kayari dot org
--- Comment #19 from gcc-bugzilla at kayari dot org 2005-12-10 13:17 --- would the summary be clarified by changing "Non-existing ambiguity when inhering through virtuals two identical using declarations" to "Ambiguity due to two using declarations for same member

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

2006-10-14 Thread gcc-bugzilla at kayari dot org
--- Comment #13 from gcc-bugzilla at kayari dot org 2006-10-15 03:24 --- If this ever gets fixed (which I hope it does) then maybe it should depend on -std=c++98 so this continues to work by default, or it will break a lot of code that incorrectly passes extern "C++" functi

[Bug preprocessor/30808] New: It would probably make sense to abort immediately after a file-not-found.

2007-02-15 Thread gcc-bugzilla at seebs dot net
Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at seebs dot net GCC build triplet: N/A GCC host triplet: N/A GCC target triplet: N/A http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30808

[Bug c++/33046] New: ICE on explicit/partial template static member specialization mix-up

2007-08-11 Thread gcc-bugzilla at waba dot be
gnu dot org ReportedBy: gcc-bugzilla at waba dot be GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33046

[Bug c++/33047] New: "extern template" GNU extension makes static data member definition a declaration

2007-08-11 Thread gcc-bugzilla at waba dot be
ignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at waba dot be GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33047

[Bug c++/94409] New: std::regexp (std::collate?) with GCC 7.3.1 on AIX, Japanese

2020-03-30 Thread gcc-bugzilla at vlasiu dot net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at vlasiu dot net Target Milestone: --- std::regexp constructor fail on AIX (Japanese). Works fine for English, Spanish, Italian, French and German languages. $ gcc -v Using

[Bug libstdc++/94409] std::regexp (std::collate?) with GCC 7.3.1 on AIX, Japanese

2020-03-30 Thread gcc-bugzilla at vlasiu dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94409 --- Comment #2 from gcc-bugzilla at vlasiu dot net --- (In reply to Jonathan Wakely from comment #1) > N.B. GCC 7 is no longer supported and will not be fixed (but the bug is also > present in supported releases). We are going to switch s

[Bug libstdc++/94409] std::regexp (std::collate?) with GCC 7.3.1 on AIX, Japanese

2020-03-30 Thread gcc-bugzilla at vlasiu dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94409 --- Comment #4 from gcc-bugzilla at vlasiu dot net --- That's really bad news for us. Well, we'll wait for a patch and maybe we are going to backport-it. If it's going to be too complicated we are probably going to switch to one o

[Bug c++/96299] New: Defaulted operator <=> implicitly deleted when a member has operator < and operator == and return type is specified

2020-07-23 Thread gcc-bugzilla at mysko dot org
Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at mysko dot org Target Milestone: --- The following sample fails to compile with GCC 10.1

[Bug c/96606] New: Shift operator not working correctly

2020-08-13 Thread gcc-bugzilla at ryuar dot in
Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at ryuar dot in Target Milestone: --- Created attachment 49058 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49058&action=edit source code. Hello. The shift operator doesn't work correctly in som

[Bug c/96606] Shift operator not working correctly

2020-08-13 Thread gcc-bugzilla at ryuar dot in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96606 --- Comment #1 from RyuaNerin --- Created attachment 49059 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49059&action=edit msvc vs gcc

[Bug c/96606] Shift operator not working correctly

2020-08-13 Thread gcc-bugzilla at ryuar dot in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96606 RyuaNerin changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/92143] New: std::pmr::polymorphic_allocator throws bad_alloc on macOS

2019-10-17 Thread gcc-bugzilla at daryl dot haresign.com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at daryl dot haresign.com Target Milestone: --- The following code throws a std::bad_alloc on macOS (seen via GCC 9.2 installed with Homebrew, on macOS Catalina 10.15): #include

[Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS

2019-10-17 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #3 from Daryl Haresign --- $ g++-9 -E -dM test.cc | grep ALIGNED #define _GLIBCXX_HAVE_ALIGNED_ALLOC 1

[Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS

2019-10-17 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #4 from Daryl Haresign --- As for conformance, the latest C draft says: The aligned_alloc function allocates space for an object whose alignment is specified by alignment, whose size is specified by size, and whose value is indetermi

[Bug libstdc++/92143] std::pmr::polymorphic_allocator throws bad_alloc on macOS

2019-10-20 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92143 --- Comment #8 from Daryl Haresign --- (In reply to Jonathan Wakely from comment #5) > C11 6.2.8 says "Valid alignments > include only those values returned by an _Alignof expression for fundamental > types, plus an additional implementation-defi

[Bug middle-end/56759] New: result of __builtin_constant_p( ) is not constant enough for __builtin_choose_expr( )

2013-03-27 Thread gcc-bugzilla at codyps dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56759 Bug #: 56759 Summary: result of __builtin_constant_p( ) is not constant enough for __builtin_choose_expr( ) Classification: Unclassified Product: gcc Version: 4.8.1

[Bug middle-end/56759] result of __builtin_constant_p( ) is not constant enough for __builtin_choose_expr( )

2013-03-27 Thread gcc-bugzilla at codyps dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56759 --- Comment #1 from Cody P Schafer 2013-03-28 00:56:11 UTC --- This also affects my ubuntu gcc install: $ gcc constant_not_constant.c -O3 -c constant_not_constant.c: In function ‘x’: constant_not_constant.c:4:31: error: first argument to ‘__bu

[Bug c++/11701] Typeof problems in detecting whether its argument is a type or an expression

2012-03-22 Thread gcc-bugzilla at contacts dot eelis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11701 --- Comment #2 from Eelis 2012-03-22 21:56:17 UTC --- For what it's worth: as the original reporter, I no longer care about this bug (or typeof in general), because we now have C++11 with decltype. :)

[Bug libstdc++/59611] New: std::copy performs worse than naive implementation when copying a single known byte

2013-12-27 Thread gcc-bugzilla at contacts dot eelis.net
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net Created attachment 31524 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31524&action=edit Testcase The a

[Bug libstdc++/59611] std::copy performs worse than naive implementation when copying a single known byte

2013-12-27 Thread gcc-bugzilla at contacts dot eelis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59611 --- Comment #1 from Eelis --- (With -O3)

[Bug c++/51665] New: undefined reference when passing static const int member to template method

2011-12-23 Thread gcc-bugzilla at bluespirit dot la
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665 Bug #: 51665 Summary: undefined reference when passing static const int member to template method Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNC

[Bug c++/51665] undefined reference when passing static const int member to template method

2011-12-23 Thread gcc-bugzilla at bluespirit dot la
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51665 --- Comment #1 from Karl Krach 2011-12-23 13:38:22 UTC --- g++ *.cpp --save-temps MyClass.o:MyClass.cpp:function MyClass::doSomething(): error: undefined reference to 'MyClass::M_SOME_CONSTANT' collect2: ld returned 1 exit status

[Bug c++/107466] New: [12 Regression] invalid -Wnarrowing error

2022-10-30 Thread littlefox+gcc-bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 Bug ID: 107466 Summary: [12 Regression] invalid -Wnarrowing error Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/107466] [12/13 Regression] invalid -Wnarrowing error with std::subtract_with_carry_engine

2022-10-31 Thread littlefox+gcc-bugzilla--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107466 --- Comment #3 from Mara Sophie Grosch --- Standard explicitly allows using unsigned short though: https://en.cppreference.com/w/cpp/numeric/random/subtract_with_carry_engine

[Bug c/85696] New: OpenMP with variably modified and default(none) won't compile

2018-05-08 Thread gcc-bugzilla at zulan dot net
ormal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at zulan dot net Target Milestone: --- Created attachment 44085 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44085&action=edit gcc -v (Archlinux) The follo

[Bug c/85696] OpenMP with variably modified and default(none) won't compile

2018-05-08 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 gcc-bugzilla at zulan dot net changed: What|Removed |Added Attachment #44085|0 |1 is obsolete

[Bug c/85696] OpenMP with variably modified and default(none) won't compile

2018-05-08 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 --- Comment #2 from gcc-bugzilla at zulan dot net --- Created attachment 44087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44087&action=edit minimal example

[Bug c++/91387] New: Segfault using -flto

2019-08-07 Thread gcc-bugzilla at tobias dot goedderz.info
: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at tobias dot goedderz.info Target Milestone: --- Created attachment 46684 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46684&action=edit Preprocessed source code Hi, I'm experiencing g++ segfaults during compilatio

[Bug lto/91988] New: Inlining fails with LTO enabled

2019-10-04 Thread gcc-bugzilla at tobias dot goedderz.info
Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at tobias dot goedderz.info CC: marxin at gcc dot gnu.org Target Milestone: --- Inlining fails with LTO when there is an argument with a destructor. This seems unintentional to me, given the following behaviour

[Bug lto/91988] Inlining fails with LTO enabled

2019-10-04 Thread gcc-bugzilla at tobias dot goedderz.info
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91988 --- Comment #1 from Tobias Gödderz --- Happens with GCC 9.1.0 as well.

[Bug c++/84222] New: [[deprecated]] class complains about internal class usage

2018-02-05 Thread gcc-bugzilla at daryl dot haresign.com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at daryl dot haresign.com Target Milestone: --- If I mark a class with the [[deprecated]] annotation, it complains when the class uses its own name in the implementation: class

[Bug c++/84222] [[deprecated]] class complains about internal class usage

2018-02-05 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222 --- Comment #1 from Daryl Haresign --- Additionally, any external use of a static method of a deprecated class should probably (but does not currently) emit a warning (Clang emits a warning). class [[deprecated]] C { public: void fn() {} }

[Bug c++/84222] [[deprecated]] class complains about internal class usage

2018-02-05 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222 --- Comment #2 from Daryl Haresign --- See also bug 79817.

[Bug other/89635] More ANSI SGR codes in diagnostics?

2019-03-08 Thread gcc-bugzilla at lucaswerkmeister dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89635 Lucas Werkmeister changed: What|Removed |Added CC||gcc-bugzilla@lucaswerkmeist

[Bug c++/78511] New: ICE on using concept name as a "requires" parameter

2016-11-24 Thread gcc-bugzilla at minijackson dot 33mail.com
iority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at minijackson dot 33mail.com Target Milestone: --- GCC version and system: gcc (Gentoo 6.2.0-r1 p1.1) 6.2.0 Compilation options: -altivec -awt -cilk cxx -debug -doc -fixed-point fortr

[Bug c++/78966] New: Unjustified variadic template instantiation

2017-01-02 Thread gcc-bugzilla at contacts dot eelis.net
++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net Target Milestone: --- Consider: template struct vari { static_assert(sizeof...(TT) != 0, "bleh"); }; template struct X {}; void f(void(*)(X)); template v

[Bug c++/78966] Unjustified variadic template instantiation

2017-01-03 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966 --- Comment #2 from Eelis --- The testcase was a minimized version of the (imho innocuous looking): #include #include template std::ostream & operator<<(std::ostream &, std::variant const &); int main() { std::cout << std::endl; }

[Bug c++/78966] Unjustified variadic template instantiation

2017-01-06 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78966 Eelis changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/79254] New: basic_string::operator= isn't exception safe

2017-01-26 Thread gcc-bugzilla at daryl dot haresign.com
onent: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at daryl dot haresign.com Target Milestone: --- Assigning one string to another, where they have non-equal propagate-on-copy-assignment allocators, does a `_M_destroy()`, followed by an `assign()`.

[Bug libstdc++/79254] [5/6/7 Regression] basic_string::operator= isn't exception safe

2017-01-26 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79254 --- Comment #6 from Daryl Haresign --- I guess you don't want _M_copy_assign to be public, either.

[Bug libstdc++/79254] [5/6/7 Regression] basic_string::operator= isn't exception safe

2017-01-26 Thread gcc-bugzilla at daryl dot haresign.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79254 --- Comment #7 from Daryl Haresign --- I would also be inclined to reverse your Guard: have it take 'this', have an 'activate' method which swaps in the new values, have a 'deactivate' method which releases the memory, and have its destructor swa

[Bug c++/33952] -Wfatal-errors truncates multi-line error messages.

2016-09-06 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33952 --- Comment #5 from Eelis --- (In reply to David Malcolm from comment #4) > Eelis: FWIW, gcc has a -fmax-errors=n option; I wonder if setting that to 1 > might be a better fit for geordi? (just thinking aloud here). It also truncates the error

[Bug libstdc++/77994] New: std::sample uses incorrect integer types internally

2016-10-15 Thread gcc-bugzilla at contacts dot eelis.net
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net Target Milestone: --- Both the reservoir sampling and the selection sampling implementations use a uniform_int_distribution<_Size> to generate integers distributed ov

[Bug c++/10619] Error message for no matching function calls does not list explicitly-specified template arguments

2016-10-22 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10619 Eelis changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/42490] using-directive in namespace doesn't work properly

2016-10-22 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42490 Eelis changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements

2014-06-16 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785 Eelis changed: What|Removed |Added CC||gcc-bugzilla at contacts dot eelis

[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements

2014-06-17 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785 --- Comment #6 from Eelis --- Clang's libc++ (which gives the expected result) might be another source of inspiration.

[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements

2014-06-18 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785 --- Comment #8 from Eelis --- With Clang 3.5, given struct X: std::tuple<> { char c; }; I get sizeof(X)==1. Is that not what you mean?

[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements

2014-06-18 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785 --- Comment #10 from Eelis --- I see what you mean! And while stuff with empty types and EBO is IMHO not nearly as serious as random superfluous bytes that are inserted when you use tuples of a bread and butter type like char, I agree it would be

[Bug libstdc++/56785] std::tuple of two elements does not apply empty base class optimization when one of its elements is a std::tuple with two elements

2014-06-23 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56785 --- Comment #12 from Eelis --- Ooh, very nice! Thanks!

[Bug rtl-optimization/65371] arm loop with volatile variable

2015-03-13 Thread gcc-bugzilla at enginuities dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65371 --- Comment #2 from Stuart --- I compiled it for x86_64 and thought it was fine, however, after your comment I tried compiling it with clang/llvm and can see the difference (I'm not particularly familiar with the full instruction set)... I've fo

[Bug c++/68003] New: Variable declared in condition in for loop is destroyed too soon

2015-10-17 Thread gcc-bugzilla at contacts dot eelis.net
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net Target Milestone: --- Consider: #include #include struct X { bool alive = true; ~X() { alive = false; } explicit operator

[Bug c++/64450] New: Optimize 0>=p-q to q>=p for char*p,*q;

2014-12-30 Thread gcc-bugzilla at contacts dot eelis.net
ponent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net Created attachment 34365 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34365&action=edit Testcase It was noticed that Boost's iterator_facade incurred a p

[Bug c++/59354] Unexpected result in g++ when casting int to char from an stl vector to an array

2015-01-01 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59354 Eelis changed: What|Removed |Added CC||gcc-bugzilla at contacts dot eelis

[Bug libstdc++/64476] New: std::uninitialized_copy tests assignability the wrong way, resulting in performance pessimization

2015-01-02 Thread gcc-bugzilla at contacts dot eelis.net
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net It does: typedef typename iterator_traits<_InputIterator>::reference _RefType; const bool __assi

[Bug c++/57971] Improve copy elision when returning structs by value

2015-01-10 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57971 Eelis changed: What|Removed |Added CC||gcc-bugzilla at contacts dot eelis

[Bug c++/65221] typedef-name identifier not resolved in static member instantiation

2015-02-26 Thread gcc-bugzilla at mail dot shgn.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65221 --- Comment #1 from Philipp Ittershagen --- $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4

[Bug target/65371] New: arm loop with volatile variable

2015-03-09 Thread gcc-bugzilla at enginuities dot com
Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at enginuities dot com Target: arm-none-eabi (Cortex-M3) I've found this behaviour with gcc 4.8.4, 4.9.2, and 5.0.0 (20150308) (all compiled with the same flags) on Arch Linux (3.18.2-2-ARCH x86_64). I&#x

[Bug c++/63728] New: Memory exhaustion using constexpr constructors for classes with large array members

2014-11-03 Thread gcc-bugzilla at bmevers dot de
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at bmevers dot de Having a constexpr constructor on a class with a large array member will result in excessive memory usage. For example, I wasn't ab

[Bug middle-end/12086] memcmp(i,j,4) should use word (SI) subtraction

2014-11-16 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12086 Eelis changed: What|Removed |Added CC||gcc-bugzilla at contacts dot eelis

[Bug c++/63904] New: ICE when acessing array member of constexpr struct

2014-11-16 Thread gcc-bugzilla at bmevers dot de
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at bmevers dot de Created attachment 33994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33994&action=edit Preprocessed source The following code causes an internal compiler error: template str

[Bug libstdc++/64128] New: Let vector take advantage of malloc_usable_size for malloc-using allocators

2014-11-30 Thread gcc-bugzilla at contacts dot eelis.net
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at contacts dot eelis.net Created attachment 34150 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34150&action=edit testcase Changing this-&

[Bug libstdc++/64128] Let vector take advantage of malloc_usable_size for malloc-using allocators

2014-11-30 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64128 --- Comment #1 from Eelis --- Hmm, std::allocator::allocate calls ::operator new, which may be user-defined, so maybe there is no practical way to detect whether it is really using malloc. :(

[Bug libstdc++/64128] Let vector take advantage of malloc_usable_size for malloc-using allocators

2014-12-01 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64128 --- Comment #4 from Eelis --- Yeah, I noticed that tcmalloc is also way faster, and since tcmalloc barely over-allocates for the sizes requested by vector, there is no benefit to using malloc_usable_size (which it also supports) there. So I thin

[Bug middle-end/12086] memcmp(i,j,4) should use word (SI) subtraction

2014-12-24 Thread gcc-bugzilla at contacts dot eelis.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12086 --- Comment #13 from Eelis --- It's also worth noting that this affects operator== for std::array. :(

[Bug rtl-optimization/65371] arm loop with volatile variable

2015-06-26 Thread gcc-bugzilla at enginuities dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65371 --- Comment #4 from Stuart --- The assembly generated from Comment #1 looks good. However, the assembly generated from Comment #3 hasn't improved, it still contains the unnecessary mov instruction on line 2 (mov r2, r3). The first instruction m

[Bug bootstrap/42176] bootstrap fails while building libstdc++-v3 on debian sarge (related to cstdio and similar to #30915)

2010-10-02 Thread gcc-bugzilla at gehrels dot info
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42176 --- Comment #2 from gcc-bugzilla at gehrels dot info 2010-10-02 16:20:01 UTC --- I can confirm this bug using gentoo linux: uname -a Linux vadmin631 2.6.26-2-xen-amd64 #1 SMP Tue Aug 31 11:17:26 UTC 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600

[Bug bootstrap/42176] bootstrap fails while building libstdc++-v3 on debian sarge (related to cstdio and similar to #30915)

2010-10-02 Thread gcc-bugzilla at gehrels dot info
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42176 --- Comment #3 from gcc-bugzilla at gehrels dot info 2010-10-02 16:22:48 UTC --- Oh, and, btw: The Version i was trying to compile was gcc-4.4.3

[Bug libstdc++/46332] New: __cxa_demangle yields excess parentheses for function types

2010-11-06 Thread gcc-bugzilla at contacts dot eelis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 Summary: __cxa_demangle yields excess parentheses for function types Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug other/46332] __cxa_demangle yields excess parentheses for function types

2010-11-09 Thread gcc-bugzilla at contacts dot eelis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46332 --- Comment #3 from Eelis 2010-11-09 17:26:40 UTC --- (In reply to comment #2) > I'm pretty sure to have seen this behavior mentioned already... You may be thinking of bug #36002. That one was about errors emitted during compilation, and has bee

[Bug c++/46466] New: [C++0X] ICE when using constexpr with -fno-elide-constructors

2010-11-13 Thread gcc-bugzilla at contacts dot eelis.net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46466 Summary: [C++0X] ICE when using constexpr with -fno-elide-constructors Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2016-07-11 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 gcc-bugzilla at zulan dot net changed: What|Removed |Added CC||gcc-bugzilla at zulan dot

[Bug c++/71173] [6/7 regression] Qualified name lookup

2016-07-11 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71173 --- Comment #6 from gcc-bugzilla at zulan dot net --- As far as I can tell it is fixed. Tested with Archlinux "6.1.1" which seems to be git/1bbd3999).

[Bug libstdc++/71945] New: Integer overflow in use counter of shared pointers

2016-07-20 Thread gcc-bugzilla at chwress dot at
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at chwress dot at Target Milestone: --- Created attachment 38942 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38942&action=edit A small program demonstrating the issue We (Fabian Ya

[Bug c/77436] New: Incorrect constant result for summing loop inserted

2016-08-31 Thread gcc-bugzilla at lucaswerkmeister dot de
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at lucaswerkmeister dot de Target Milestone: --- Created attachment 39529 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39529&action=edit Preprocessed version of a small C program that sums

[Bug c/77436] Incorrect constant result for summing loop inserted

2016-08-31 Thread gcc-bugzilla at lucaswerkmeister dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77436 --- Comment #3 from Lucas Werkmeister --- Sorry, I wasn’t aware that wrapping is defined but overflow isn’t. The bug also happens if the summand type is changed to long (or, precisely, int64_t), where overflow shouldn’t happen (we’re adding at m

[Bug c++/30111] New: Value-initialization of POD base class doesn't initialize members

2006-12-07 Thread gcc-bugzilla at kayari dot org
initialize members Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at kayari d

[Bug c++/30111] Value-initialization of POD base class doesn't initialize members

2006-12-07 Thread gcc-bugzilla at kayari dot org
--- Comment #1 from gcc-bugzilla at kayari dot org 2006-12-07 18:03 --- Values printed out confirm it on Linux for 3.3.5 20050117 (prerelease) (SUSE Linux), and official FSF 3.4.3, 4.0.1, 4.0.2, 4.1.1 N.B. I meant AIX 5.3, not 5/3 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c++/30111] Value-initialization of POD base class doesn't initialize members

2006-12-08 Thread gcc-bugzilla at kayari dot org
--- Comment #4 from gcc-bugzilla at kayari dot org 2006-12-08 10:36 --- Richard, there's no difference between pod() and p() in this case, both are value-initialisations of a POD class, therefore all non-static data members should be value-initialised. I cited 8.5p5 for good r

[Bug target/28146] -O2 produces invalid code on s390-linux-gnu: gcc-4.1.2 20060608

2006-06-23 Thread list+gcc-bugzilla at meyering dot net
--- Comment #2 from list+gcc-bugzilla at meyering dot net 2006-06-23 19:58 --- Created an attachment (id=11734) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11734&action=view) preprocessed input Here's the same j.i file, as an attachment. -- http://gcc.gnu.

[Bug target/28146] -O2 produces invalid code on s390-linux-gnu: gcc-4.1.2 20060608

2006-06-23 Thread list+gcc-bugzilla at meyering dot net
--- Comment #4 from list+gcc-bugzilla at meyering dot net 2006-06-23 20:26 --- Created an attachment (id=11735) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11735&action=view) Here's the output of running gcc -I.. -I. -g -O2 ~/j.c -v Here's the output of runnin

[Bug c++/35099] New: [OpenMP] ICE in remove_unreachable_regions with -O -fopenmp

2008-02-06 Thread t-gcc-bugzilla at snowelm dot com
ED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: t-gcc-bugzilla at snowelm dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu

[Bug c++/35099] [OpenMP] ICE in remove_unreachable_regions with -O -fopenmp

2008-02-06 Thread t-gcc-bugzilla at snowelm dot com
--- Comment #1 from t-gcc-bugzilla at snowelm dot com 2008-02-06 08:03 --- Created an attachment (id=15103) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15103&action=view) Testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35099

[Bug c++/35370] New: Visibility of member of base template class lacking in derived template class

2008-02-25 Thread gcc-bugzilla at meta-dynamic dot com
onent: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gcc-bugzilla at meta-dynamic dot com GCC target triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35370

[Bug target/94504] New: On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for PIE executables.

2020-04-06 Thread gcc-bugzilla at mkarcher dot dialup.fu-berlin.de
: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugzilla at mkarcher dot dialup.fu-berlin.de Target Milestone: --- I try to compile the following test program using gcc -ffunction-sections

[Bug target/94504] On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for PIE executables.

2020-04-07 Thread gcc-bugzilla at mkarcher dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94504 --- Comment #3 from Michael Karcher --- (In reply to Richard Biener from comment #2) > Huh, looking at the assembly & the object file this seems to be fully a linker > issue who seems to be responsible for building the GOT. I suggest to move > t

[Bug target/94504] On powerpc, -ffunction-sections -fdata-sections is not as effective as expected for non-PIE executables.

2020-04-07 Thread gcc-bugzilla at mkarcher dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94504 --- Comment #5 from Michael Karcher --- I got the command line of gcc wrong. "-pie" just sets the linker flags for PIE linking, but it does *not* compile source code as PIE. If I use "-fpie", garbage collection does what it is supposed to do. As

[Bug analyzer/95152] New: internal compiler error: in get_or_create_mem_ref, at analyzer/region-model.cc:6938

2020-05-15 Thread pieter+gcc-bugzilla at plexis dot eu
Severity: normal Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: pieter+gcc-bugzilla at plexis dot eu Target Milestone: --- Created attachment 48545 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48545&action=edit

[Bug c++/56215] New: Cannot create constexpr struct with unnamed unions

2013-02-05 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56215 Bug #: 56215 Summary: Cannot create constexpr struct with unnamed unions Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/56323] New: [C++11] cannot compile inherited constructor for typedef'ed base class

2013-02-14 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56323 Bug #: 56323 Summary: [C++11] cannot compile inherited constructor for typedef'ed base class Classification: Unclassified Product: gcc Version: 4.8.0 Status

[Bug sanitizer/56393] New: SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-19 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 Bug #: 56393 Summary: SIGSEGV when -fsanitize=address and dynamic lib with global objects Classification: Unclassified Product: gcc Version: 4.8.0 Status: U

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-19 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #2 from Takaki Makino 2013-02-19 14:02:13 UTC --- Thanks Kostya. Unfortunately -static-libasan didn't help: $ g++ -g -fsanitize=address -I/usr/local/include hoge2.cpp -o a.out -lboost_thread-mt-d -lboost_system-mt-d -stati

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-19 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #4 from Takaki Makino 2013-02-19 15:22:38 UTC --- Created attachment 29499 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29499 reduced testcase I tried to made a fairly reduced testcase from boost. Attached please fin

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-19 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #5 from Takaki Makino 2013-02-19 15:26:41 UTC --- To reply Kostya's comment, As shown in the reduced testcase, the program crashes before ASAN_OPTIONS=verbosity=1 takes effect.

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-21 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #17 from Takaki Makino 2013-02-22 06:38:33 UTC --- (In reply to comment #15) > r196201 landed the fresh asan run-time into gcc. > -static-libasan should work well now, please try. It works for me, thank you very much for you

[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

2013-02-22 Thread t-gcc-bugzilla at snowelm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393 --- Comment #20 from Takaki Makino 2013-02-22 09:01:30 UTC --- I understand why dynamic libasan is important. Still it seems for me -static-libasan can be default, except when -shared is given. (just because I have no idea how the shared

  1   2   3   4   5   >