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 target/85430] [7/8 Regression] ICE: SIGSEGV in memory_operand at recog.c:1358 with -O2 -fno-tree-ccp -fno-tree-fre


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85430

--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> ---
Observation about generated code:
$ x86_64-pc-linux-gnu-gcc -O2 -fno-tree-ccp -fno-tree-fre testcase.c -S -o-
...
foo:
        movl    %edi, %eax
        addb    %al, %al
        ret
...

which looks superior to code generated by -O1/-O2/-O3/-Os/-Og :
...
foo:
        movsbl  %dil, %edx
        addl    %edx, %edx
        movl    %edi, %eax
        movb    %dl, %al
        ret
...

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