CVS commit: [netbsd-6] src/gnu/dist/gcc4/gcc

2018-07-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jul  2 14:36:42 UTC 2018

Modified Files:
src/gnu/dist/gcc4/gcc [netbsd-6]: toplev.h

Log Message:
Apply patch, requested by mrg in ticket #1551:

Avoid redefining functions.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.44.1 src/gnu/dist/gcc4/gcc/toplev.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/dist/gcc4/gcc/toplev.h
diff -u src/gnu/dist/gcc4/gcc/toplev.h:1.1.1.1 src/gnu/dist/gcc4/gcc/toplev.h:1.1.1.1.44.1
--- src/gnu/dist/gcc4/gcc/toplev.h:1.1.1.1	Thu Apr 20 10:19:17 2006
+++ src/gnu/dist/gcc4/gcc/toplev.h	Mon Jul  2 14:36:42 2018
@@ -158,6 +158,7 @@ extern int exact_log2  (
 /* Return floor of log2, with -1 for zero.  */
 extern int floor_log2  (unsigned HOST_WIDE_INT);
 
+#if 0 /* these are not valid, and break in GCC 5. */
 /* Inline versions of the above for speed.  */
 #if GCC_VERSION >= 3004
 # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
@@ -183,6 +184,7 @@ exact_log2 (unsigned HOST_WIDE_INT x)
   return x == (x & -x) && x ? (int) CTZ_HWI (x) : -1;
 }
 #endif /* GCC_VERSION >= 3004 */
+#endif
 
 /* Functions used to get and set GCC's notion of in what directory
compilation was started.  */



CVS commit: [netbsd-6] src/gnu/dist/gcc4/gcc

2018-07-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Jul  2 14:36:42 UTC 2018

Modified Files:
src/gnu/dist/gcc4/gcc [netbsd-6]: toplev.h

Log Message:
Apply patch, requested by mrg in ticket #1551:

Avoid redefining functions.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.44.1 src/gnu/dist/gcc4/gcc/toplev.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/gnu/dist/gcc4/gcc/config/i386

2014-11-03 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Nov  4 00:52:15 UTC 2014

Modified Files:
src/gnu/dist/gcc4/gcc/config/i386 [netbsd-6]: pmm_malloc.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1157):
 external/gpl3/gcc.old/dist/gcc/config/i386/pmm_malloc.h: revision 1.2
 Apply r1.2 from our GCC 4.8 version of the same file:
 Kill the throw() on a forward declaration for posix_memalign (it does
 not match our base declaration and may cause warnings).


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.44.1 \
src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h
diff -u src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h:1.1.1.1 src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h:1.1.1.1.44.1
--- src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h:1.1.1.1	Thu Apr 20 09:47:09 2006
+++ src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h	Tue Nov  4 00:52:15 2014
@@ -34,7 +34,7 @@
 #ifndef __cplusplus
 extern int posix_memalign (void **, size_t, size_t);
 #else
-extern C int posix_memalign (void **, size_t, size_t) throw ();
+extern C int posix_memalign (void **, size_t, size_t);
 #endif
 
 static __inline void *



CVS commit: [netbsd-6] src/gnu/dist/gcc4/gcc/config/i386

2014-11-03 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Tue Nov  4 00:52:15 UTC 2014

Modified Files:
src/gnu/dist/gcc4/gcc/config/i386 [netbsd-6]: pmm_malloc.h

Log Message:
Pull up following revision(s) (requested by joerg in ticket #1157):
 external/gpl3/gcc.old/dist/gcc/config/i386/pmm_malloc.h: revision 1.2
 Apply r1.2 from our GCC 4.8 version of the same file:
 Kill the throw() on a forward declaration for posix_memalign (it does
 not match our base declaration and may cause warnings).


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.1.1.1.44.1 \
src/gnu/dist/gcc4/gcc/config/i386/pmm_malloc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-6] src/gnu/dist/gcc4/gcc/config/vax

2012-07-12 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Jul 12 18:29:57 UTC 2012

Modified Files:
src/gnu/dist/gcc4/gcc/config/vax [netbsd-6]: builtins.md

Log Message:
Pull up following revision(s) (requested by ragge in ticket #411):
gnu/dist/gcc4/gcc/config/vax/builtins.md: revision 1.3
Bugfix builtin ffs, fixes PR port-vax/46677, fix from Paul Koning.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.40.1 src/gnu/dist/gcc4/gcc/config/vax/builtins.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/gnu/dist/gcc4/gcc/config/vax/builtins.md
diff -u src/gnu/dist/gcc4/gcc/config/vax/builtins.md:1.2 src/gnu/dist/gcc4/gcc/config/vax/builtins.md:1.2.40.1
--- src/gnu/dist/gcc4/gcc/config/vax/builtins.md:1.2	Mon Apr  2 16:45:39 2007
+++ src/gnu/dist/gcc4/gcc/config/vax/builtins.md	Thu Jul 12 18:29:57 2012
@@ -25,7 +25,7 @@
   
 {
   rtx label = gen_label_rtx ();
-  emit_insn (gen_ffssi2_internal (operands[0], operands[1], operands[0]));
+  emit_insn (gen_ffssi2_internal (operands[0], operands[1], operands[1]));
   emit_jump_insn (gen_bne (label));
   emit_insn (gen_negsi2 (operands[0], const1_rtx));
   emit_label (label);
@@ -36,6 +36,6 @@
 (define_insn ffssi2_internal
   [(set (match_operand:SI 0 nonimmediate_operand =g)
 (ffs:SI (match_operand:SI 1 general_operand nrQ)))
-   (set (cc0) (match_operand:SI 2 nonimmediate_operand 0))]
+   (set (cc0) (ffs:SI (match_operand:SI 2 general_operand 1)))]
   
   ffs $0,$32,%1,%0)



CVS commit: [netbsd-6] src/gnu/dist/gcc4/gcc/config/vax

2012-07-12 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Thu Jul 12 18:29:57 UTC 2012

Modified Files:
src/gnu/dist/gcc4/gcc/config/vax [netbsd-6]: builtins.md

Log Message:
Pull up following revision(s) (requested by ragge in ticket #411):
gnu/dist/gcc4/gcc/config/vax/builtins.md: revision 1.3
Bugfix builtin ffs, fixes PR port-vax/46677, fix from Paul Koning.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.40.1 src/gnu/dist/gcc4/gcc/config/vax/builtins.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.