[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495 Andrew Pinski changed: What|Removed |Added Known to work|| Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #7 from Andrew Pinski --- Just going to make this as a dup of bug 14319. *** This bug has been marked as a duplicate of bug 14319 ***
[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC
--- Comment #5 from zsojka at seznam dot cz 2010-04-08 15:35 --- Created an attachment (id=20336) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20336action=view) testcase with inlined f() Even when the f() is declared as static inline __attribute__((always_inline)) double f(struct s1 *a, struct s2 *b) the testcase still fails with: $ gcc -fschedule-insns -fstrict-aliasing pr43495-2.c ./a.out Aborted -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495
[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC
--- Comment #6 from zsojka at seznam dot cz 2010-04-08 15:38 --- Testcase from comment #5 fails at x86_64-linux, trunk r153685, r158095. It doesn't fail in the 4.4 branch. -- zsojka at seznam dot cz changed: What|Removed |Added CC||zsojka at seznam dot cz http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495
[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-03-24 10:20 --- The test is bogus and does not agree with how GCC interprets type-based aliasing rules. Thus it invokes undefined behavior (dependent on whether we inline or not). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|c |testsuite Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2010-03-24 10:20:10 date|| Summary|[4.5 regression] gcc.c- |gcc.c- |torture/execute/2603-1.c|torture/execute/2603-1.c |fails with -fpic/-fPIC |fails with -fpic/-fPIC http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495
[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC
--- Comment #4 from ghazi at gcc dot gnu dot org 2010-03-24 18:11 --- OK, I'll modify the testcase to ensure function f() gets inlined. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495