D.gnu - [Bug 48] New: scalar op vector is broken
- gdc-bugzilla gdcproject.org (48/48) Apr 08 2013 http://bugzilla.gdcproject.org/show_bug.cgi?id=3D48
http://bugzilla.gdcproject.org/show_bug.cgi?id=3D48 Summary: scalar op vector is broken Classification: Unclassified Product: GDC Version: development Platform: x86_64 OS/Version: Linux Status: NEW Severity: normal Priority: Normal Component: gdc AssignedTo: ibuclaw gdcproject.org ReportedBy: code dawg.eu void foo(__vector(float[4]) a) { auto works =3D a + 3; auto bug =3D 3 + a; } foo.d: In function =E2=80=98foo.foo=E2=80=99: foo.d:1: error: type mismatch in binary expression int vector(4) float vector(4) float bug =3D a + { 3.0e+0, 3.0e+0, 3.0e+0, 3.0e+0 }; foo.d:1: internal compiler error: verify_gimple failed 0x9aa546 verify_gimple_in_seq(gimple_statement_d*) ../../gcc-4.8.0/gcc/tree-cfg.c:4433 0x812c41 gimplify_body(tree_node*, bool) ../../gcc-4.8.0/gcc/gimplify.c:8273 0x812f5d gimplify_function_tree(tree_node*) ../../gcc-4.8.0/gcc/gimplify.c:8358 0x6b3107 cgraph_analyze_function ../../gcc-4.8.0/gcc/cgraphunit.c:658 0x6b5973 cgraph_analyze_functions ../../gcc-4.8.0/gcc/cgraphunit.c:964 0x6b6ad0 finalize_compilation_unit() ../../gcc-4.8.0/gcc/cgraphunit.c:2110 0x600ff4 d_write_global_declarations ../../gcc-4.8.0/gcc/d/d-lang.cc:599 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://gdcproject.org/bugzilla> for instructions. --=20 Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are watching all bug changes.=
Apr 08 2013