Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 13476
Product:  
Component:  
Status: RESOLVED
Resolution: DUPLICATE of bug 10877
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: Krzysztof Strasburger <strasbur@chkw386.ch.pwr.wroc.pl>
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 13476 depends on: Show dependency tree
Show dependency graph
Bug 13476 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2003-12-23 11:48
The following code is miscompiled (no error with -O2 -fPIC or
without -fPIC):
int xargc;
int iargcx() { return (xargc); }
int main(int argc, char **argv) {
xargc=argc; return (iargcx()); }

The function "iargcx" is responsible for the problem.
Command line: gcc -O3 -fPIC file.c, gcc configured with: ./configure --prefix=/usr --enable-languages=c --host=i386-slackware-linux --disable-libgcj --disable-nls

------- Comment #1 From Andrew Pinski 2003-12-23 17:02 -------
This is a dup of bug 10877 which means you have to have a newer binutils.

*** This bug has been marked as a duplicate of 10877 ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug