https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95431
Yibiao Yang changed:
What|Removed |Added
CC||yangyibiao at hust dot edu.cn
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95432
Yibiao Yang changed:
What|Removed |Added
CC||yangyibiao at hust dot edu.cn
--- Comment
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
Consider test case:
...
$ cat small.c
__attribute__ ((noinline, noclone))
int foo (char *c)
{
asm volatile ("" : : "r" (c) : "memory");
return 1;
}
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
Consider test case:
...
$ cat small.c
#include
volatile int one = 1;
int main() {
char a1[] = {(char)one, 2, 3, 4};
char a2[] = {1, (char)(2*one), 3, 4};
int res = memcmp (a1, a2
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
Created attachment 48633
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48633=edit
a.out
$ gcc --version
gcc (GCC) 10.0.1 20200419 (experimental)
Copyright (C) 2020 Free Softw
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
Created attachment 48628
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48628=edit
a.out
$ gdb --version
GNU gdb (GDB) 10.0.50.20200517-git
Copyright (C) 2020 Free Softw
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
Created attachment 48622
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48622=edit
a.out
$ gcc --version
gcc (GCC) 10.0.1 20200419 (experimental)
Copyright (C) 2020 Free Softw
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360
--- Comment #6 from Yibiao Yang ---
(In reply to Jonathan Wakely from comment #2)
> (In reply to Yibiao Yang from comment #0)
> > As showed, Line 6 is hit first and then hit Line 7 with stepi.
> > However, when using step, gdb is first hit Line
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360
--- Comment #5 from Yibiao Yang ---
(In reply to Tom de Vries from comment #3)
> (In reply to Yibiao Yang from comment #0)
> > Breakpoint 1, main () at small.c:5
> > 5 for (; d<1; d++)
> > (gdb) stepi
> > 0x00401154 5 for (;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95360
--- Comment #1 from Yibiao Yang ---
Created attachment 48616
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48616=edit
the binary
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
$ gcc --version
gcc (GCC) 10.0.1 20200419 (experimental)
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93726
--- Comment #2 from Yibiao Yang ---
(In reply to Martin Liška from comment #1)
> How is that different from PR93725?
Of this one, it wrongly marked a (executed) statement as not executed.
For Bug PR93725, the frequencies is incorrect: A
: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright
ty: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright (C) 2019 Free Software
ty: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright (C) 2019 Free Software Found
: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright (C) 2019
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright (C) 2019 Free Software Foundation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93626
--- Comment #2 from Yibiao Yang ---
(In reply to Martin Liška from comment #1)
> I would not recommend combining --coverage and a sanitizer.
Thanks for the suggestion. Yes, this is an abnormal combination.
: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gdb
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright (C) 2019 Fre
Severity: normal
Priority: P3
Component: gcov-profile
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
CC: marxin at gcc dot gnu.org
Target Milestone: ---
$ gcov -v
gcov (GCC) 9.2.0
Copyright (C) 2019 Free
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93000
--- Comment #1 from Yibiao Yang ---
the compilation command is as follows:
$ gcc -w -g -O0 small.c -o small.obj
: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: yangyibiao at hust dot edu.cn
Target Milestone: ---
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
25 matches
Mail list logo