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 tree-optimization/46499] New: gcc.c-torture/execute/20051021-1.c FAILs with -fno-tree-dominator-opts -fno-tree-ccp


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

           Summary: gcc.c-torture/execute/20051021-1.c FAILs with
                    -fno-tree-dominator-opts -fno-tree-ccp
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu


Command line:
$ gcc -O -fno-omit-frame-pointer -fno-tree-ccp -fno-tree-dominator-opts
-finline-small-functions 20051021-1.i
$ ./a.out
Segmentation fault

In the assembly output, there seems to be missing end of main():
0000000000400508 <main>:
  400508:       55                      push   %rbp
  400509:       48 89 e5                mov    %rsp,%rbp
  40050c:       83 05 15 0b 20 00 02    addl   $0x2,0x200b15(%rip)        #
601028 <count>
  400513:       90                      nop
.... nop nop nop ...

Tested revisions:
r166763 - fail
4.5 r166509 - fail
4.4 r166509 - OK


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