This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/35653] gcc-4.3 -O3/-ftree-vectorize regression: incorrect code generation



------- Comment #1 from edwintorok at gmail dot com  2008-03-21 12:42 -------
Created an attachment (id=15353)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15353&action=view)
reduced testcase

$ gcc-4.3 -O1 -g -ftree-vectorize test.i -o  fails
$ gdb ./fails
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) r
Starting program:
/home/edwin/clam/svn3/builds/gcc43opt/fortify-asserts-exp/tmpd/fails

Program received signal SIGSEGV, Segmentation fault.
0x0000000000400532 in main () at test.i:14
14                              (*(uint32_t *)(dest)=(uint32_t)(0x4000400));
(gdb) p dest
$1 = 0x7fffaae00672 ""


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35653


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]