* [Bug tree-optimization/27392] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
@ 2006-05-02 15:29 ` pinskia at gcc dot gnu dot org
2006-05-02 16:43 ` [Bug tree-optimization/27392] [4.2 Regression] " schwab at suse dot de
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-02 15:29 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-05-02 15:28 -------
Confirmed. this happens everywhere.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Severity|normal |blocker
Status|UNCONFIRMED |NEW
Component|middle-end |tree-optimization
Ever Confirmed|0 |1
GCC build triplet|hppa-unknown-linux-gnu |
GCC host triplet|hppa-unknown-linux-gnu |
GCC target triplet|hppa-unknown-linux-gnu |
Keywords| |build, ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2006-05-02 15:28:56
date| |
Target Milestone|--- |4.2.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
2006-05-02 15:29 ` [Bug tree-optimization/27392] " pinskia at gcc dot gnu dot org
@ 2006-05-02 16:43 ` schwab at suse dot de
2006-05-03 11:44 ` P dot Schaffnit at access dot rwth-aachen dot de
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: schwab at suse dot de @ 2006-05-02 16:43 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from schwab at suse dot de 2006-05-02 16:43 -------
Triggered by r113425.
--
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
2006-05-02 15:29 ` [Bug tree-optimization/27392] " pinskia at gcc dot gnu dot org
2006-05-02 16:43 ` [Bug tree-optimization/27392] [4.2 Regression] " schwab at suse dot de
@ 2006-05-03 11:44 ` P dot Schaffnit at access dot rwth-aachen dot de
2006-05-03 17:11 ` kargl at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: P dot Schaffnit at access dot rwth-aachen dot de @ 2006-05-03 11:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-03 11:44 -------
Hi!
I believe this could be related: compiling the following with any optimisation
(starting from -O1) causes the following error:
initFeldVonDatei.f90: In function 'initfeldvondateiphase2korn':
initFeldVonDatei.f90:1: internal compiler error: in n_of_executions_at_most, at
tree-ssa-loop-niter.c:1772
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Shall I file a bug? Am I doing something wrong?
Thanks!
Philippe
PS: the build command I'm using:
gfortran -O1 -c Sources.f90
PPS: the source
SUBROUTINE initFeldVonDateiPhase2Korn
!
IMPLICIT NONE
INTEGER :: Grain_Number
INTEGER, ALLOCATABLE :: New_number(:)
!
Grain_Number = 0
Reordering: DO
IF ( ALL ( New_number .GT. 0 ) ) EXIT
Grain_Number = Grain_Number + 1
New_number(MINLOC(New_number)) = Grain_Number
ENDDO Reordering
!
RETURN
END SUBROUTINE initFeldVonDateiPhase2Korn
PPPS: what I'm using:
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /USER/philippe/Irix/Gcc_Sources/configure
--prefix=/WORK/philippe/Tools/Gcc --enable-languages=c,fortran
--with-mpfr=/WORK/philippe/Tools/Mpfr --with-gmp=/WORK/philippe/Tools/Gmp
Thread model: posix
gcc version 4.2.0 20060502 (experimental)
--
P dot Schaffnit at access dot rwth-aachen dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |P dot Schaffnit at access
| |dot rwth-aachen dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2006-05-03 11:44 ` P dot Schaffnit at access dot rwth-aachen dot de
@ 2006-05-03 17:11 ` kargl at gcc dot gnu dot org
2006-05-03 19:28 ` P dot Schaffnit at access dot rwth-aachen dot de
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: kargl at gcc dot gnu dot org @ 2006-05-03 17:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from kargl at gcc dot gnu dot org 2006-05-03 17:10 -------
Phillipe,
Your code appears to be wrong, or perhaps you've cut down a
larger code too agressively. You use the Fortran ALL intrinsic
on the allocatable NEW_NUMBER, but you have never actually
allocated memory for the array.
--
steve
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2006-05-03 17:11 ` kargl at gcc dot gnu dot org
@ 2006-05-03 19:28 ` P dot Schaffnit at access dot rwth-aachen dot de
2006-05-03 19:35 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: P dot Schaffnit at access dot rwth-aachen dot de @ 2006-05-03 19:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-03 19:28 -------
Erm... sorry about that, I didn't think about it: I've indeed thrown out a lot
(I do not have the original sources at hand, but they are happily compiled by
quite a few compilers, including lf95, as far as I can tell, is a
reference...): anyway, I thought that the mere fact that *any* code causes an
ICE is bad, I hoped this could help, I'll try to reduce it a bit less
aggressively tomorrow...
Philippe
(In reply to comment #4)
> Phillipe,
>
> Your code appears to be wrong, or perhaps you've cut down a
> larger code too agressively. You use the Fortran ALL intrinsic
> on the allocatable NEW_NUMBER, but you have never actually
> allocated memory for the array.
>
> --
> steve
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2006-05-03 19:28 ` P dot Schaffnit at access dot rwth-aachen dot de
@ 2006-05-03 19:35 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
2006-05-03 19:40 ` dave at hiauly1 dot hia dot nrc dot ca
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rakdver at atrey dot karlin dot mff dot cuni dot cz @ 2006-05-03 19:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from rakdver at atrey dot karlin dot mff dot cuni dot cz 2006-05-03 19:34 -------
Subject: Re: [4.2 Regression] GCC error: in n_of_executions_at_least, at
tree-ssa-loop-niter.c:1772
The problem in this PR should have been fixed by my yesterday's patch,
does this still reproduce for you?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
` (5 preceding siblings ...)
2006-05-03 19:35 ` rakdver at atrey dot karlin dot mff dot cuni dot cz
@ 2006-05-03 19:40 ` dave at hiauly1 dot hia dot nrc dot ca
2006-05-04 9:38 ` P dot Schaffnit at access dot rwth-aachen dot de
2006-05-04 10:50 ` rakdver at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2006-05-03 19:40 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dave at hiauly1 dot hia dot nrc dot ca 2006-05-03 19:39 -------
Subject: Re: [4.2 Regression] GCC error: in n_of_executions_at_least, at
tree-ssa-loop-niter.c:1772
> The problem in this PR should have been fixed by my yesterday's patch,
> does this still reproduce for you?
The Ada ICE nolonger occurs.
Thanks,
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
` (6 preceding siblings ...)
2006-05-03 19:40 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2006-05-04 9:38 ` P dot Schaffnit at access dot rwth-aachen dot de
2006-05-04 10:50 ` rakdver at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: P dot Schaffnit at access dot rwth-aachen dot de @ 2006-05-04 9:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from P dot Schaffnit at access dot rwth-aachen dot de 2006-05-04 09:38 -------
Hi!
My (not reduced) code compiles again!
Sorry for the delay, but compiling the whole does take some time...
Thanks a lot!
Philippe
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug tree-optimization/27392] [4.2 Regression] GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772
2006-05-02 15:23 [Bug middle-end/27392] New: GCC error: in n_of_executions_at_least, at tree-ssa-loop-niter.c:1772 danglin at gcc dot gnu dot org
` (7 preceding siblings ...)
2006-05-04 9:38 ` P dot Schaffnit at access dot rwth-aachen dot de
@ 2006-05-04 10:50 ` rakdver at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2006-05-04 10:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from rakdver at gcc dot gnu dot org 2006-05-04 10:49 -------
Fixed.
--
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27392
^ permalink raw reply [flat|nested] 10+ messages in thread