Changeset e5609dd


Ignore:
Timestamp:
Jul 9, 2015, 11:20:30 AM (9 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
85c4ef0, cff1143
Parents:
71bd8c6
Message:

fixed incomplete array type equality

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/TypeEquality.cc

    r71bd8c6 re5609dd  
    1010// Created On       : Tue Jul 07 16:28:29 2015
    1111// Last Modified By : Rob Schluntz
    12 // Last Modified On : Wed Jul 08 16:20:09 2015
    13 // Update Count     : 35
     12// Last Modified On : Thu Jul 09 11:18:46 2015
     13// Update Count     : 36
    1414//
    1515
     
    102102                        }
    103103
    104                         if ( ! arrayType->get_isVarLen() && ! at->get_isVarLen() ) {
     104                        if ( ! arrayType->get_isVarLen() && ! at->get_isVarLen() &&
     105                                arrayType->get_dimension() != 0 && at->get_dimension() != 0 ) {
    105106                                ConstantExpr * ce1 = dynamic_cast< ConstantExpr * >( arrayType->get_dimension() );
    106107                                ConstantExpr * ce2 = dynamic_cast< ConstantExpr * >( at->get_dimension() );
Note: See TracChangeset for help on using the changeset viewer.