Hi!

I've noticed warnings on these two headers that /* is seen inside of
a comment.  Usually this is silenced because the headers are system headers,
but with -Wall -Wsystem-headers or when the dir with the headers
isn't -isystem this shows up.  Committed as obvious, queued for 4.7.1 and
4.6.4.

2012-03-13  Jakub Jelinek  <ja...@redhat.com>

        * config/i386/smmintrin.h: Avoid /* within a comment.
        * config/i386/nmmintrin.h: Likewise.

--- gcc/config/i386/smmintrin.h.jj      2011-04-12 09:37:53.000000000 +0200
+++ gcc/config/i386/smmintrin.h 2012-03-13 09:06:11.844794289 +0100
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+/* Copyright (C) 2007, 2008, 2009, 2010, 2012 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -19,8 +19,7 @@
    You should have received a copy of the GNU General Public License and
    a copy of the GCC Runtime Library Exception along with this program;
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
-   <http://www.gnu.org/licenses/>.
-
+   <http://www.gnu.org/licenses/>.  */
 
 /* Implemented from the specification included in the Intel C++ Compiler
    User Guide and Reference, version 10.0.  */
--- gcc/config/i386/nmmintrin.h.jj      2009-04-14 16:33:49.000000000 +0200
+++ gcc/config/i386/nmmintrin.h 2012-03-13 09:05:30.648036670 +0100
@@ -1,4 +1,4 @@
-/* Copyright (C) 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2007, 2009, 2012 Free Software Foundation, Inc.
 
    This file is part of GCC.
 
@@ -19,7 +19,7 @@
    You should have received a copy of the GNU General Public License and
    a copy of the GCC Runtime Library Exception along with this program;
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
-   <http://www.gnu.org/licenses/>.
+   <http://www.gnu.org/licenses/>.  */
 
 /* Implemented from the specification included in the Intel C++ Compiler
    User Guide and Reference, version 10.0.  */

        Jakub

Reply via email to