[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2009-06-21 15:40 --- Well, for a start your asm code shows that you really shouldn't use inline asm ;) But ... asm( "movl %%ebx, %0 " : "=m" (t)); you miss an input constraint for %%ebx. But really - what are you trying t

[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread p dot j dot bakker at brainspark dot nl
--- Comment #6 from p dot j dot bakker at brainspark dot nl 2009-06-21 14:19 --- Subject: Re: -fprofile-arcs changes behaviour Ok. That is great (That there is not a bug in gcc :)). But I'm at a loss which extra constraints are needed. COuld you point me in the right direction? Bes

[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-06-21 10:43 --- Your inline assembly misses required constraints for the hardregister uses. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread p dot j dot bakker at brainspark dot nl
--- Comment #4 from p dot j dot bakker at brainspark dot nl 2009-06-21 10:16 --- Just tested: Also applies to gcc 4.4.0 (Debian 4.4.0-8) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40509

[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread p dot j dot bakker at brainspark dot nl
--- Comment #3 from p dot j dot bakker at brainspark dot nl 2009-06-21 09:41 --- Created an attachment (id=18038) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18038&action=view) Intermediate file without -fprofile-arcs enabled -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4

[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread p dot j dot bakker at brainspark dot nl
--- Comment #2 from p dot j dot bakker at brainspark dot nl 2009-06-21 09:41 --- Created an attachment (id=18037) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18037&action=view) Intermediate file with -fprofile-arcs enabled -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4050

[Bug c/40509] -fprofile-arcs changes behaviour

2009-06-21 Thread p dot j dot bakker at brainspark dot nl
--- Comment #1 from p dot j dot bakker at brainspark dot nl 2009-06-21 09:40 --- Created an attachment (id=18036) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18036&action=view) bugrep.c (The example code) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40509