[Bug rtl-optimization/44013] VTA produces wrong code

2010-06-04 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2010-06-04 16:44 --- Subject: Bug 44013 Author: jakub Date: Fri Jun 4 16:43:42 2010 New Revision: 160281 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160281 Log: PR rtl-optimization/44013 * sched-deps.c (add_de

[Bug rtl-optimization/44013] VTA produces wrong code

2010-06-02 Thread hariharans at picochip dot com
--- Comment #9 from hariharans at picochip dot com 2010-06-02 08:41 --- Thanks Alexandre. I can confirm that this patch works for this testcase. Cheers Hari -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-06-01 Thread aoliva at gcc dot gnu dot org
--- Comment #8 from aoliva at gcc dot gnu dot org 2010-06-02 05:19 --- Created an attachment (id=20804) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20804&action=view) Patch that fixes the problem Here's the patch I'm regstrapping now. It avoids relying on the implied dependency

[Bug rtl-optimization/44013] VTA produces wrong code

2010-06-01 Thread aoliva at gcc dot gnu dot org
--- Comment #7 from aoliva at gcc dot gnu dot org 2010-06-02 05:08 --- Mine -- aoliva at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #6 from hariharans at picochip dot com 2010-05-06 14:06 --- Created an attachment (id=20588) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20588&action=view) sched1 output obtained with -fsched-verbose=8 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #5 from hariharans at picochip dot com 2010-05-06 14:05 --- Created an attachment (id=20587) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20587&action=view) debug dump just before sched1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #4 from hariharans at picochip dot com 2010-05-06 14:03 --- Created an attachment (id=20586) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20586&action=view) debug dump for combine stage -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #3 from hariharans at picochip dot com 2010-05-06 14:02 --- This test does fail with -fcompare-debug. The relevant part of this basic block just before sched1 is (debug_insn 33 32 34 3 vta_bug.i:12 (var_location:SI converter$rawValue (unspec_volatile:SI [ (const_

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-05-06 13:07 --- DEBUG_INSNs must not affect code generation (in scheduling case scheduling of non-DEBUG_INSNs). Does the testcase fail with -fcompare-debug? >From your description it is unclear what is going on. Perhaps you should a

[Bug rtl-optimization/44013] VTA produces wrong code

2010-05-06 Thread hariharans at picochip dot com
--- Comment #1 from hariharans at picochip dot com 2010-05-06 13:00 --- Created an attachment (id=20584) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20584&action=view) The test sourcecode -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44013