OSDN Git Service

2012-05-04 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 11:34:25 +0000 (11:34 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 May 2012 11:34:25 +0000 (11:34 +0000)
* common.opt (flto-report): Do not mark as Optimization.

lto/
* lang.opt (fwpa): Do not mark as Optimization.
(fltrans): Likewise.

* gcc.dg/lto/pr53214_0.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@187154 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/common.opt
gcc/lto/ChangeLog
gcc/lto/lang.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr53214_0.c [new file with mode: 0644]

index 31edef0..dc36a29 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-04  Richard Guenther  <rguenther@suse.de>
+
+       * common.opt (flto-report): Do not mark as Optimization.
+
 2012-05-04  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR target/48496
index 984825d..033fbe0 100644 (file)
@@ -1415,7 +1415,7 @@ Common Joined RejectNegative UInteger Var(flag_lto_compression_level) Init(-1)
 -flto-compression-level=<number>       Use zlib compression level <number> for IL
 
 flto-report
-Common Report Var(flag_lto_report) Init(0) Optimization
+Common Report Var(flag_lto_report) Init(0)
 Report various link-time optimization statistics
 
 fmath-errno
index ca9abe8..77f28f4 100644 (file)
@@ -1,3 +1,8 @@
+2012-05-04  Richard Guenther  <rguenther@suse.de>
+
+       * lang.opt (fwpa): Do not mark as Optimization.
+       (fltrans): Likewise.
+
 2012-03-22  Release Manager
 
        * GCC 4.7.0 released.
index 82857fa..f5e9e39 100644 (file)
@@ -25,7 +25,7 @@ Language
 LTO
 
 fltrans
-LTO Report Var(flag_ltrans) Optimization
+LTO Report Var(flag_ltrans)
 Run the link-time optimizer in local transformation (LTRANS) mode.
 
 fltrans-output-list=
@@ -33,7 +33,7 @@ LTO Joined Var(ltrans_output_list)
 Specify a file to which a list of files output by LTRANS is written.
 
 fwpa
-LTO Driver Report Var(flag_wpa) Optimization
+LTO Driver Report Var(flag_wpa)
 Run the link-time optimizer in whole program analysis (WPA) mode.
 
 fresolution=
index b6f70b1..30ff16d 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-04  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.dg/lto/pr53214_0.c: New testcase.
+
 2012-05-04  Eric Botcazou  <ebotcazou@adacore.com>
 
        * gcc.target/ia64/pr48496.c: New test.
diff --git a/gcc/testsuite/gcc.dg/lto/pr53214_0.c b/gcc/testsuite/gcc.dg/lto/pr53214_0.c
new file mode 100644 (file)
index 0000000..e76d4da
--- /dev/null
@@ -0,0 +1,8 @@
+/* { dg-lto-do run } */
+
+double a(double) __attribute__ ((optimize(1), used));
+double a(double r) 
+{ 
+  return r;
+}
+int main () { return 0; }