12632 – [g77 3.3/3.4 Regression] [g77 only] -fbounds-check ICE (original) (raw)
Description susukita@atlas.riken.go.jp 2003-10-16 05:22:20 UTC
The following test.f makes an ICE. INTEGER I(1) I(2) = 0 END
Environment: System: Linux 2.2.19 Architecture: i586
host: i586-pc-linux-gnu build: i586-pc-linux-gnu target: i586-pc-linux-gnu configured with: ./configure --enable-languages=f77
How-To-Repeat: g77 -fbounds-check test.f
Comment 1 Drea Pinski 2003-10-18 16:56:21 UTC
I can confirm this on the mainline (20031017). It does not happen with 3.2.3 so it is a regression but I do not know if anyone will fix this one though as this is fixed in the tree- ssa with f95 which is the future.
Comment 3 Drea Pinski 2003-12-21 09:04:21 UTC
I have a fix but it looks wrong after reading why this was changed in the first place.
Comment 4 Drea Pinski 2003-12-21 09:05:44 UTC
In fact the fix does not help for optimizations either so it ICE at -O.
Comment 7 Drea Pinski 2003-12-29 16:59:47 UTC
Fixed for 3.4.
Comment 9 Drea Pinski 2004-01-01 05:10:22 UTC
Fixed also for 3.3.3.