public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/67486] New: ira-color.c sanitizer detects signed integer overflow
@ 2015-09-07 14:54 zeccav at gmail dot com
2021-02-27 9:39 ` [Bug middle-end/67486] " zeccav at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: zeccav at gmail dot com @ 2015-09-07 14:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67486
Bug ID: 67486
Summary: ira-color.c sanitizer detects signed integer overflow
Product: gcc
Version: 5.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: zeccav at gmail dot com
Target Milestone: ---
Created attachment 36302
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36302&action=edit
C file to compile with g++ -Os -fPIC -std=gnu++11
// g++ -Os -fPIC -std=gnu++11
// sanitizer error message
// gcc/ira-color.c:1816:41: runtime error: signed integer overflow: 2097195682
- -131071000 cannot be represented in type 'int [33]'
// offending statement "full_costs[j] -= conflict_costs[k];"
// Target: x86_64-unknown-linux-gnu
// COLLECT_GCC_OPTIONS='-Os' '-fPIC' '-std=gnu++11' '-shared-libgcc'
'-mtune=generic' '-march=x86-64'
The source is pretty large I am attaching it
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug middle-end/67486] ira-color.c sanitizer detects signed integer overflow
2015-09-07 14:54 [Bug tree-optimization/67486] New: ira-color.c sanitizer detects signed integer overflow zeccav at gmail dot com
@ 2021-02-27 9:39 ` zeccav at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: zeccav at gmail dot com @ 2021-02-27 9:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67486
Vittorio Zecca <zeccav at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #8 from Vittorio Zecca <zeccav at gmail dot com> ---
Fixed in current trunk.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-27 9:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-07 14:54 [Bug tree-optimization/67486] New: ira-color.c sanitizer detects signed integer overflow zeccav at gmail dot com
2021-02-27 9:39 ` [Bug middle-end/67486] " zeccav at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).