[Bug tree-optimization/106698] `-O2 -flto` cause linker warning

2022-10-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698

Eric Botcazou  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |ebotcazou at gcc dot 
gnu.org

[Bug tree-optimization/106698] `-O2 -flto` cause linker warning

2022-10-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698

Eric Botcazou  changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu.org
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2022-10-05
 Ever confirmed|0   |1

--- Comment #2 from Eric Botcazou  ---
> I suspect the diagnostic code does not handle negative lower bounds arrays
> correctly.

Yes, see https://gcc.gnu.org/pipermail/gcc-patches/2022-August/599820.html

[Bug tree-optimization/106698] `-O2 -flto` cause linker warning

2022-08-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106698

Andrew Pinski  changed:

   What|Removed |Added

   Keywords||diagnostic
  Component|ada |tree-optimization

--- Comment #1 from Andrew Pinski  ---
I suspect the diagnostic code does not handle negative lower bounds arrays
correctly.