[Bug c/7544] [3.3/3.4/4.0 regression] #pragma weak problem

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Nov 24 01:45:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-24 01:45 -------
JSM, that is a different bug than what this bug was about, read comment #0 again.  The sources in 
question:
                $ cat bug.c
#pragma weak bar = foo

                $ gcc-3.1 bug.c -S
                $ cat bug2.c
#pragma weak bar = foo
void bar();

                $ gcc-3.1 bug2.c -S

So the orginal problem in this bug as questioned is really not a problem.  Now your testcases shows 
a different problem.

RTH was talking about the bug in question and not your testcases sorry but file a new bug for this as 
the orginal bug is invalid.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7544



More information about the Gcc-bugs mailing list