public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/7549: gcc3.1: Documentation glitches in info-files
@ 2002-08-09 4:46 Jost Martin
0 siblings, 0 replies; only message in thread
From: Jost Martin @ 2002-08-09 4:46 UTC (permalink / raw)
To: 'gcc-gnats@gcc.gnu.org'
>Number: 7549
>Category: other
>Synopsis: gcc3.1: Documentation glitches in info-files
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 09 03:46:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: 3.1
>Organization:
>Environment:
System: HP-UX lasagne B.10.20 U 9000/785 2007890687 unlimited-user =
license
host: hppa1.1-hp-hpux10.20
build: hppa1.1-hp-hpux10.20
target: hppa1.1-hp-hpux10.20
configured with: ../gcc-3.1/configure -prefix=3D/pd/gcc-3.1 =
--with-gnu-as --with-as=3D/pd/binutils/bin/as =
--host=3Dhppa1.1-hp-hpux10.20 --without-gnu-ld
>Description:
I stumbled over some documentation glitches in the info-files:
Warning options:
"-Wall switches on a whole bunch of -W...-Options."
Unfortunately, the info-page only mentions this at
the end of the list. (At that point I already had hand-added all those
options, just to discard them again because this was redundant and
clobbered the cmd-line...)
"Options That Control Optimization"
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
...
`-ftrapv'
This option generates traps for signed overflow on addition,
subtraction, multiplication operations.
Huh ?!
I guess this will make the program slower (because of the checks) but
better checked. So why is this listed under 'Optimization' ??
Shouldn't this be included under another section ??
"
`-ffunction-sections'
`-fdata-sections'
Place each function or data item into its own section in the =
output
file if the target supports arbitrary sections. The name of the
function or the name of the data item determines the section's =
name
in the output file.
Use these options on systems where the linker can perform
optimizations to improve locality of reference in the instruction
space. HPPA processors running HP-UX and Sparc processors running
Solaris 2 have linkers with such optimizations. Other systems
using the ELF object format as well as AIX may have these
optimizations in the future.
"
I'm using gcc on HPUX 10.20 (HPPA)
Nevertheless I get:
cc1plus: warning: -ffunction-sections not supported for this target
cc1plus: warning: -fdata-sections not supported for this target
>How-To-Repeat:
>Fix:
------------------------------------------------------------------------=
-----
Martin Jost Tel.: ++49/89/722-44248
Siemens AG FAX.: ++49/89/722-53418
ICN WN OP TDC TC 2 (Please note my name on the FAX !)
Hofmannstr. 51 Room 1714-560
D-81359 M=FCnchen Martin.Jost@icn.siemens.de
>Release-Note:
>Audit-Trail:
>Unformatted:
X-send-pr-version: 3.113
X-GNATS-Notify:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-09 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-09 4:46 other/7549: gcc3.1: Documentation glitches in info-files Jost Martin
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).