[Bug libstdc++/21530] New: libstdc++ not supported on this target

2005-05-12 Thread gcc at mailinator dot com
at mailinator dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux GCC host triplet: i686-pc-linux GCC target triplet: h8300-hitachi-hms http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21530

[Bug libstdc++/21530] libstdc++ not supported on this target

2005-06-06 Thread gcc at mailinator dot com
--- Additional Comments From gcc at mailinator dot com 2005-06-06 12:57 --- Same problem in 3.4.4 -- What|Removed |Added Version|3.4.3

[Bug c/30475] assert(int+100 int) optimized away

2007-01-15 Thread gcc at mailinator dot com
--- Comment #8 from gcc at mailinator dot com 2007-01-16 07:24 --- The original poster might want to read http://c-faq.com/misc/intovf.html and http://c-faq.com/misc/sd26.html to see how he might prevent people from getting hacked correctly. -- http://gcc.gnu.org/bugzilla

[Bug c++/79318] New: conversion member function preceded with & is not marked as error

2017-01-31 Thread gcc at mailinator dot com
rmal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- See example and discussion on https://stackoverflow.com/questions/41954449/what-does-gccs-conversion-function-operator-in

[Bug c++/79318] conversion member function preceded with & is not marked as error

2017-01-31 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79318 --- Comment #1 from John Simon --- Full example: #include using namespace std; class Foo { private: int a; public: Foo():a(0){}; int() {return a;}; // this fails with Clang }; int main() { Foo foo; int x = foo;

[Bug bootstrap/85922] New: bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb

2018-05-25 Thread gcc at mailinator dot com
Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- On bootstrapping after implementing an hack for #85921 (environment and options used specified

[Bug bootstrap/85921] New: /gcc/c-family/c-warn.c fails to build

2018-05-25 Thread gcc at mailinator dot com
Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- uname -a: Linux MACHINE 2.6.16.60-0.85.1-bigsmp #1 SMP Thu Mar 17 11:45:06 UTC 2011 i686 i686 i386 GNU/Linux gcc --version: gcc (GCC) 4.1.2 20070115 (SUSE Linux) steps done

[Bug bootstrap/85921] /gcc/c-family/c-warn.c fails to build

2018-05-25 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85921 --- Comment #2 from John Simon --- > Can you figure out who #defines noinline? Sure. Using -E -dD pointed to "/usr/include/linux/compiler.h" which has: ```c /* * From the GCC manual: * * Many functions do not examine any values except their

[Bug bootstrap/85921] /gcc/c-family/c-warn.c fails to build

2018-05-25 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85921 --- Comment #3 from John Simon --- The include chain is: # 415 "../../gcc-8.1.0/gcc/system.h" <-- "/usr/include/signal.h" <-- "/usr/include/bits/sigcontext.h" <-- "/usr/include/asm/sigcontext.h" <--

[Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb

2018-05-25 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85922 John Simon changed: What|Removed |Added Resolution|WONTFIX |FIXED --- Comment #2 from John Simon ---

[Bug bootstrap/85921] /gcc/c-family/c-warn.c fails to build

2018-05-25 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85921 --- Comment #8 from John Simon --- https://gcc.gnu.org/install/ doesn't say anything about make headers_install. How/Where to do this? If this is appropriate then it is much better than manually patching anything. In this case I'd still

[Bug bootstrap/85921] /gcc/c-family/c-warn.c fails to build

2018-05-25 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85921 --- Comment #6 from John Simon --- > I doubt this warrants a change on GCC side, given that a workaround is simple. If I understood it correctly the local "solution" would be to fix a system header (which is often not possible because of

[Bug sanitizer/60892] GCC (libsanitizer) fails to build with Linux 2.6.21 headers.

2018-05-28 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60892 John Simon changed: What|Removed |Added CC||gcc at mailinator dot com --- Comment #3

[Bug bootstrap/85922] bootstrapping fails with -O3 because gcc 8.1.0 generates unknown instruction pshufb

2018-05-28 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85922 --- Comment #4 from John Simon --- > No, it uses a correct instruction, but you have too old assembler that can't > handle it. I think in this case the "correct" thing to do would be a check of assembler during configure and either: 1) only

[Bug lto/89514] New: -g -fdebug-types-section -flto gives 'Dwarf Error: bad length' in gdb

2019-02-26 Thread gcc at mailinator dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com CC: marxin at gcc dot gnu.org Target Milestone: --- #include int main() { std::cout << "Hello, World!";

[Bug c/92220] New: -Wconversion generates a false warning for modulo expression when the modulus has smaller type

2019-10-24 Thread gcc at mailinator dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- ``` []$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux

[Bug c/92219] New: -Wconversion generates a false warning for modulo expression when the modulus has smaller type

2019-10-24 Thread gcc at mailinator dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- ``` []$ gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux

[Bug c/92220] -Wconversion generates a false warning for modulo expression when the modulus has smaller type

2019-10-25 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92220 --- Comment #3 from John Simon --- (In reply to Andrew Pinski from comment #1) > No i think there is one case where what you said is incorrect. When both are > INT_MIN. In this case the result will be 0.

[Bug libstdc++/93024] New: Python Pretty Printers get disabled on executable reload by GDB

2019-12-20 Thread gcc at mailinator dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- Version: ``` $ gcc --version gcc (GCC) 9.2.0 Copyright (C) 2019 Free Software Foundation, Inc. This is free software; see the source

[Bug c++/93652] New: -Wconversion gives false warning with bitwise operations on reference types returned from function

2020-02-10 Thread gcc at mailinator dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- ``` []$ /bin/g++ -v Using built-in specs. COLLECT_GCC=/bin/g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64

[Bug c++/93070] std::__lg (and all functions that use it) generates suboptimal code

2019-12-24 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93070 John Simon changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/93071] std::__lg (and all functions that use it) generates suboptimal code

2019-12-24 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93071 --- Comment #1 from John Simon --- *** Bug 93070 has been marked as a duplicate of this bug. ***

[Bug c++/93070] New: std::__lg (and all functions that use it) generates suboptimal code

2019-12-24 Thread gcc at mailinator dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- On Godbolt, the following code: ``` #include int f(int x){ return std::__lg(x); } int g(int x){ return 31-__builtin_clz(x

[Bug c++/93071] New: std::__lg (and all functions that use it) generates suboptimal code

2019-12-24 Thread gcc at mailinator dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- On Godbolt, the following code: ``` #include int f(int x){ return std::__lg(x); } int g(int x){ return 31-__builtin_clz(x

[Bug tree-optimization/95769] New: Constant expression in inline function not optimized

2020-06-19 Thread gcc at mailinator dot com
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- Godbolt link: https://godbolt.org/z/Kimna8 Code: ``` int constexpr expensive_function(int x){ int result{}; while(x!=1){ x=x%2!=0 ? x*3+1

[Bug tree-optimization/95769] Constant expression in inline function not optimized

2020-06-19 Thread gcc at mailinator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95769 --- Comment #2 from John Simon --- (In reply to Jakub Jelinek from comment #1) > If you want to ensure a function is evaluated at compile time, it needs to > be either C++20 consteval, or you need to evaluate it in constant expression > context,

[Bug c++/96396] New: initializer_list in `-fconcepts -std=c++11` reports internal compiler error

2020-07-30 Thread gcc at mailinator dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- Program: ``` #include int main(){ for(auto it:{1, 2}){ } } ``` Compiler flag: `-fconcepts -std=c++11

[Bug c++/99309] New: Segmentation fault with __builtin_constant_p usage at -O2

2021-02-28 Thread gcc at mailinator dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at mailinator dot com Target Milestone: --- Compile: g++ -O2 a.cpp ./a.out Current output: 1 610334368 Segmentation fault (core dumped) Code: #include struct T { int val