[Bug c/63178] New: Missed incorrect-type-passed-to-function warning

2014-09-04 Thread gccbugs at dima dot secretsauce.net
: c Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Hi. I'm seeing that under particular conditions I can pass a wrong type into a function, and no warning results. I'm attaching a minimized test case to show this. There are two files

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-04 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 --- Comment #1 from Dima Kogan gccbugs at dima dot secretsauce.net --- Created attachment 33451 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33451action=edit The source to show the issue

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-04 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 --- Comment #2 from Dima Kogan gccbugs at dima dot secretsauce.net --- Created attachment 33452 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33452action=edit and the header

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-04 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 --- Comment #4 from Dima Kogan gccbugs at dima dot secretsauce.net --- Hi. Thank you for looking at this. I'm not set up to make bleeding-edge gcc builds, so let me wait until Debian catches up, and I'll report back. Currently they're on r214759

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-08 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 --- Comment #5 from Dima Kogan gccbugs at dima dot secretsauce.net --- Hi. I cherry-picked the commit you mentioned, rebuilt gcc, and the bug was not resolved. Just in case I did something wrong in that process, I waited for Debian to update

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-17 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 Dima Kogan gccbugs at dima dot secretsauce.net changed: What|Removed |Added Status|WAITING |RESOLVED

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-17 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 --- Comment #9 from Dima Kogan gccbugs at dima dot secretsauce.net --- For the record, here's the ccache bug I just filed: https://bugzilla.samba.org/show_bug.cgi?id=10819

[Bug c/63178] Missed incorrect-type-passed-to-function warning

2014-09-19 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63178 Dima Kogan gccbugs at dima dot secretsauce.net changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug c/63421] New: GCC generates a very misleading warning when looking at an erroneously-overloaded type

2014-09-30 Thread gccbugs at dima dot secretsauce.net
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Hi. I'm running gcc-4.9.1 from Debian/sid. This is built off of r214759. When building source that had a mistake GCC produced a very

[Bug c/67031] New: avr-gcc internal compiler error

2015-07-27 Thread gccbugs at dima dot secretsauce.net
Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Created attachment 36072 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36072action=edit Minimized source to show the failure Hi. I'm seeing an internal compiler error when

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2016-10-24 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #2 from Dima Kogan --- For easier reading, the test program looks like this: #include extern int s[]; int s[] = { 1,2,3 }; int main(void) { printf("%zd\n", sizeof(s)); return 0; }

[Bug debug/78100] New: DWARF symbols for an array sometimes missing the array length

2016-10-24 Thread gccbugs at dima dot secretsauce.net
Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Hi. I'm using gcc 6.2 from Debian on an amd64 machine: dima@fatty:/tmp$ gcc --version gcc (Debian 6.2.0-9) 6.2.0

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2016-10-24 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #1 from Dima Kogan --- Created attachment 39876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39876=edit test case

[Bug c/80824] New: Missing 'variable-is-used-uninitialized' warning

2017-05-19 Thread gccbugs at dima dot secretsauce.net
: c Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Created attachment 41387 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41387=edit test case Hi. I'm using gcc 7.1.0 from Debian/experimental (Debian pack

[Bug middle-end/80824] Missing 'variable-is-used-uninitialized' warning

2019-09-22 Thread gccbugs at dima dot secretsauce.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80824 --- Comment #2 from Dima Kogan --- I just tried this with Debian builds of gcc8 and gcc9: 8.3.0-19 and 9.2.1-8. This bug still exists in both.

[Bug c/95635] New: -Warray-bounds falsely claims out-of-bounds access

2020-06-11 Thread gccbugs at dima dot secretsauce.net
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Created attachment 48716 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48716=edit Bug demo Hi. I'm running gcc-10 from Debian: dima@shorty:~$ gcc

[Bug c/97261] gcc-10 produces invalid -Warray-bounds warning

2020-09-30 Thread gccbugs at dima dot secretsauce.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97261 --- Comment #1 from Dima Kogan --- Created attachment 49294 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49294=edit Code to demo the issue

[Bug c/97261] New: gcc-10 produces invalid -Warray-bounds warning

2020-09-30 Thread gccbugs at dima dot secretsauce.net via Gcc-bugs
: c Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Hi. I'm seeing gcc-10 flag a warning that I'm pretty sure is incorrect. gcc-9 and older did not warn about this (although that's probably because they weren't looking

[Bug c/97261] gcc-10 produces invalid -Warray-bounds warning

2020-10-01 Thread gccbugs at dima dot secretsauce.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97261 --- Comment #3 from Dima Kogan --- Hi. Thanks for replying. I don't the warning that I'm claiming is bogus is complaining about the points you raised. If it did, then making g() static or building without -fPIC or -O3 wouldn't make the warning

[Bug debug/78100] DWARF symbols for an array sometimes missing the array length

2024-01-05 Thread gccbugs at dima dot secretsauce.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78100 --- Comment #4 from Dima Kogan --- I just tried again, and I see that this bug has been fixed. I'm using gcc (Debian 13.2.0-2) 13.2.0 Should we close this report?

[Bug c/114509] New: Infinite loop with openmp

2024-03-28 Thread gccbugs at dima dot secretsauce.net via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Created attachment 57827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57827=edit Reduced reproducer I git a bug in gcc 13.2 where an openmp loop causes he compiler to s