Bug 50642 - gcc breaks on && (address-of-label) operator
Summary: gcc breaks on && (address-of-label) operator
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
low
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-01 20:52 UTC by Mark Zealey
Modified: 2005-10-31 22:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-10-01 23:26:03 UTC
Embargoed:


Attachments (Terms of Use)

Description Mark Zealey 2001-08-01 20:52:53 UTC
Description of Problem:gcc versions greater than 2.91.66 break on zealos (zealos.sourceforge.net, cvs module zealos-new) in i386/kern/desc.c:476


How Reproducible:Always. jump location seems to be non-random, but isn't correct either.


Steps to Reproduce:compile it with a non-kgcc gcc compiler and it will usially infinate-loop.
1. download zealos
2. compile with rh7.1's gcc
3. try to run it

Actual Results:it loops round infinatly printing it's messages (jumping to a psudo-random location in the binary)


Expected Results:it should preform a long jump to reload CS and EIP with the new GDT


Additional Information:Told to report it by arjan v

Comment 1 Richard Henderson 2004-10-01 23:26:03 UTC
zealos.sourceforge.net no longer exists, and I can wade through enough
dutch to find where the current code.

I do recall that a lot of folk had invalid source concerning label
addresses and computed gotos at the time.  I strongly suspect this
was one of those.


Note You need to log in before you can comment on or make changes to this bug.