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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to CTC from comment #2)
> (In reply to Andrew Pinski from comment #1)
> > The reduced testcase is undefined code ....
> > Though the original is most likely well defined valid code.
> 
> I tried to add "-fsanitize=undefined" to make reduced testcase well defined.
> But the original testcase with "-fsanitize=undefined" can work successfully
> without run-time errors.

The way I normally reduce testcases like this is to run it a few different ways
to avoid reducing it to an undefined code. Plus error out on uninitialized
variable warnings too.
Since this is reported against 11.4, it could be fixed already on the trunk too
so it might take me some time to reduce it ...

I might get around to trying to reduce the issue later today or tomorrow.

Reply via email to