Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pike pike
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 119
    • Issues 119
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pikelang
  • pikepike
  • Issues
  • #2361

Closed
Open
Created Oct 03, 2001 by Peter Bortas@zinoOwner

Cache(?) bug in typeof

Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2361

Reported by Martin Stjernholm mast@roxen.com

Consider this program:

    class X {}
    X x;

    int main()
    {
      werror ("%O\n", typeof (x));
      werror ("%O\n", typeof (X));
    }

It writes:

object(implements 65586)
object(implements 65586)

Now swap the two werror lines. The output then becomes:

function( : object(is 65586))
function( : object(is 65586))

Problem exists in 7.2 and 7.3.

Assignee
Assign to
Time tracking