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

            Bug ID: 118617
           Summary: the auto_vec converts variable that gets passed into
                    supportable_indirect_convert_operation could use
                    internal storage
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog, internal-improvement, memory-hog
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: pinskia at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

While looking into PR 118616, I noticed that
supportable_indirect_convert_operation only pushes up to 2 into its vec. And
the 2 places which call supportable_indirect_convert_operation, use an auto_vec
but without an internal storage. In this case an internal storage of 2 elements
would save both memory and slight compile time performance.

I will handle this but maybe not until GCC 16 stage 1.

Reply via email to