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

--- Comment #5 from anlauf at gcc dot gnu.org ---
(In reply to Mikael Morin from comment #4)
> With the testcase from comment #3, it becomes:
> 
>     a = {CLOBBER};
>     D.4223 = a + 1;
>     copy (&a, &D.4223);

Right.  And with -Wall one gets a bogus warning that points to the issue:

pr106817.f90:16:20:

   16 |   call copy (a, a+1)
      |                    ^
Warning: 'a' is used uninitialized [-Wuninitialized]
pr106817.f90:14:14:

   14 |   integer :: a
      |              ^
note: 'a' declared here


Which makes this a 9/10/11/12/13 regression ...  :-(

Reply via email to