[Bug c++/84289] warning : variabile unitialized, emit right check only with O(1,2,3) optimisation level (in try/catch)

2018-02-10 Thread daffra.claudio at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84289

--- Comment #2 from claudio daffra  ---
yes, but people expects g++ emit warning , Independent from optimisation
level , referring others simlar bug . can you fix ?

Il 09 feb 2018 00:09, "manu at gcc dot gnu.org" 
ha scritto:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84289
>
> Manuel López-Ibáñez  changed:
>
>What|Removed |Added
> 
> 
>  Status|UNCONFIRMED |RESOLVED
>  CC||manu at gcc dot gnu.org
>  Resolution|--- |DUPLICATE
>
> --- Comment #1 from Manuel López-Ibáñez  ---
> The try-catch creates:
>
>   # n_1 = PHI 
>   # .MEM_2 = PHI <.MEM_4(3), .MEM_12(9)>
>   _15 = n_1;
>
> and PHI is only handled with optimization.
>
> *** This bug has been marked as a duplicate of bug 43361 ***
>
> --
> You are receiving this mail because:
> You reported the bug.

[Bug c++/84289] warning : variabile unitialized, emit right check only with O(1,2,3) optimisation level (in try/catch)

2018-02-08 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84289

Manuel López-Ibáñez  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||manu at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Manuel López-Ibáñez  ---
The try-catch creates:

  # n_1 = PHI 
  # .MEM_2 = PHI <.MEM_4(3), .MEM_12(9)>
  _15 = n_1;

and PHI is only handled with optimization.

*** This bug has been marked as a duplicate of bug 43361 ***