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 rtl-optimization/36321] Optimization higher or eqaul to -O2 produce wrong code



------- Comment #2 from ktietz at gcc dot gnu dot org  2008-05-24 16:36 -------
(In reply to comment #1)
> Can you try this patch:
> 
> Index: i386.md
> ===================================================================
> --- i386.md     (revision 135849)
> +++ i386.md     (working copy)
> @@ -19707,7 +19707,7 @@
>     (set_attr "length" "5")])
> 
>  (define_insn "allocate_stack_worker_64"
> -  [(set (match_operand:DI 0 "register_operand" "=a")
> +  [(set (match_operand:DI 0 "register_operand" "+a")
>         (unspec_volatile:DI [(match_dup 0)] UNSPECV_STACK_PROBE))
>     (set (reg:DI SP_REG) (minus:DI (reg:DI SP_REG) (match_dup 0)))
>     (clobber (reg:DI R10_REG))
> 

I tried it. There is no difference.


-- 


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


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