This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR50718 Fix -fcheck=pointer 4.6/4.7 regression
- From: Tobias Burnus <burnus at net-b dot de>
- To: gcc patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Fri, 14 Oct 2011 17:17:52 +0200
- Subject: Re: [Patch, Fortran] PR50718 Fix -fcheck=pointer 4.6/4.7 regression
- References: <4E980CC7.40902@net-b.de>
On 10/14/2011 12:19 PM, Tobias Burnus wrote:
while testing my constructor draft patch with FGSL, I found two bugs
(4.6/4.7 regressions): PR target/50721 (segfault on x86-64 after
execution - one of the rare -O0 only bugs)
That bug turned out to be a out-of-bounds problem between Fortran and C,
which is very difficult to diagnose, and that the stack was destroyed,
didn't help. As Bernd pointed out, the bug is in the Fortran programm
(FGSL's poly.f90) and not in the compiler.
Regarding the true GCC bug: The patch for -fcheck=pointer was approved
off list by Janus. I have committed the trunk version as Rev. 179988. I
will soon backport it for 4.6 - in time for the 4.6.2 release, which is
to be expected next week.
If you think any other 4.6 regression should be fixed in 4.6.2: Well,
you have the whole weekend to work on a patch :-)
Tobias