[Bug middle-end/98209] [8/9/10/11 Regression] printf failed with O1 or above

2020-12-09 Thread jamesgua at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209 --- Comment #8 from jamesgua at ca dot ibm.com --- one more function found the same issue: memcpy I guess more functions in libc might have same issue.

[Bug c/98209] printf failed with O1 or above

2020-12-08 Thread jamesgua at ca dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98209 --- Comment #2 from jamesgua at ca dot ibm.com --- Created attachment 49709 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49709&action=edit preprocessed src file gcc -E

[Bug c/98209] New: printf failed with O1 or above

2020-12-08 Thread jamesgua at ca dot ibm.com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: jamesgua at ca dot ibm.com Target Milestone: --- Testing file: #include int main(int argc, char** argv) __attribute__ ((__target__ ("no-sse,no-mmx"))); int main(int argc, char** argv) { printf("hello!\n"

[Bug c++/93399] New: Annotate assembler option failure

2020-01-23 Thread jamesgua at ca dot ibm.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jamesgua at ca dot ibm.com Target Milestone: --- With g++ 8.3.1 version GNU C++14 (GCC) version 8.3.1 20190507 (Red Hat 8.3.1-4) (x86_64-redhat-linux) compiled by GNU C version 8.3.1 20190507 (Red Hat 8.3.1-4), GMP version

[Bug debug/65934] New: objdump can't print correct DW_AT_encoding name

2015-04-29 Thread jamesgua at ca dot ibm.com
y: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: jamesgua at ca dot ibm.com Target Milestone: --- In DWARF 4 spec DW_ATE_UTF is value 0x10 or 16, but objdump can't map that value to UTF, instead, print "unknown type": e.g. char16_t utf16

[Bug c++/61574] Confusing .debug_line generation by -g option

2014-06-23 Thread jamesgua at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61574 --- Comment #4 from jamesgua at ca dot ibm.com --- Found the same issue with G++ 4.6.1 on zLinux.

[Bug c++/61574] Confusing .debug_line generation by -g option

2014-06-21 Thread jamesgua at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61574 --- Comment #2 from jamesgua at ca dot ibm.com --- (In reply to Andrew Pinski from comment #1) > This is deconstructors. I mean why we have those line numbers "17 9 17 9 17", debugger follow the line number information and user

[Bug c++/61574] New: Confusing .debug_line generation by -g option

2014-06-20 Thread jamesgua at ca dot ibm.com
++ Assignee: unassigned at gcc dot gnu.org Reporter: jamesgua at ca dot ibm.com #include #include using namespace std; int main(int argc, char** argv) { string str1 = "Hello"; string str2; str2 = str1; cout << "str2: " << str2 &