<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>260065</bug_id>
          
          <creation_ts>2023-08-11 02:30:25 -0700</creation_ts>
          <short_desc>It fails to compile WebKitGtk with option `-Og` of gcc</short_desc>
          <delta_ts>2023-08-11 02:30:25 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>bmalloc</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kai">kai.7.kang</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ggaren</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1970697</commentid>
    <comment_count>0</comment_count>
    <who name="Kai">kai.7.kang</who>
    <bug_when>2023-08-11 02:30:25 -0700</bug_when>
    <thetext>It fails to compile WebKitGtk with option `-Og` of gcc

    | In file included from Source/bmalloc/libpas/src/libpas/pas_heap_page_provider.h:30,
    |                  from Source/bmalloc/libpas/src/libpas/pas_bootstrap_heap_page_provider.h:29,
    |                  from Source/bmalloc/libpas/src/libpas/pas_large_heap_physical_page_sharing_cache.h:29,
    |                  from Source/bmalloc/libpas/src/libpas/pas_basic_heap_page_caches.h:29,
    |                  from Source/bmalloc/libpas/src/libpas/pas_heap_config_utils.h:32,
    |                  from Source/bmalloc/libpas/src/libpas/bmalloc_heap_config.h:34,
    |                  from Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:34,
    |                  from Source/bmalloc/bmalloc/bmalloc.h:39,
    |                  from Source/bmalloc/bmalloc/bmalloc.cpp:26:
    | In function &apos;pas_allocation_result pas_local_allocator_try_allocate(pas_local_allocator*, size_t, size_t, pas_heap_config, pas_allocator_counts*, pas_allocation_result_filter)&apos;,
    |     inlined from &apos;pas_allocation_result pas_try_allocate_common_impl_fast(pas_heap_config, pas_allocator_counts*, pas_allocation_result_filter, pas_local_allocator*, size_t, size_t)&apos; at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h:85:46,
    |     inlined from &apos;pas_allocation_result bmalloc_try_allocate_with_alignment_impl_impl_fast(pas_local_allocator*, size_t, size_t)&apos; at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:59:1,
    |     inlined from &apos;pas_allocation_result pas_try_allocate_intrinsic_impl_casual_case(__pas_heap*, size_t, size_t, pas_intrinsic_heap_support*, pas_heap_config, pas_try_allocate_common_fast, pas_try_allocate_common_slow, pas_intrinsic_heap_designation_mode)&apos; at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/pas_try_allocate_intrinsic.h:167:44,
    |     inlined from &apos;pas_allocation_result bmalloc_try_allocate_with_alignment_impl_casual_case(size_t, size_t)&apos; at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:59:1:
    | webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1: error: inlining failed in call to &apos;always_inline&apos; &apos;pas_allocation_result pas_allocation_result_identity(pas_allocation_result)&apos;: function not considered for inlining
    |    76 | pas_allocation_result_identity(pas_allocation_result result)
    |       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>