[Bug 1596] New: libtests/malloc03/init.c: GCC diagnoses testcase as bad code

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Jun 30 10:13:03 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1596

           Summary: libtests/malloc03/init.c: GCC diagnoses testcase as
                    bad code
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: testing
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org


../../../../../../../c/src/../../testsuites/libtests/malloc03/init.c:26:7:
warning: attempt to free a non-heap object 'val'

Seemingly gcc is clever enough to diagnose the test case you are trying to test
for as bad code.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list