This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug testsuite/64911] New: FAIL: gcc.c-torture/execute/builtins/strchr.c compilation, -O0


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64911

            Bug ID: 64911
           Summary: FAIL: gcc.c-torture/execute/builtins/strchr.c
                    compilation,  -O0
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pangbw at gmail dot com

In one of my environment, I will get the multiple definition error for this
test case. In another one of my environment, I will not get the error.

After checking the code in linker I think this is a flaw in linker and this is
a bug in the test case as we should always report multiple definition as an
error when a function(strchr) is defined in two places(libc.a and this test
case).


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