[Bug testsuite/83454] FAIL: gcc.dg/tree-ssa/cswtch-4.c and cswtch-5.c

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 19 09:00:00 GMT 2017


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-12-19
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 42912
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42912&action=edit
gcc8-pr83454.patch

Actually caused by PIC by default, thus we get
Bailing out - value from a case would need runtime relocations
instead of the optimization.

Untested testcase fix.


More information about the Gcc-bugs mailing list