nosys _exit.c

"Florian La Roche" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <OFC7DBB13E.D1D5EC8B-ONC12583CF.004C9470-C12583CF.004D7615@local-dmz.de>
Hello,

in libgloss/libnosys/_exit.c the comments say that a "divide by 0 
exception" is tried. gcc optimizes this
away with -O1 and -O2, so the code could also be removed competely, then 
only the endless loop
remains for _exit().

best regards,

Florian La Roche



Geschäftsführung: Susanne Kunschert, Thomas Pilz
Pilz GmbH & Co. KG, Sitz: Ostfildern, HRA 210 893, Amtsgericht Stuttgart
Kompl. Ges. Peter Pilz GmbH, Sitz: Ostfildern, HRB 210 612, Amtsgericht Stuttgart
Umsatzsteuer: ID-Nr. DE 145 355 773, WEEE-Reg.-Nr. DE 71636849
This email is intended solely for the use of the named address(es). Any unauthorised disclosure, copying or distribution of these confidential information contained therein, or the taking of any action based on it, is prohibited. The sender disclaims any liability for the integrity of this email. Legally binding declarations must be in written form.
Umweltschutz liegt uns am Herzen! - Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail drucken.
We do care about the environment! - Please consider the environment before printing this e-mail.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.