https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56251
chihin ko changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54773
chihin ko changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Target Milestone: ---
cat t.cc
template
decltype(auto) g_1(T t) {
return t;
}
template
auto g_2(T t) {
return t;
}
int main() {
decltype(auto
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78329
--- Comment #1 from chihin ko ---
The bug only happen in member functions,
I tried multiple classes with deducted return type for multiple member
functions, they all point to the same DW_TAG_unspecified_type.
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Target Milestone: ---
cat t.cc
class AA {
public:
auto func(int arg) {
int i = 0;
for (; i < arg; i++);
return i;
}
} a;
auto func1(int arg) {
int i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68904
--- Comment #4 from chihin ko ---
(In reply to Andrew Pinski from comment #1)
> Can you try:
> -fno-eliminate-unused-debug-types
>
> I bet the full type debug info is going to be emitted in a different TU
> which is why GCC is not emitting it
: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Target Milestone: ---
We've build the appended program with all manner of g++'s (from 3.4.3 to 5.2.0)
and in all cases the DWARF information for class ios_base is "weird":
<
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68904
--- Comment #2 from chihin ko ---
Created attachment 37032
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37032=edit
test case
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68904
--- Comment #3 from chihin ko ---
Created attachment 37033
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37033=edit
dwarf dump of test case test.cc
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Target Milestone: ---
Created attachment 35520
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35520action=edit
test case
For attached std_list_iterators.cc
++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Target Milestone: ---
Created attachment 35505
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35505action=edit
test case
for attach delegating_constructors.cc test case,
due to incorrect debug info, gdb
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54773
--- Comment #3 from chihin ko chihin.ko at oracle dot com ---
g++ 4.8.2 on intel-Linux regress again. DW_TAG_rvalue_reference_type did not
get generated.
g++ 4.8.2 on intel Solaris is broken too.
g++ 4.9.0 works on intel-Linux but not on intel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821
--- Comment #5 from chihin ko chihin.ko at oracle dot com ---
Created attachment 35381
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35381action=edit
test case 1/1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821
--- Comment #4 from chihin ko chihin.ko at oracle dot com ---
(In reply to Richard Biener from comment #3)
What version works correctly? (please provide the testcase as attachment as
well)
00x000b DW_TAG_compile_unit
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
this happen since 4.8.2, 4.9.0 also have same problem.
cat t.cc
==
1 #include stdio.h
2
3 int b = 12
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65821
--- Comment #2 from chihin ko chihin.ko at oracle dot com ---
(In reply to Andrew Pinski from comment #1)
It is doing (b+3) first which is from :5 which seems correct to me. Default
arguments should have a line information right?
Then gdb
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Created attachment 35372
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35372action=edit
test case 1/1
for attached *.cc, there are 3 A CTORS and 3
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
For following t.cc:
extern C int printf(const char*, ...);
#include deque
using namespace std;
dequeint gl_li(5,100);
int main ()
{
dequeint tmp_deque
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Created attachment 33905
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33905action=edit
test case
For attached test case t.cc, g++ did not generate appropriate debug info for
template
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54773
--- Comment #2 from chihin ko chihin.ko at oracle dot com ---
g++ 4.8.1 on Linux fixed the problem, but problem still exists in g++ 4.8.1 on
solaris.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57939
--- Comment #2 from chihin ko chihin.ko at oracle dot com ---
Yeah, difference version of gdb resulting different behavior:
On Red Hat Enterprise Linux Server release 5.4 (Tikanga)
GNU gdb Fedora (6.8-37.el5)
(gdb) p L
$1 = 98
gcc version 4.7.2
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
cat t.cc
#include stdio.h
int f(int r) {
r = r + 1;
return r;
}
main(void) {
int j = 99;
int i = 99;
printf(i = %d\n,i);
printf(f(i
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58178
--- Comment #9 from chihin ko chihin.ko at oracle dot com ---
(In reply to Eric Botcazou from comment #8)
The configure line for the compiler is needed on Solaris as well.
Using built-in specs.
COLLECT_GCC=/pkg/gnu/bin/g++-4.8.1-5.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58198
--- Comment #2 from chihin ko chihin.ko at oracle dot com ---
(In reply to Jakub Jelinek from comment #1)
For book keeping of what? GCC before 4.7.0 are no longer supported.
oracle solstudtio debugger dbx support gnu compiler v4.1 v4.5.2...etc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58178
--- Comment #3 from chihin ko chihin.ko at oracle dot com ---
a.out execution does not have problem, it is the debugging support would have
problem.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58178
--- Comment #5 from chihin ko chihin.ko at oracle dot com ---
Oracle Solaris 10 8/11 s10x_u10wos_17b X86
DW_AT_producer GNU C++ 4.8.1 -mtune=generic -march=pentium4 -g
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58178
--- Comment #6 from chihin ko chihin.ko at oracle dot com ---
On Linux:
pirandello 934 cat /etc/*release*
Enterprise Linux Enterprise Linux Server release 5.4 (Carthage)
cat: /etc/lsb-release.d: Is a directory
Red Hat Enterprise Linux Server
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
Created attachment 30675
-- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30675action=edit
test case
This problem was fixed after g++ 4.4, I file this bug
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
test case:
cat t.cc
#include stdio.h
struct base {
int x;
base() { x= 2;};
};
struct A {
static int x;
struct B :base{
void f
Assignee: unassigned at gcc dot gnu.org
Reporter: chihin.ko at oracle dot com
cat t.cc
#include stdio.h
void foo(wchar_t c) { printf(In foo(wchar_t) %d\n, c); }
main()
{
wchar_t L = L'b';
}
g++ -std=c++11 -g t.cc
gdb a.out
Breakpoint 1, main () at t.cc:7
7 wchar_t L
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56251
--- Comment #2 from chihin ko chihin.ko at oracle dot com 2013-02-08 21:24:55
UTC ---
How is it invalid ? it was compilable and runnable:
benjamin2 906 /pkg/gnu/bin/g++ -v
Using built-in specs.
COLLECT_GCC=/pkg/gnu/bin/g++-4.7.1-5.10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56251
--- Comment #4 from chihin ko chihin.ko at oracle dot com 2013-02-08 22:01:36
UTC ---
Note, this is a const static member, the initialization is the definition,
if I don't initialize it, I would get an Undefined symbol linking error
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56251
Bug #: 56251
Summary: no DW_AT_const_value for static const member of a
template class
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56236
Bug #: 56236
Summary: incorrect debug info for decltype(nullptr)
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55785
Bug #: 55785
Summary: gcc4.5.2 incorrect line # of caller for destructor
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
Severity:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54774
chihin ko chihin.ko at oracle dot com changed:
What|Removed |Added
Summary|insufficient debug info for |[4.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55541
Bug #: 55541
Summary: unable to see local variables due extra lexical block
was generated
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54773
Bug #: 54773
Summary: no debug info generated for rvalue reference
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54774
Bug #: 54774
Summary: insufficient debug info for strong typed enum
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
39 matches
Mail list logo