Re: How to test for errors without line?

2025-09-20 Thread Thomas Koenig via Gcc
Am 21.09.25 um 00:24 schrieb Andreas Schwab: I wrote "like gcc.dg/Wfatal-2.c" for a reason, it contains the correct answer to your question. That turns out not to be the case. ! { dg-message "compilation terminated" "compilation terminated" { target *-*-* } 0 } Wfatal-2.c has /* { dg-mess

Re: Clarification about RTL shifts semantics

2025-09-20 Thread Richard Sandiford
Jakub Jelinek via Gcc writes: > On Thu, Sep 11, 2025 at 11:02:26AM +0200, Richard Biener via Gcc wrote: >> > Does the doc need clarification on the semantics of RTL shift >> > operations when the shift amount is out of range? >> >> The SHIFT_COUNT_TRUNCATED target macro is also relevant in >> thi

aarch64 - testing

2025-09-20 Thread Martin Uecker via Gcc
Hi all, do we have systems a contributor can access for testing? (My patch caused a regression on aarch64) Martin

Re: aarch64 - testing

2025-09-20 Thread Thomas Koenig via Gcc
Am 11.09.25 um 19:03 schrieb Martin Uecker via Gcc: do we have systems a contributor can access for testing? (My patch caused a regression on aarch64) See https://portal.cfarm.net/machines/list/ . For gcc (or other open source) work, you can ask them for an account. Best regards Th

Re: GCC 1.0 Source Code

2025-09-20 Thread Mark Wielaard
Hi Carlos, On Sat, Sep 20, 2025 at 03:31:44AM +0100, Carlos Jorge Sebastião Moreira via Gcc wrote: > I need the source code of GCC 1.0, seem to be not available from gcc > website. There is https://gcc.gnu.org/pub/gcc/old-releases/ which contains various old releases, including gcc 0.9 and 1.21

Re: How to test for errors without line?

2025-09-20 Thread Andreas Schwab
On Sep 20 2025, Thomas Koenig via Gcc wrote: > I can live with that, but it seems a little strange - is there a > way to check for an error message that is not associated with > a particular line number? Use zero as the line number (like gcc.dg/Wfatal-2.c). -- Andreas Schwab, sch...@linux-m68k.

Re: How to test for errors without line?

2025-09-20 Thread Andreas Schwab
On Sep 20 2025, Thomas Koenig wrote: > Hi Andreas, > >> On Sep 20 2025, Thomas Koenig via Gcc wrote: >> >>> I can live with that, but it seems a little strange - is there a >>> way to check for an error message that is not associated with >>> a particular line number? >> Use zero as the line numb

Re: Copyright assignment form request

2025-09-20 Thread Jonathan Wakely via Gcc
On Sat, 20 Sept 2025 at 17:34, Ben Wu wrote: > > Hi, > > I recently submitted a patch to GCC (libstdc++) which requires a copyright > assignment form or DCO certification. I > included a sign-off line in my patch, but I am not sure this will work since > my name is not recorded anywhere > (thoug

gcc-15-20250920 is now available

2025-09-20 Thread GCC Administrator via Gcc
Snapshot gcc-15-20250920 is now available on https://gcc.gnu.org/pub/gcc/snapshots/15-20250920/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 15 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Copyright assignment form request

2025-09-20 Thread Ben Wu via Gcc
Hi, I recently submitted a patch to GCC (libstdc++) which requires a copyright assignment form or DCO certification. I included a sign-off line in my patch, but I am not sure this will work since my name is not recorded anywhere (though I have a couple insignificant patches which included my email

How to test for errors without line?

2025-09-20 Thread Thomas Koenig via Gcc
Hi, I want to add a test test case for an error I want to emit for an option for an ilp32 system. My current attempt is ! { dg-do compile } ! { dg-options "-ffrontend-optimize -fexternal-blas64" } ! { dg-require-effective-target ilp32 } ! { dg-excess-errors "-ffrontend-optimize required for -fe

Re: Copyright assignment form request

2025-09-20 Thread Mark Wielaard
Hi Ben, On Sat, Sep 20, 2025 at 09:34:14AM -0700, Ben Wu via Gcc wrote: > I was hoping to request an assignment form to cover this patch and all > future changes. I am not contributing as > part of my job, so no employer disclaimer should be necessary. Fill out the "request-assign.future" form fr

Re: How to test for errors without line?

2025-09-20 Thread Thomas Koenig via Gcc
Hi Andreas, On Sep 20 2025, Thomas Koenig via Gcc wrote: I can live with that, but it seems a little strange - is there a way to check for an error message that is not associated with a particular line number? Use zero as the line number (like gcc.dg/Wfatal-2.c). I tried to do that, but th

Re: How to test for errors without line?

2025-09-20 Thread H.J. Lu via Gcc
On Sun, Sep 21, 2025 at 5:28 AM Thomas Koenig via Gcc wrote: > > Hi Andreas, > > > On Sep 20 2025, Thomas Koenig via Gcc wrote: > > > >> I can live with that, but it seems a little strange - is there a > >> way to check for an error message that is not associated with > >> a particular line number

Re: GCC 1.0 Source Code

2025-09-20 Thread Joe Monk via Gcc
Probably the closest you will get is the 0.9 release https://gcc.gnu.org/pub/gcc/old-releases/gcc-1/ Joe On Sat, Sep 20, 2025 at 8:16 AM Mark Wielaard wrote: > Hi Carlos, > > On Sat, Sep 20, 2025 at 03:31:44AM +0100, Carlos Jorge Sebastião Moreira > via Gcc wrote: > > I need the source code of

Re: How to test for errors without line?

2025-09-20 Thread Thomas Koenig via Gcc
Am 20.09.25 um 23:41 schrieb H.J. Lu: "matmul_blas_4.f90" { target *-*-* } 0 } ! { dg-error "compilation terminated" "compilation terminated" { target *-*-* } 0 } Is this line required? It doesn't work, but it is an attempt to get rid of FAIL: gfortran.dg/matmul_blas_4.f90 -O (test for exc