gcc/rust/ChangeLog:
* rust-gcc.cc (is_floating_point): Use FLOAT_TYPE_P
instead of manually checking the type.
Signed-off-by: Andrew Pinski
---
gcc/rust/rust-gcc.cc | 8 ----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust
From: Arthur Cohen
Resent to cut out the patch's content, as it did not pass the ML filters.
This fixes PR #119333 by allowing our borrow-checker interface to be built
offline. This was already done for our components in libgrust/, but had never
been
done for the borrow-checker.
https://gcc.gn
gcc/rust/ChangeLog:
* rust-gcc.cc (is_floating_point): Use REAL_TYPE_P
instead of manually checking the type.
Signed-off-by: Andrew Pinski
---
gcc/rust/rust-gcc.cc | 8 ----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-g
Hi everyone,
This patchset is the first of four similarly-sized patchsets aimed at
updating upstream with our most recent changes to the Rust frontend.
We plan on upstreaming small patchsets every week up to the release
of 15.1.
This first set's main change is the addition of the polonius
borrow
uary\n\n-::~:~::~:~:~:~:~:~:~
:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\nJoin wi
th Google Meet: https://meet.google.com/ruy-izzz-npa\nOr dial: (FR) +33 1 8
7 40 41 82 PIN: 440662258#\nMore phone numbers: https://tel.meet/ruy-izzz-n
pa?pin=4533806367417&hs=7\n\nLearn more about Meet at: https://support.goog
le.com/a/users/answer/9282720\
=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:GMT+1
DTSTART:19701025T03
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20250210T11
DTEND;TZID=Europe/Paris:20250210T12
DTSTAMP:20250203T192700Z
ORGANIZER
Отправлено с iPhone
From: zhanghe9702
gcc/rust/ChangeLog:
* backend/rust-tree.h: removing the CLASSTYPE_VBASECLASSES macro
which is duplicated three times.
Signed-off-by: Zhang He
---
gcc/rust/backend/rust-tree.h | 12
1 file changed, 12 deletions(-)
diff --git a/gcc/rust/backend
=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:GMT+1
DTSTART:19701025T03
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20241209T11
DTEND;TZID=Europe/Paris:20241209T113000
DTSTAMP:20241202T082531Z
ORGANIZER
=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:GMT+1
DTSTART:19701025T03
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Europe/Paris:20241112T11
DTEND;TZID=Europe/Paris:20241112T113000
DTSTAMP:20241104T103830Z
ORGANIZER
/checks/errors/borrowck/rust-bir-fact-collector.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/rust/checks/errors/borrowck/rust-bir-fact-collector.h
b/gcc/rust/checks/errors/borrowck/rust-bir-fact-collector.h
index bb8fedaf3db..6601c981779 100644
--- a/gcc/rust/checks
g
language
+@end direntry
+@end format
+
+@insertcopying
+@end ifinfo
+
+@titlepage
+@title The GNU Rust Compiler
+@versionsubtitle
+@author The gccrs team
+
+@page
+@vskip 0pt plus 1filll
+Published by the Free Software Foundation @*
+51 Franklin Street, Fifth Floor@*
+Boston, MA 02110-1301, US
Hi,
Gentle ping:
https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653339.html
BR,
Kewen
on 2024/6/3 11:00, Kewen Lin wrote:
> Joseph pointed out "floating types should have their mode,
> not a poorly defined precision value" in the discussion[1],
> as he and Richi sugg
-::~:~::~:~:~
:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\
nJoin with Google Meet: https://meet.google.com/jja-oiki-ish\nOr dial: (FR)
+33 1 87 40 46 29 PIN: 776445926#\nMore phone numbers: https://tel.meet/jj
a-oiki-ish?pin=6568688249318&hs=7\n\nLearn more about Meet at: https://supp
ort.google.com/a/u
-::~:~::~:~:~
:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-\
nJoin with Google Meet: https://meet.google.com/jja-oiki-ish\nOr dial: (FR)
+33 1 87 40 46 29 PIN: 776445926#\nMore phone numbers: https://tel.meet/jj
a-oiki-ish?pin=6568688249318&hs=7\n\nLearn more about Meet at: https://supp
ort.google.com/a/u
From: Arthur Cohen
gcc/rust/ChangeLog:
* typecheck/rust-hir-type-check-implitem.h: Fix typo in field
(region_costraints -> region_constraints).
---
gcc/rust/typecheck/rust-hir-type-check-implitem.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/r
CXXFLAGS; \
+ LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
+ echo Configuring stage 1 in $(HOST_SUBDIR)/libgrust; \
+ $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgrust; \
+ cd $(HOST_SUBDIR)/libgrust || exit 1; \
+ case $(srcdir) in \
+
From: Pierre-Emmanuel Patry
libgrust/ChangeLog:
* ChangeLog: New file.
Signed-off-by: Pierre-Emmanuel Patry
---
libgrust/ChangeLog | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 libgrust/ChangeLog
diff --git a/libgrust/ChangeLog b/libgrust/ChangeLog
new file mode
ChangeLog:
* MAINTAINERS: Add maintainers for libgrust.
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Add libgrust.
* gcc_update: Add libgrust file dependencies
Co-authored-by: Pierre-Emmanuel Patry
---
MAINTAINERS | 1 +
contrib/gcc
DESCRIPTION:https://meet.jit.si/gccrs-community-call-october
LAST-MODIFIED:20231016T083259Z
LOCATION:
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY:gccrs community call
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
invite.ics
Description: application/ics
Hi!
On 2023-09-26T13:40:40+0200, Richard Biener wrote:
> On Wed, Sep 20, 2023 at 2:04 PM Arthur Cohen
> wrote:
>>
>> From: Pierre-Emmanuel Patry
>>
>> This patch series adds the build system changes to allow the Rust
>> frontend to develop and distribute its own libraries. The first library
>>
On Wed, Sep 20, 2023 at 2:04 PM Arthur Cohen wrote:
>
> From: Pierre-Emmanuel Patry
>
> This patch series adds the build system changes to allow the Rust
> frontend to develop and distribute its own libraries. The first library
> we have been working on is the `proc_macro` library, comprised of a
From: Pierre-Emmanuel Patry
This patch series adds the build system changes to allow the Rust
frontend to develop and distribute its own libraries. The first library
we have been working on is the `proc_macro` library, comprised of a C++
library as well as a user-facing Rust library.
Follow up c
h_location *richloc, const diagnostic_metadata
&metadata,
+ const char *gmsgid, ...)
+{
+ gcc_assert (richloc);
+
+ auto_diagnostic_group d;
+ va_list ap;
+ va_start (ap, gmsgid);
+ diagnostic_impl (richloc, &metadata, -1, gmsgid, &ap, DK_ERROR);
+ va_end (ap);
+}
+
/*
t; &metadata,
> + const char *gmsgid, ...)
> +{
> + gcc_assert (richloc);
> +
> + auto_diagnostic_group d;
> + va_list ap;
> + va_start (ap, gmsgid);
> + diagnostic_impl (richloc, &metadata, -1, gmsgid, &ap, DK_ERROR);
> + va_end (ap);
> +}
&
hloc, const diagnostic_metadata &metadata,
+ const char *gmsgid, ...)
+{
+ gcc_assert (richloc);
+
+ auto_diagnostic_group d;
+ va_list ap;
+ va_start (ap, gmsgid);
+ diagnostic_impl (richloc, &metadata, -1, gmsgid, &ap, DK_ERROR);
+ va_end (ap);
+}
+
/* "Sorry, not imp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
Marc Poulhiès changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
--- Comment #6 from CVS Commits ---
The master branch has been updated by Marc Poulhi?s :
https://gcc.gnu.org/g:02c031088ac0bbf716aec52e027d615b7a5a572b
commit r13-4804-g02c031088ac0bbf716aec52e027d615b7a5a572b
Author: Marc Poulhiès
Date: W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
--- Comment #5 from Jakub Jelinek ---
Yeah.
--
You are receiving this mail because:
You are on the CC list for the bug.
--
Gcc-rust mailing list
Gcc-rust@gcc.gnu.org
https://gcc.gnu.org/mailman/listinfo/gcc-rust
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
Thomas Schwinge changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
--- Comment #3 from Marc Poulhiès ---
I can yes, but wasn't really sure and didn't want to interfere with Arthur
ongoing work at updating the gcc's master branch with all the pending changes
from github.
Should I submit the patch for formal app
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
Thomas Schwinge changed:
What|Removed |Added
CC||tschwinge at gcc dot gnu.org
--- Comm
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
Marc Poulhiès changed:
What|Removed |Added
See Also||https://github.com/Rust-GCC
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed||2022-12-14
Ever confirmed|0 |1
--- Comment #1 from Marc Poulhiès ---
Thanks Jakub! I'll fix that, thanks for the detailed report
--
You are receiving this mail be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108113
Bug ID: 108113
Summary: Rust and --enable-link-serialization=1
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rust
our monthly community call (on-time :-)).<
span> \; - Date and Time 1st July 2022 at: \; \;Fri\, Jul 1 2022\, 0900 UTC&nb
sp\; - Agenda: \;https://hackmd.io/L26Zcfs
nT8q5YcadDSu1FQ">https://hackmd.io/L26ZcfsnT8q5YcadDSu1FQ&n
bsp\;please feel free to add agenda items you
amp;ctz=Europe%2FLondon&hl=en_GB&es=1.\n-::~:~::~:~:~:~:~:~:
~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20220330T101557Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:GCC Rust community call
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
invite.ics
Descripti
Syntactically enum items can have a visibility. The visibility has to
be removed (through a cfg attribute or macro) before they get lowered.
The semantic checking will be done when we implement lowering enum items.
Make the AST EnumItem class a VisItem. This simplifies things a little
for cloning
HIR StructExprTuple classes which are never used.
---
gcc/rust/ast/rust-ast-full-decls.h| 1 -
gcc/rust/ast/rust-ast-full-test.cc| 44 ---
gcc/rust/ast/rust-ast-visitor.h | 1 -
gcc/rust/ast/rust-expr.h | 69 -
gcc
---
gcc/rust/hir/rust-ast-lower-stmt.h | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gcc/rust/hir/rust-ast-lower-stmt.h
b/gcc/rust/hir/rust-ast-lower-stmt.h
index 1e72c8a2023..fdd5041d602 100644
--- a/gcc/rust/hir/rust-ast-lower-stmt.h
+++ b/gcc/rust/hir/rust-ast
token is also an identifier. In parse_union we shouldn't skip
> the first identifier token, because it is already skipped when we call
> expect_token.
> ---
> gcc/rust/parse/rust-parse-impl.h | 16
> 1 file changed, 8 insertions(+), 8 deletions(-)
>
> d
x27;t skip
the first identifier token, because it is already skipped when we call
expect_token.
---
gcc/rust/parse/rust-parse-impl.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h
index bdf1e09a029
+
gcc/testsuite/rust/compile/torture/bom.rs | 1 +
gcc/testsuite/rust/compile/torture/bom_comment.rs | 2 ++
gcc/testsuite/rust/compile/torture/bom_shebang.rs | 2 ++
.../rust/compile/torture/bom_whitespace.rs | 2 ++
5 files changed, 20 insertions(+)
create mode
itespace and/or comments and the "#!"
is seen as part of an inner attribute.
---
gcc/rust/lex/rust-lex.cc | 79 ++-
.../rust/compile/torture/not_shebang.rs | 3 +
.../torture/not_shebang_block_comment.rs | 1 +
.../compile/torture/not_sheba
The default_ty_param was set, but not used. We do need to call
TypeCheckType::Resolve
on the default param, but don't need the result.
---
gcc/rust/typecheck/rust-hir-type-check-type.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/gcc/rust/typecheck/rust-hir
45 matches
Mail list logo