Changeset 2ee5426


Ignore:
Timestamp:
Dec 12, 2016, 4:53:16 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
24f4671, 58dd019
Parents:
bd66967
Message:

Cfa translator now compiles with O2 by default. Also fixed some warning

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rbd66967 r2ee5426  
    166166
    167167                                bIsFullBuild = isFullBuild == 'true'
    168                                 architectureFlag = '' 
     168                                architectureFlag = ''
    169169                                if (buildArchitecture == '64-bit') {
    170                                         architectureFlag = '--host=x86_64 CXXFLAGS="-m64 -O2" CFAFLAGS="-m64"'
     170                                        architectureFlag = '--host=x86_64 CXXFLAGS="-m64" CFAFLAGS="-m64"'
    171171                                } else if (buildArchitecture == '32-bit'){
    172                                         architectureFlag = '--host=i386 CXXFLAGS="-m32 -O2" CFAFLAGS="-m32"'
     172                                        architectureFlag = '--host=i386 CXXFLAGS="-m32" CFAFLAGS="-m32"'
    173173                                } else {
    174174                                        architectureFlag = 'ERROR'
  • src/Makefile.am

    rbd66967 r2ee5426  
    4141driver_cfa_cpp_SOURCES = ${SRC}
    4242driver_cfa_cpp_LDADD = ${LEXLIB} -ldl                   # yywrap
    43 driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT
     43driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2
    4444driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic
    4545
  • src/Makefile.in

    rbd66967 r2ee5426  
    432432driver_cfa_cpp_SOURCES = ${SRC}
    433433driver_cfa_cpp_LDADD = ${LEXLIB} -ldl                   # yywrap
    434 driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT
     434driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2
    435435driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic
    436436all: $(BUILT_SOURCES)
  • src/Parser/TypeData.cc

    rbd66967 r2ee5426  
    582582                const_cast<TypeData *>(td)->basictype = DeclarationNode::Int;
    583583                goto Integral;
     584          default:
     585                assert(false);
     586                return nullptr;
    584587        } // switch
    585588
  • src/driver/Makefile.am

    rbd66967 r2ee5426  
    1616
    1717# applies to both programs
    18 AM_CXXFLAGS = -Wall
     18AM_CXXFLAGS = -Wall -O2
    1919
    2020bin_PROGRAMS = cfa
  • src/driver/Makefile.in

    rbd66967 r2ee5426  
    204204
    205205# applies to both programs
    206 AM_CXXFLAGS = -Wall
     206AM_CXXFLAGS = -Wall -O2
    207207cfa_SOURCES = cfa.cc
    208208
Note: See TracChangeset for help on using the changeset viewer.