From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30318 invoked by alias); 9 Aug 2002 10:46:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30297 invoked by uid 71); 9 Aug 2002 10:46:01 -0000 Resent-Date: 9 Aug 2002 10:46:01 -0000 Resent-Message-ID: <20020809104601.30296.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Jost Martin Received: (qmail 29750 invoked from network); 9 Aug 2002 10:43:21 -0000 Received: from unknown (HELO beamer.mchh.siemens.de) (194.138.158.163) by sources.redhat.com with SMTP; 9 Aug 2002 10:43:21 -0000 Received: from moody.mchh.siemens.de (mail2.mchh.siemens.de [194.138.158.226]) by beamer.mchh.siemens.de (8.9.3/8.9.3) with ESMTP id MAA29296 for ; Fri, 9 Aug 2002 12:43:00 +0200 (MET DST) Received: from mchh273e.demchh201e.icn.siemens.de ([139.21.200.83]) by moody.mchh.siemens.de (8.9.1/8.9.1) with ESMTP id MAA05294 for ; Fri, 9 Aug 2002 12:43:19 +0200 (MET DST) Received: by MCHH273E with Internet Mail Service (5.5.2656.59) id ; Fri, 9 Aug 2002 12:42:59 +0200 Message-Id: <495C6C4DAAD7D2119ADF0008C71EEF3F0135031D@MCHH229E> Date: Fri, 09 Aug 2002 04:46:00 -0000 From: Jost Martin To: "'gcc-gnats@gcc.gnu.org'" Subject: other/7549: gcc3.1: Documentation glitches in info-files X-SW-Source: 2002-08/txt/msg00183.txt.bz2 List-Id: >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: