{"action":"opened","issue":{"url":"https://api.github.com/repos/tgingold/ghdl/issues/238","repository_url":"https://api.github.com/repos/tgingold/ghdl","labels_url":"https://api.github.com/repos/tgingold/ghdl/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/tgingold/ghdl/issues/238/comments","events_url":"https://api.github.com/repos/tgingold/ghdl/issues/238/events","html_url":"https://github.com/tgingold/ghdl/issues/238","id":196531341,"number":238,"title":"GHDL bug on unconstrained records","user":{"login":"henrikbrixandersen","id":1076226,"avatar_url":"https://avatars.githubusercontent.com/u/1076226?v=3","gravatar_id":"","url":"https://api.github.com/users/henrikbrixandersen","html_url":"https://github.com/henrikbrixandersen","followers_url":"https://api.github.com/users/henrikbrixandersen/followers","following_url":"https://api.github.com/users/henrikbrixandersen/following{/other_user}","gists_url":"https://api.github.com/users/henrikbrixandersen/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikbrixandersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikbrixandersen/subscriptions","organizations_url":"https://api.github.com/users/henrikbrixandersen/orgs","repos_url":"https://api.github.com/users/henrikbrixandersen/repos","events_url":"https://api.github.com/users/henrikbrixandersen/events{/privacy}","received_events_url":"https://api.github.com/users/henrikbrixandersen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T21:59:09Z","updated_at":"2016-12-19T21:59:09Z","closed_at":null,"body":"The following code triggers a bug in GHDL:\r\n\r\n```vhdl\r\nLIBRARY ieee;\r\nUSE ieee.std_logic_1164.ALL;\r\nUSE ieee.numeric_std.ALL;\r\n\r\nENTITY test IS\r\n  TYPE foo_t IS RECORD\r\n    bar : unsigned;\r\n  END RECORD foo_t;\r\nEND ENTITY test;\r\n\r\nARCHITECTURE bar OF test IS\r\n  SIGNAL baz : foo_t(bar(1 DOWNTO 0));\r\nBEGIN\r\n\r\nEND ARCHITECTURE bar;\r\n```\r\n\r\n```\r\n$ ghdl -a -v --std=08 test.vhd\r\n$ ghdl -e -v --std=08 test\r\n\r\n******************** GHDL Bug occured ****************************\r\nPlease report this bug on https://github.com/tgingold/ghdl/issues\r\nGHDL release: GHDL 0.34-dev (2016-09-14-227-g8616070) [Dunoon edition]\r\nCompiled with GNAT Version: 4.8.5 20150623 (Red Hat 4.8.5-4)\r\nIn directory: /home/brix/tmp/\r\nCommand line:\r\nghdl -e -v --std=08 test\r\nException TYPES.INTERNAL_ERROR raised\r\nException information:\r\nException name: TYPES.INTERNAL_ERROR\r\nMessage: trans-chap7.adb:4531\r\nCall stack traceback locations:\r\n0x5cfbdb 0x5d07a4 0x5d34e9 0x628cb9 0x60308a 0x6469d0 0x5f284b 0x645e08 0x5fcdd2 0x64a567 0x653bf9 0x650c80 0x4dcc64 0x409946 0x7f0cd2b5ab13 0x408777 0xfffffffffffffffe\r\n******************************************************************\r\n```"}}
{"actor":{"display_login":"henrikbrixandersen"}}