public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
@ 2015-05-04  8:48 ` jakub at gcc dot gnu.org
  2015-05-04  9:50 ` dominiq at lps dot ens.fr
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-04  8:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-05-04
                 CC|                            |burnus at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org
   Target Milestone|---                         |5.2
            Summary|[5.1 Regression] gfortran   |[5 Regression] gfortran ICE
                   |ICE with -dH                |with -dH
     Ever confirmed|0                           |1

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Most likely started with r217600.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
  2015-05-04  8:48 ` [Bug fortran/65996] [5 Regression] gfortran ICE with -dH jakub at gcc dot gnu.org
@ 2015-05-04  9:50 ` dominiq at lps dot ens.fr
  2015-05-04  9:58 ` jakub at gcc dot gnu.org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-05-04  9:50 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
The following test (from pr58334)

program foo
implicit none
character(len=16) :: a,b,c
a="XXX"
b="&
  &XXX"
c="XXX &
  & XXX"
write(0,*) 'a=',a,' b=',b,' c=',c 
endprogram foo

shows the same behavior.

BTW what -dH is supposed to do (I did not find it in the manual)?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
  2015-05-04  8:48 ` [Bug fortran/65996] [5 Regression] gfortran ICE with -dH jakub at gcc dot gnu.org
  2015-05-04  9:50 ` dominiq at lps dot ens.fr
@ 2015-05-04  9:58 ` jakub at gcc dot gnu.org
  2015-05-04 10:20 ` Melven.Roehrig-Zoellner at DLR dot de
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-04  9:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Though, looking at the implementation and documentation of -dH, it sounds like
it is intentional.  -dH is supposed to stand for abort the compiler after
issuing an error.  That is not an internal compiler error, but just abort
requested by the user.  So NOTABUG IMHO.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2015-05-04  9:58 ` jakub at gcc dot gnu.org
@ 2015-05-04 10:20 ` Melven.Roehrig-Zoellner at DLR dot de
  2015-05-04 10:37 ` jakub at gcc dot gnu.org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: Melven.Roehrig-Zoellner at DLR dot de @ 2015-05-04 10:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

Melven.Roehrig-Zoellner at DLR dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

--- Comment #4 from Melven.Roehrig-Zoellner at DLR dot de ---
> man gcc | grep -- -dH
           -dH Produce a core dump whenever an error occurs.
(This refers to a *compiler error* - so I should only need/use it to report a
gcc bug.)

But this flag shouldn't "trigger" an error when there is none without it or am
I missing something here?


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2015-05-04 10:20 ` Melven.Roehrig-Zoellner at DLR dot de
@ 2015-05-04 10:37 ` jakub at gcc dot gnu.org
  2015-05-04 10:46 ` dominiq at lps dot ens.fr
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-04 10:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't have mpi installed, so it is hard to find out if you get an error or
not - your testcase is clearly not self-contained; I certainly do get an error
and correct abort after that.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2015-05-04 10:37 ` jakub at gcc dot gnu.org
@ 2015-05-04 10:46 ` dominiq at lps dot ens.fr
  2015-05-04 10:53 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-05-04 10:46 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

--- Comment #6 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> I don't have mpi installed, so it is hard to find out if you get an error
> or not - your testcase is clearly not self-contained; I certainly do get
> an error and correct abort after that.

Self contained test in comment 2.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2015-05-04 10:46 ` dominiq at lps dot ens.fr
@ 2015-05-04 10:53 ` jakub at gcc dot gnu.org
  2015-05-04 12:14 ` [Bug fortran/65996] [5/6 " Melven.Roehrig-Zoellner at DLR dot de
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 10+ messages in thread
From: jakub at gcc dot gnu.org @ 2015-05-04 10:53 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So supposedly gfc_error needs to for buffered_p case also save and temporarily
clear global_dc->abort_on_error.  Maybe various other changes needed for that.

Wonder what is -dH good for, don't really see when it would be really useful.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5/6 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2015-05-04 10:53 ` jakub at gcc dot gnu.org
@ 2015-05-04 12:14 ` Melven.Roehrig-Zoellner at DLR dot de
  2015-07-16  9:10 ` rguenth at gcc dot gnu.org
  2015-10-16  8:31 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 10+ messages in thread
From: Melven.Roehrig-Zoellner at DLR dot de @ 2015-05-04 12:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

--- Comment #8 from Melven.Roehrig-Zoellner at DLR dot de ---
Thanks for the quick replies and the discussion about the "not-so-usefulness"
of the -dH switch (at least for our project).
We most probably used this switch by mistake - you might possibly improve the
documentation by adding
"-dH Produce a core dump whenever a *compilation* error occurs."
to prevent further misunderstandings for people who don't read the full
paragraph.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5/6 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2015-05-04 12:14 ` [Bug fortran/65996] [5/6 " Melven.Roehrig-Zoellner at DLR dot de
@ 2015-07-16  9:10 ` rguenth at gcc dot gnu.org
  2015-10-16  8:31 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-07-16  9:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|5.2                         |5.3

--- Comment #9 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 5.2 is being released, adjusting target milestone to 5.3.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug fortran/65996] [5/6 Regression] gfortran ICE with -dH
       [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2015-07-16  9:10 ` rguenth at gcc dot gnu.org
@ 2015-10-16  8:31 ` rguenth at gcc dot gnu.org
  9 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-10-16  8:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65996

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-10-16  8:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-65996-4@http.gcc.gnu.org/bugzilla/>
2015-05-04  8:48 ` [Bug fortran/65996] [5 Regression] gfortran ICE with -dH jakub at gcc dot gnu.org
2015-05-04  9:50 ` dominiq at lps dot ens.fr
2015-05-04  9:58 ` jakub at gcc dot gnu.org
2015-05-04 10:20 ` Melven.Roehrig-Zoellner at DLR dot de
2015-05-04 10:37 ` jakub at gcc dot gnu.org
2015-05-04 10:46 ` dominiq at lps dot ens.fr
2015-05-04 10:53 ` jakub at gcc dot gnu.org
2015-05-04 12:14 ` [Bug fortran/65996] [5/6 " Melven.Roehrig-Zoellner at DLR dot de
2015-07-16  9:10 ` rguenth at gcc dot gnu.org
2015-10-16  8:31 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).