Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic wrapper over gcc rich_location #374

Merged
merged 4 commits into from
Apr 17, 2021

Conversation

philberty
Copy link
Member

@philberty philberty commented Apr 15, 2021

Adding rich location will improve our error message diagnostics, this is
an initial building block to keep a wrapper over the GCC stuff we call.

Addresses: #97
Fixes: #327

@philberty philberty force-pushed the phil/rich-locations-building-block branch 2 times, most recently from bdcd16b to 1f3991a Compare April 15, 2021 14:00
@philberty
Copy link
Member Author

bors r+

bors bot added a commit that referenced this pull request Apr 17, 2021
374: Add basic wrapper over gcc rich_location r=philberty a=philberty

Adding rich location will improve our error message diagnostics, this is
an initial building block to keep a wrapper over the GCC stuff we call.

Addresses: #97 
Fixes: #327 

Co-authored-by: Philip Herron <philip.herron@embecosm.com>
@bors
Copy link
Contributor

bors bot commented Apr 17, 2021

Build failed:

Adding rich location will improve our error message diagnostics, this is
an initial building block to keep a wrapper over the GCC stuff we call.

Addresses: #97
This fatal error stops the compiler in its tracks and will mean the Typed
HIR dump will not occur limiting how much we can debug errors/bugs in the
compiler.

Fixes #327
This means we get a single error for the failure but still see the location
for each dup.
We are getting an extra emition of an error since the rebase and changes to
can_eq.
@philberty philberty force-pushed the phil/rich-locations-building-block branch from 1f3991a to 5b8de2b Compare April 17, 2021 16:52
@philberty
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 17, 2021

Build succeeded:

@bors bors bot merged commit 498758a into master Apr 17, 2021
@philberty philberty deleted the phil/rich-locations-building-block branch April 17, 2021 17:34
tschwinge added a commit that referenced this pull request Sep 23, 2021
... in preparation for a merge from GCC upstream, where we otherwise run into
several different build errors.

Follow-up to commit ed651fc
"Add basic wrapper over gcc rich_location".
tschwinge added a commit that referenced this pull request Sep 24, 2021
... in preparation for a merge from GCC upstream, where we otherwise run into
several different build errors.

Follow-up to commit ed651fc
"Add basic wrapper over gcc rich_location".
bors bot added a commit that referenced this pull request Sep 24, 2021
690: A bit of 'RichLocation' C++ tuning [#247], [#97, #374] r=philberty a=tschwinge

... in preparation for a merge from GCC upstream, where we otherwise run into
several different build errors.

Follow-up to commit ed651fc
"Add basic wrapper over gcc rich_location".


Co-authored-by: Thomas Schwinge <thomas@codesourcery.com>
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.

Change fatal error to error
1 participant