This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc 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]

GNU C Library master sources branch master updated. glibc-2.22-343-gab382c8


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  ab382c88944a3491c57a2cee21b55b90442e6250 (commit)
      from  e4bc326dbbf7328775fe7dd39de1178821363e0a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ab382c88944a3491c57a2cee21b55b90442e6250

commit ab382c88944a3491c57a2cee21b55b90442e6250
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date:   Wed Oct 7 23:17:33 2015 -0700

    stdio-common/tst-printf-bz18872.sh: Use attribute optimize instead of
    
    This fixes build problems on arm, aarch64 and s390, which failed due to
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59884.

diff --git a/ChangeLog b/ChangeLog
index 85bfbd2..6b2e5d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+	* stdio-common/tst-printf-bz18872.sh: Use attribute optimize
+	instead of #pragma optimize.
+
 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
 
 	[BZ #17195]
diff --git a/stdio-common/tst-printf-bz18872.sh b/stdio-common/tst-printf-bz18872.sh
index 0127e73..2517e83 100644
--- a/stdio-common/tst-printf-bz18872.sh
+++ b/stdio-common/tst-printf-bz18872.sh
@@ -30,9 +30,8 @@ cat <<'EOF'
 /*
   Compile do_test without optimization: GCC 4.9/5.0/6.0 takes a long time
   to build this source. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67396  */
-#pragma GCC push_options
-#pragma GCC optimize ("-O0")
 
+__attribute__ ((optimize ("-O0")))
 int do_test (void)
 {
     mtrace ();
@@ -62,7 +61,6 @@ cat <<'EOF'
 
   return 0;
 }
-#pragma GCC pop_options
 
 #define TEST_FUNCTION do_test ()
 #include "../test-skeleton.c"

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                          |    5 +++++
 stdio-common/tst-printf-bz18872.sh |    4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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