{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/30841","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/30841/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/30841/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/30841/events","html_url":"https://github.com/rust-lang/rust/issues/30841","id":126156738,"number":30841,"title":"librustc_trans: function parameters should be annotated with zeroext/signext","user":{"login":"antonblanchard","id":2029971,"avatar_url":"https://avatars.githubusercontent.com/u/2029971?v=3","gravatar_id":"","url":"https://api.github.com/users/antonblanchard","html_url":"https://github.com/antonblanchard","followers_url":"https://api.github.com/users/antonblanchard/followers","following_url":"https://api.github.com/users/antonblanchard/following{/other_user}","gists_url":"https://api.github.com/users/antonblanchard/gists{/gist_id}","starred_url":"https://api.github.com/users/antonblanchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonblanchard/subscriptions","organizations_url":"https://api.github.com/users/antonblanchard/orgs","repos_url":"https://api.github.com/users/antonblanchard/repos","events_url":"https://api.github.com/users/antonblanchard/events{/privacy}","received_events_url":"https://api.github.com/users/antonblanchard/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rust-lang/rust/labels/A-codegen","name":"A-codegen","color":"d7e102"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/I-nominated","name":"I-nominated","color":"e10c02"},{"url":"https://api.github.com/repos/rust-lang/rust/labels/T-compiler","name":"T-compiler","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-12T11:18:05Z","updated_at":"2016-01-21T21:09:42Z","closed_at":null,"body":"type_of -> Type::uint_from_ty/Type::int_from_ty converts to LLVM types which have no sign. This is then passed to the architecture specific code in compute_abi_info().\r\n\r\nPowerPC needs to know whether to sign or zero extend function call parameters, but it doesn't have enough information in the LLVM types."},"comment":{"url":"https://api.github.com/repos/rust-lang/rust/issues/comments/173708446","html_url":"https://github.com/rust-lang/rust/issues/30841#issuecomment-173708446","issue_url":"https://api.github.com/repos/rust-lang/rust/issues/30841","id":173708446,"user":{"login":"nikomatsakis","id":155238,"avatar_url":"https://avatars.githubusercontent.com/u/155238?v=3","gravatar_id":"","url":"https://api.github.com/users/nikomatsakis","html_url":"https://github.com/nikomatsakis","followers_url":"https://api.github.com/users/nikomatsakis/followers","following_url":"https://api.github.com/users/nikomatsakis/following{/other_user}","gists_url":"https://api.github.com/users/nikomatsakis/gists{/gist_id}","starred_url":"https://api.github.com/users/nikomatsakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikomatsakis/subscriptions","organizations_url":"https://api.github.com/users/nikomatsakis/orgs","repos_url":"https://api.github.com/users/nikomatsakis/repos","events_url":"https://api.github.com/users/nikomatsakis/events{/privacy}","received_events_url":"https://api.github.com/users/nikomatsakis/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T21:09:42Z","updated_at":"2016-01-21T21:09:42Z","body":"triage: P-medium \r\n\r\nGood catch reporting this bug! This should definitely be fixed, but PowerPC is not a \"tier 1\" platform, so it's not a *high priority* (drop everything) sort of bug. "}}