{"action":"created","issue":{"url":"https://api.github.com/repos/STEllAR-GROUP/octotiger/issues/23","repository_url":"https://api.github.com/repos/STEllAR-GROUP/octotiger","labels_url":"https://api.github.com/repos/STEllAR-GROUP/octotiger/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/STEllAR-GROUP/octotiger/issues/23/comments","events_url":"https://api.github.com/repos/STEllAR-GROUP/octotiger/issues/23/events","html_url":"https://github.com/STEllAR-GROUP/octotiger/issues/23","id":190851415,"number":23,"title":"Can't compile octotiger with gcc+datapar enabled","user":{"login":"DavidPfander-UniStuttgart","id":13567426,"avatar_url":"https://avatars.githubusercontent.com/u/13567426?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidPfander-UniStuttgart","html_url":"https://github.com/DavidPfander-UniStuttgart","followers_url":"https://api.github.com/users/DavidPfander-UniStuttgart/followers","following_url":"https://api.github.com/users/DavidPfander-UniStuttgart/following{/other_user}","gists_url":"https://api.github.com/users/DavidPfander-UniStuttgart/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidPfander-UniStuttgart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidPfander-UniStuttgart/subscriptions","organizations_url":"https://api.github.com/users/DavidPfander-UniStuttgart/orgs","repos_url":"https://api.github.com/users/DavidPfander-UniStuttgart/repos","events_url":"https://api.github.com/users/DavidPfander-UniStuttgart/events{/privacy}","received_events_url":"https://api.github.com/users/DavidPfander-UniStuttgart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T22:15:16Z","updated_at":"2016-11-21T22:48:13Z","closed_at":null,"body":"@hkaiser:\r\nCompiling octotiger with datapar (Vc-variant) doesn't compile with gcc 6.2.\r\nWith the Vc-types enabed, in https://github.com/STEllAR-GROUP/octotiger/blob/master/src/grid_output.cpp#L282:\r\n\r\n\t\t\t\tcnt += foo(&(G[iii][0]), sizeof(real), NGF, fp) * sizeof(real);\r\n\r\nGCC complains that I take the address of a temporary, because the bracket operator on a Vc-type returns the underlying type (aka double in this case). However, the bracket operator of the original class returns \"double &\".\r\n\r\nThe error is therefore due to https://github.com/STEllAR-GROUP/octotiger/blob/master/src/simd.hpp#L403.\r\n\r\nThere are further errors. Certain construct with a preceding \"#pragma GCC ivdep\" don't seem to compile with my gcc (6.2)."},"comment":{"url":"https://api.github.com/repos/STEllAR-GROUP/octotiger/issues/comments/262092339","html_url":"https://github.com/STEllAR-GROUP/octotiger/issues/23#issuecomment-262092339","issue_url":"https://api.github.com/repos/STEllAR-GROUP/octotiger/issues/23","id":262092339,"user":{"login":"hkaiser","id":568063,"avatar_url":"https://avatars.githubusercontent.com/u/568063?v=3","gravatar_id":"","url":"https://api.github.com/users/hkaiser","html_url":"https://github.com/hkaiser","followers_url":"https://api.github.com/users/hkaiser/followers","following_url":"https://api.github.com/users/hkaiser/following{/other_user}","gists_url":"https://api.github.com/users/hkaiser/gists{/gist_id}","starred_url":"https://api.github.com/users/hkaiser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hkaiser/subscriptions","organizations_url":"https://api.github.com/users/hkaiser/orgs","repos_url":"https://api.github.com/users/hkaiser/repos","events_url":"https://api.github.com/users/hkaiser/events{/privacy}","received_events_url":"https://api.github.com/users/hkaiser/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T22:48:13Z","updated_at":"2016-11-21T22:48:13Z","body":"This should be fixed similarly to: https://github.com/STEllAR-GROUP/octotiger/blob/master/src/grid_output.cpp#L316"}}
{"actor":{"display_login":"hkaiser"}}