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



             Bug #: 55005

           Summary: [4.8 Regression] gcc.c-torture/execute/loop-3.c FAILs

                    with -fPIC

    Classification: Unclassified

           Product: gcc

           Version: 4.8.0

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: tree-optimization

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: zso...@seznam.cz





Created attachment 28498

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28498

reduced testcase



There are various compiler flags that cause the FAIL.



Output:

$ gcc -O3 -fPIC testcase.c && ./a.out 

Aborted

$ gcc -O2 -funroll-loops -fPIC testcase.c && ./a.out 

Aborted

$ gcc -O2 -fpeel-loops -fPIC testcase.c && ./a.out 

Aborted

$ gcc -O2 -flto -fPIC testcase.c && ./a.out 

Aborted



Tested revisions:

r192641 - fail

r191586 - OK

4.7 r191640 - OK

Reply via email to