Skip to content

Completely revert expr.cc to gcc-12.2.0 upstream - #246

Open
agoode wants to merge 1 commit into
autc04:masterfrom
agoode:expr
Open

Completely revert expr.cc to gcc-12.2.0 upstream#246
agoode wants to merge 1 commit into
autc04:masterfrom
agoode:expr

Conversation

@agoode

@agoode agoode commented May 11, 2024

Copy link
Copy Markdown
Contributor

When looking into #232 I reverted expr.cc back to the upstream gcc 12.2.0. This removed the HACK but also made another slight change regarding PUSH_ROUNDING.

Now that the hack is gone, you might want to consider this change as well. See https://github.com/gcc-mirror/gcc/blob/releases/gcc-12/gcc/expr.cc#L4430-L4435 for context.

@autc04

autc04 commented May 13, 2024

Copy link
Copy Markdown
Owner

Good point. Still trying to figure this out some more.

It looks like the code in question is not being hit any more, but on the other hand, I do think it should take PUSH_ROUNDING into account if it is ever invoked.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants