Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: rajpal.gusain at gmail dot com
Target Milestone: ---
% g++ --version
g++ (GCC) 8.3.0
% gdb --version
GNU gdb (GDB) 8.3
% readelf --version
GNU readelf (GNU Binutils) 2.32
I couldn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90901
--- Comment #2 from Rajpal Singh ---
(In reply to Richard Biener from comment #1)
> You may want to check GCC 9.1 which received some fixes for -gsplit-dwarf
> which is otherwise in a sorry and unmaintained state...
Thanks Richard for your sugge
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90901
--- Comment #3 from Rajpal Singh ---
I did try with g++ 9.1.0 and I still see similar/same issue.
% g++ --version
g++ (GCC) 9.1.0
% readelf -w
readelf: Error: Unknown macro opcode 52 seen
readelf: Error: Unknown macro opcode 12 seen
re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100197
--- Comment #2 from Rajpal Singh ---
I also get similar error when one of the argument string is constant and I
believe it's related. I tried it with g++ 11.2
'int strncmp(const char*, const char*, size_t)' of strings of length 1 and 6
and boun
++
Assignee: unassigned at gcc dot gnu.org
Reporter: rajpal.gusain at gmail dot com
Target Milestone: ---
Looks like while optimizing abs, optimizer trips and produces wrong result
Test case:
#include
#include
using namespace std;
int main()
{
int left , right ;
cout <<
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102932
--- Comment #3 from Rajpal Singh ---
(In reply to Tee KOBAYASHI from comment #1)
> Signed integer overflow. You can use -fwrapv.
Thanks ! Yes, it's signed integer overflow, is there any way to catch it
statically at compile time ?