2014-11-22 Andrew Pinski <apinski@cavium.com>
* g++.dg/cpp0x/initlist-lifetime1.C: Fix testcase where
argc is always greater than 1 (octeon simulator).
* g++.dg/cpp0x/initlist-lifetime2.C: Likewise.
From-SVN: r217979
+2014-11-22 Andrew Pinski <apinski@cavium.com>
+
+ * g++.dg/cpp0x/initlist-lifetime1.C: Fix testcase where
+ argc is always greater than 1 (octeon simulator).
+ * g++.dg/cpp0x/initlist-lifetime2.C: Likewise.
+
2014-11-22 Andrew Pinski <apinski@cavium.com>
PR target/63971
const AL& alr;
};
+volatile bool always_false = false;
+
int main(int argc, const char** argv)
{
- do_throw = (argc > 1); // always false, but optimizer can't tell
+ do_throw = always_false; // always false, but optimizer can't tell
AL ar[] = {{1,2},{3,4}};
B b = {{5,6},{7,8}};
AL3 al3 = {{{1},{2},{3}}};
D() { ok = true; }
};
+volatile bool always_false = false;
+
int main(int argc, const char** argv)
{
- do_throw = (argc > 1); // always false, but optimizer can't tell
+ do_throw = always_false; // always false, but optimizer can't tell
ok = false;
C c;
ok = false;