Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489532 - sys-devel/gcc-4.8.1 - operator& broken when used on rvalues
Summary: sys-devel/gcc-4.8.1 - operator& broken when used on rvalues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on: 488266
Blocks:
  Show dependency tree
 
Reported: 2013-10-27 02:44 UTC by Reuben Martin
Modified: 2013-11-11 23:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Martin 2013-10-27 02:44:47 UTC
There is a parsing bug in 4.8.1. I came upon it when trying to compile calligra-2.7.4 with sys-devel/gcc-4.8.1-r1.

I found an identical bug report here:
http://comments.gmane.org/gmane.comp.kde.devel.bugs/1446521

which concludes that the problem is with a compiler regression rather than calligra code.

gcc bug is here:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57532

and patch to fix the problem is here:
http://gcc.gnu.org/viewcvs/gcc/branches/gcc-4_8-branch/gcc/cp/parser.c?view=patch&r1=200836&r2=200835&pathrev=200836

After applying the patch to gcc, calligra builds without issue. Please append this patch to the currect gcc patchset.

Reproducible: Always
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2013-11-11 23:38:21 UTC
Fixed in 4.8.2.