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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |6.4.0
             Status|UNCONFIRMED                 |NEW
            Summary|CASEServer.cpp:203:1:       |[11/12/13/14/15 Regression]
                   |internal compiler error: in |CASEServer.cpp:203:1:
                   |require_pic_register, at    |internal compiler error: in
                   |config/arm/arm.c:7855       |require_pic_register, at
                   |                            |config/arm/arm.c:7855
   Last reconfirmed|                            |2024-06-23
      Known to fail|                            |7.1.0, 9.5.0
     Ever confirmed|0                           |1
   Target Milestone|---                         |11.5

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced testcase:
```
struct c1 {
  virtual void func1() = 0;
};
struct  c2 {
  virtual ~c2() {}
};
struct c3 : c2, c1 {
  void func1() override;
  void func3();
};
void c3::func1() {
  func3();
}
```

Options needed to get the ICE:
```
-fPIE -mno-pic-data-is-text-relative  -mlong-calls  -ffunction-sections
```

The ICE started in GCC 7.x.

Reply via email to