[Bug c/63450] Optimizing -O3 generates rep ret on an almost empty function

2014-10-05 Thread lc at luiscoloradosistemas dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63450 --- Comment #3 from Luis Colorado --- just one thing. When you compile a completely empty function you get `rep ret' in one line, instead of that on two lines. The result is some assemblers (gnu as at version 2.20, for example) complainting it

[Bug c/63450] Optimizing -O3 generates rep ret on an almost empty function

2014-10-03 Thread lc at luiscoloradosistemas dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63450 --- Comment #1 from Luis Colorado --- when i compile a completely empty function i get the rep ret in the same line.

[Bug c/63450] New: Optimizing -O3 generates rep ret on an almost empty function

2014-10-03 Thread lc at luiscoloradosistemas dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: lc at luiscoloradosistemas dot com When I try to compile this piece of code: $ cat pru.c void f() { int b=0; } using gcc -O3 -S -o pru.S pru.c I get this assembler output: $ gcc -O3 -S -o