p4lang-p4c-nightly:hanw/test-struct-initializer

Last commit made on 2018-11-02
Get this branch:
git clone -b hanw/test-struct-initializer https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
hanw/test-struct-initializer
Repository:
lp:p4lang-p4c-nightly

Recent commits

e1fcbc5... by Mihai Budiu <email address hidden>

Fix for issue #1580 (#1583)

* Fix for issue #1580
* Improved error message

67ff3f4... by Calin Cascaval <email address hidden>

add specialized methods for other integer types

Bitvec operators that have arguments uintptr_t end up converting
other integer types to uintptr_t. On 32-bit systems, the conversion
from uint64_t to uintptr_t is wrong. For that we add new template
methods that do the proper conversion.

Interestingly enough, only the OR methods had the uintptr_t parameters.
Why?

7e01871... by Calin Cascaval <email address hidden>

house cleaning for 32-bit compilation (#1582)

* house cleaning for 32-bit compilation

Avoid using size_t as an implied 64-bit value, as on 32-bit systems that is not correct.

Reorganized the headers so that we can reuse bitops without gmp.

Made the add_cxx_compiler_options portable.

525d254... by Evan Cheshire <email address hidden>

Fixed an issue on bitvec slices larger than 64 bits (#1581)

* Fixed an issue on bitvec slices larger than 64 bits

* Updated the test

af965f3... by ChrisDodd

support routine additions (#1579)

- Keys and ValuesForKey helpers for (multi)map iteration
- dump child index/name in Visitor::Context dump routine

6557660... by amreshk <email address hidden>

Minor fix on misplaced break in adding default args (#1578)

bd5bc2a... by mbudiu-vmw <email address hidden>

Rebased

76dd64f... by mbudiu-vmw <email address hidden>

Handle StructInitializerExpression in the back-end

d74514e... by mbudiu-vmw <email address hidden>

Moved structure initializer creation to a separate pass

8af0e6b... by mbudiu-vmw <email address hidden>

Added a comment