{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/9563","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/9563/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/9563/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/9563/events","html_url":"https://github.com/JuliaLang/julia/issues/9563","id":53279296,"number":9563,"title":"conditional break in nested loop causes fatal crash","user":{"login":"mmuurr","id":5702538,"avatar_url":"https://avatars.githubusercontent.com/u/5702538?v=3","gravatar_id":"","url":"https://api.github.com/users/mmuurr","html_url":"https://github.com/mmuurr","followers_url":"https://api.github.com/users/mmuurr/followers","following_url":"https://api.github.com/users/mmuurr/following{/other_user}","gists_url":"https://api.github.com/users/mmuurr/gists{/gist_id}","starred_url":"https://api.github.com/users/mmuurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmuurr/subscriptions","organizations_url":"https://api.github.com/users/mmuurr/orgs","repos_url":"https://api.github.com/users/mmuurr/repos","events_url":"https://api.github.com/users/mmuurr/events{/privacy}","received_events_url":"https://api.github.com/users/mmuurr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-02T21:31:13Z","updated_at":"2015-01-03T04:12:15Z","closed_at":null,"body":"While reading the manual and exploring the language, I discovered this strange error:\r\n\r\n```julia\r\nfor i = 1:2\r\n  for j = 1:2\r\n    if i == 1 && j == 2\r\n      break\r\n    end\r\n    println(i, j)\r\n  end\r\nend\r\n```\r\n\r\nOn version 0.3.3 (Mac OS 10.9.5) this leads to a full julia crash with the following error:\r\n\r\n```\r\nAssertion failed: (Headers.size() >= 2 && \"Should be irreducible\"), function findIrreducibleHeaders, file BlockFrequencyInfoImpl.cpp, line 605.\r\n\r\nsignal (6): Abort trap: 6\r\n__pthread_kill at /usr/lib/system/libsystem_kernel.dylib (unknown line)\r\n\r\nAbort trap: 6\r\n```\r\n\r\nReplacing `break` with, e.g. `println(\"foo\")` works just fine.\r\n\r\nI'm _very_ new to julia, so perhaps I'm doing something wrong here, but a full system crash seems strange.\r\n"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/68582565","html_url":"https://github.com/JuliaLang/julia/issues/9563#issuecomment-68582565","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/9563","id":68582565,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T04:12:15Z","updated_at":"2015-01-03T04:12:15Z","body":"Yep they're using LLVM 3.5, see https://trac.macports.org/browser/trunk/dports/lang/julia/Portfile\r\n\r\nA) You might want to open a bug with them (or comment on https://trac.macports.org/ticket/45187) and say they should be using LLVM 3.3 since that's what's officially supported right now.\r\n\r\nB) Though not completely supported, this probably shouldn't be happening with LLVM 3.5. Can anyone reproduce with 3.5?"}}