Changeset b8508a2


Ignore:
Timestamp:
May 15, 2015, 3:18:13 PM (10 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
b87a5ed
Parents:
5c7fb6c
Message:

fix -std flag in cfa.cc, and rename alloca to builtin_alloca

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • driver/cfa.cc

    r5c7fb6c rb8508a2  
    88// Created On       : Tue Aug 20 13:44:49 2002
    99// Last Modified By : Peter A. Buhr
    10 // Last Modified On : Tue Nov 11 09:19:15 2014
    11 // Update Count     : 106
     10// Last Modified On : Fri May 15 15:01:26 2015
     11// Update Count     : 108
    1212//
    1313
     
    294294        args[nargs] = "-Wno-deprecated";
    295295        nargs += 1;
    296         args[nargs] = "--std=c99";
     296        args[nargs] = "-std=c99";
    297297        nargs += 1;
    298298        args[nargs] = ( *new string( string("-B") + Bprefix + "/" ) ).c_str();
  • translator/GenPoly/Box.cc

    r5c7fb6c rb8508a2  
    10591059                    TypeInstType *typeInst = dynamic_cast< TypeInstType *>( objectDecl->get_type() );
    10601060                    assert( typeInst );
    1061                     UntypedExpr *alloc = new UntypedExpr( new NameExpr( "alloca" ) );
     1061                    UntypedExpr *alloc = new UntypedExpr( new NameExpr( "__builtin_alloca" ) );
    10621062                    alloc->get_args().push_back( new NameExpr( typeInst->get_name() ) );
    10631063                    UntypedExpr *assign = new UntypedExpr( new NameExpr( "?=?" ) );
Note: See TracChangeset for help on using the changeset viewer.