Re: [Boost-bugs] [Boost C++ Libraries] #9791: [libs/program_options] winmain.cpp fails to compile with -O3, ok with -O0 (gcc-5666.3)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9791: [libs/program_options] winmain.cpp fails to compile with -O3, ok with -O0 (gcc-5666.3)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-03-18 17:26:10


#9791: [libs/program_options] winmain.cpp fails to compile with -O3, ok with -O0
(gcc-5666.3)
--------------------------------------+-----------------------------
  Reporter: class101 <ad@…> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
--------------------------------------+-----------------------------

Comment (by class101 <ad@…>):

 Little addition: -O3 works fine with address-model=64 (-m64) but fails
 with address-model=32 (-m32)

 Command used:
 {{{
 b2 -j10 -d0 toolset=gcc variant=release abi=sysv address-model=32 binary-
 format=mach-o link=static,shared pch=off strip=on target-os=darwin
 threading=multi threadapi=pthread cxxflags="-w -m32" linkflags="-w -m32
 -lstdc++" --without-python --without-mpi --prefix=x:/libs/boost-1_56
 --libdir=x:/libs/boost-1_56/lib --includedir=x:/libs install
 }}}

 Config used:
 {{{
 import option ;

 using gcc :
 : "X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/g++.exe"
 : <archiver>X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/ar.exe
   <ranlib>X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/ranlib.exe
   <rc>X:/libs/gcc-5666.3-x86_64-apple-darwin10/bin/as.exe
   <linker-type>darwin
 ;

 option.set keep-going : false ;
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9791#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC