This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/30408] [gfortran, 4.3 regression]: ICE on valid with -Wall



------- Comment #3 from kargl at gcc dot gnu dot org  2007-01-08 18:55 -------
This is related to an undocumented warning flag.  In options.c, gfortran sets
several warnings to on.  One of these is

  gfc_option.warn_character_truncation = 1;

If I change this to 0, then your code with -Wall compiles.  Fortunately,
gfc_option.warn_character_truncation appears only in decl.c and
resolve.c, and occurs exactly once in both files.  A few things need to
occur:
  1) Add a -W[no-]character-truncation option.
  2) Document the option.
  3) Fix Martin's bug


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30408


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]