This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/70475] -Wmisleading-indentation quetionable in Eigen


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2016-04-05
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
It doesn't make much sense that we warn for:

    if (a) do_stuff();
           do_other_stuff();

but not for

    if (a) do_stuff();
            do_other_stuff();

or for

    if (a) do_stuff();
          do_other_stuff();

So I agree that the warning is questionable.  I'll propose a patch.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]