From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15272 invoked by alias); 20 Aug 2014 19:00:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 15249 invoked by uid 48); 20 Aug 2014 19:00:35 -0000 From: "dilyan.palauzov at aegee dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug web/62211] New: ./configure --with-float= and ARM Date: Wed, 20 Aug 2014 19:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: web X-Bugzilla-Version: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dilyan.palauzov at aegee dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-08/txt/msg01401.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62211 Bug ID: 62211 Summary: ./configure --with-float= and ARM Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at gcc dot gnu.org Reporter: dilyan.palauzov at aegee dot org At https://gcc.gnu.org/install/configure.html is written: Options specification --with-fpu=type --with-float=type These configure options provide default values for the -mfpu= option and for -mhard-float or -msoft-float. I want to configure for ARM. In the gcc manual, node 3.1 Option Summary under _ARM Options_ is mentioned the option -mfloat-abi= but -m(hard,sort)-float are not mentioned. In node 3.17.4 ARM Options is mentioned, that -mfloat-abi can be hard, soft or softfp. Does ./configure-ing gcc --with-float=X lead to defaulting the -mfloat-abi option later, when gcc is not called? In such a case, the documentation for configuring gcc shall mention, that --with-float=type on ARM has no impact on -msoft-float or -mhard-float, but on -mfloat-abi . The documentation of GCC does mention neither -mhard-float nor -msoft-float as general options nor as ARM-specific options, so I conclude that these are not permitted. However, the documentation of -mfpu= , where the ARM options are described, mentions: If '-msoft-float' is specified this specifies the format of floating-point values. So apparently, -msoft-float can be passed, when gcc produces ARM-code. Please clarify in the gcc manual if -msoft-float is the same as -mfloat-abi=soft, if -mhard-float is the same as -mfloat-abi=hard and if these, including -mfloag-abu=softfp are impacted by ./configure --with-float .