This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17510] [4.0 Regression] -fstrict-aliasing triggers miscompilation
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2004 22:22:08 -0000
- Subject: [Bug tree-optimization/17510] [4.0 Regression] -fstrict-aliasing triggers miscompilation
- References: <20040915205139.17510.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2004-09-15 22:22 -------
Created an attachment (id=7146)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7146&action=view)
ed script for testcase reduction
Here's cut in compile-time (10min to 1:30) - ed script to delete unnecessary
stuff. Failure now
(gdb) run -n 2
Starting program: /net/alwazn/home/rguenth/PR17510/tramp3d-v3 -n 2
i = 1 t = 0.001 dt = 0.001 (9.9999e-07s/it)
Program received signal SIGSEGV, Segmentation fault.
0x08067f4c in
MultiArgKernel<MultiArg3<Field<UniformRectilinearMesh<MeshTraits<3, double,
UniformRectilinearTag, CartesianTag, 3> >, double, BrickView>,
Field<UniformRectilinearMesh<MeshTraits<3, double, UniformRectilinearTag,
CartesianTag, 3> >, double, BrickView>,
Field<UniformRectilinearMesh<MeshTraits<3, double, UniformRectilinearTag,
CartesianTag, 3> >, double, BrickView> >,
EvaluateLocLoop<Adv5::X::MomentumfluxX<3>, 3> >::run (this=0x3)
at tramp3d-v3.x.cpp:54523
54523 s = (vx(I) + vx(I+dX)) * 0.5*dt;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17510