Mismatched types of StoreSpline

UNCONFIRMED
Unassigned

Status

()

Core
General
UNCONFIRMED
7 years ago
6 years ago

People

(Reporter: Jan Hubicka, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:2.0.0) Gecko/20100101 Firefox/4.0
Build Identifier: x86_64-linux

jh@evans:/abuild/jh/mozilla-central2> grep -R StoreSpline *
mozilla-central/gfx/cairo/cairo/src/cairo-spline.c:void StoreSpline(int ax, int ay, int bx, int by, int cx, double cy, int dx, int dy);
mozilla-central/gfx/cairo/cairo/src/cairo-spline.c:    StoreSpline(spline->knots.a.x,
mozilla-central/widget/src/xpwidgets/GfxInfoBase.cpp:  void StoreSpline(int ax, int ay, int bx, int by, int cx, int cy, int dx, int dy);
mozilla-central/widget/src/xpwidgets/GfxInfoBase.cpp:StoreSpline(int ax, int ay, int bx, int by, int cx, int cy, int dx, int dy) {

Notice type mismatch of cy.  This currently causes GCC crash when doing link time optimization since GCC forgets to type check arguments when validating the inlining oppurtunity.
I filled in GCC bug, too, but this should be fixed anyway.

Honza

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