Bug 1304731

Summary: gmic FTBFS: CImg.h:37212:14: internal compiler error: in rewrite_use_nonlinear_expr, at tree-ssa-loop-ivopts.c:7099
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: berrange, davejohansen, jakub, jwakely, law, mpolacek
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-27 08:49:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1307541    

Description Rex Dieter 2016-02-04 13:32:51 UTC
gmic currently FTBFS on i686 with:

In file included from gmic.h:171:0,
                 from gmic.cpp:2129:
./CImg.h: In member function 'cimg_library::CImg<T>& cimg_library::CImg<T>::draw_circle(int, int, int, const tc*, float) [with tc = unsigned char; T = unsigned char]':
./CImg.h:37212:14: internal compiler error: in rewrite_use_nonlinear_expr, at tree-ssa-loop-ivopts.c:7099
     CImg<T>& draw_circle(const int x0, const int y0, int radius,
              ^~~~~~~~~~~
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

Full build logs here,
https://koji.fedoraproject.org/koji/taskinfo?taskID=12824914

Comment 1 Rex Dieter 2016-02-04 13:33:41 UTC
CC'ing gmic maintainer

Comment 2 Marek Polacek 2016-02-04 13:39:38 UTC
Likely PR68021.

Comment 3 Daniel Berrangé 2016-02-04 13:40:20 UTC
New gcc versions have often tripped up gmic in the past. First thing is probably to update to latest gmic to see if it fixes the issue.

Comment 4 Rex Dieter 2016-02-04 14:44:31 UTC
I suspect this may affect anything that includes the CImg.h header

Comment 5 Jan Kurik 2016-02-24 14:24:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 6 Jakub Jelinek 2016-02-27 08:49:05 UTC
Should be fixed in gcc-6.0.0-0.12.fc24.