public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/114542] New: -flto=4294967296 is treated the same as -flto=0 and -flto=4294967297 is treated the same as -flto=1 instead of being invalid options
@ 2024-04-01 5:05 pinskia at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: pinskia at gcc dot gnu.org @ 2024-04-01 5:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114542
Bug ID: 114542
Summary: -flto=4294967296 is treated the same as -flto=0 and
-flto=4294967297 is treated the same as -flto=1
instead of being invalid options
Product: gcc
Version: 14.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Blocks: 44574
Target Milestone: ---
Due to the uses of atoi in opts.c, lto-wrapper.c and lto/lto.c,
`-flto=4294967297` is treated as `-flto=1`
Plus `-flto=429496729b` is treated as being allowed.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44574
[Bug 44574] [meta-bug] Avoid use of atoi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-01 5:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-01 5:05 [Bug lto/114542] New: -flto=4294967296 is treated the same as -flto=0 and -flto=4294967297 is treated the same as -flto=1 instead of being invalid options pinskia at gcc dot gnu.org
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).