Не забудьте забрать ваш подарок

2025-05-05 Thread yandex.kz
Title: Version_202306_exchange_email





  
  
  
  
  

  
  
  
  
  
У вас (1) новое сообщение 
  
  
  

  

  
  

  


  

  

  

  




  
  

  

   
  
  

  

  
 

  

  

  

  
  
 

  






  

  
  
 

  

  

  

  

  
  
   

  

  
  

  

   

  

  

  
  

  

  

  

  
  

  

  
  

  

  

  

  

  
  

  

   
  
Успейте воспользоваться предложением yandex.kz
  
   
  
Ваш подарок — 1000 ₸ на банковскую карту
  

  
   

  


  
  

  
  
  
  
  
  
   
  
  
  
  
   
  
  
  
  Получить
  подарок
  
  
  
   
  
  
  
  
   
  
  
  
  
  
  

  
   
  
  

  



  
Предложение будет действовать до 2025 ж. 10 мамыр, 18:19





  

  
  
  

  


  

  

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-05-05 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641

--- Comment #5 from Thomas Schwinge  ---
I'm confirming that all but one '-Wnarrowing' are resolved.  Only this one
remains:

[...]/gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc:
In member function 'const Rust::BIR::Loan&
Rust::BIR::BorrowCheckerDiagnostics::get_loan(Rust::Polonius::Loan)':
   
[...]/gcc/rust/checks/errors/borrowck/rust-borrow-checker-diagnostics.cc:145:46:
warning: narrowing conversion of 'loan' from 'Rust::Polonius::Loan' {aka 'long
unsigned int'} to 'uint32_t' {aka 'unsigned int'} [-Wnarrowing]
  145 |   return bir_function.place_db.get_loans ()[{loan}];
  |  ^~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug rust/119641] narrowing Warning during bootstrap in Rust::BIR::PlaceDB::lookup_or_add_variable

2025-05-05 Thread cohenarthur at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119641

--- Comment #6 from Arthur Cohen  ---
(In reply to Thomas Schwinge from comment #3)
> (I haven't checked, but) supposedly fixed in trunk via commit
> r16-237-gbeced835afa3908aa94550d2ca5ee3879a620adb "gccrs: Fix narrowing
> conversion warnings".
> 
> Owen, for next time, to auto-annotate GCC Bugzilla, the correct syntax to
> use in Git log would've been to put "PR rust/119641" into the ChangeLog
> snippet, see .
> 
> Given this has been filed with "Version: 15.0", should this be cherry-picked
> into releases/gcc-15 branch as well?

Yes, I think it'd be good to get it in 15.2 as well. We can submit the patches
for a review once we fix the last narrowing conversion I think.

-- 
You are receiving this mail because:
You are on the CC list for the bug.