Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 530068 - flag-o-matic.eclass: add -fbounds-check
Summary: flag-o-matic.eclass: add -fbounds-check
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-21 20:02 UTC by Sebastian Pipping
Modified: 2015-05-24 07:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2014-11-21 20:02:51 UTC
$ gcc -fbounds-checking /dev/null
gcc: error: unrecognized command line option ‘-fbounds-checking’

$ gcc -fbounds-check /dev/null
/dev/null: file not recognized: File truncated
collect2: error: ld returned 1 exit status
Comment 1 SpanKY gentoo-dev 2014-11-21 21:16:07 UTC
(In reply to Sebastian Pipping from comment #0)

your gcc is too new ;).  the flag as written is correct -- see USE=boundschecking in older gcc versions.