Skip to content

core: fix compilation of copy ctors/assignment operators with GCC 4.x#20837

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:fixup_20825
Oct 8, 2021
Merged

core: fix compilation of copy ctors/assignment operators with GCC 4.x#20837
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:fixup_20825

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Oct 7, 2021

fixup #20825

Avoid ICE from CentOS 7.x compiler (GCC 4.8.x).

modules/imgproc/src/drawing.cpp: In function 'void cv::ellipse(cv::InputOutputArray, cv::Point, cv::Size, double, double, double, const Scalar&, int, int, int)':
modules/imgproc/src/drawing.cpp:1934:1: internal compiler error: in assign_by_spills, at lra-assigns.c:1281

Restored implementation of Point_ copy ctor / assignment operator for GCC 4.8.x

force_builders=Custom
build_image:Custom=centos:7
buildworker:Custom=linux-1

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Oct 8, 2021

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants