public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/53418] New: ICE at gimplify.c:7773
@ 2012-05-19 19:23 merkil at savhon dot org
  2012-05-20 20:00 ` [Bug middle-end/53418] [4.5/4.6/4.7/4.8 Regression] " pinskia at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: merkil at savhon dot org @ 2012-05-19 19:23 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53418
           Summary: ICE at gimplify.c:7773
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: merkil@savhon.org


GCC (4.5.3 / 4.6.3 / 4.8.0 as of 20120519) fails to compile this very simple
line.

$ cat file.c
void func(void)
{
    int i = (0 ? 1 : 0xCD03BE72 / 0);
}

$ ~/gcc/dist/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/home/merkil/gcc/dist/bin/gcc
COLLECT_LTO_WRAPPER=/home/merkil/gcc/dist/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../srcdir/configure --prefix=/home/merkil/gcc/dist CFLAGS='-O2
-pipe' CXXFLAGS='-O2 -pipe' --enable-languages=c,c++,lto
Thread model: posix
gcc version 4.8.0 20120519 (experimental) (GCC) 

$ ~/gcc/dist/bin/gcc file.c
file.c: In function ‘func’:
file.c:3:33: internal compiler error: in gimplify_expr, at gimplify.c:7773
     int i = (0 ? 1 : 0xCD03BE72 / 0);
                                 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


Hope that helps !


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

* [Bug middle-end/53418] [4.5/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
@ 2012-05-20 20:00 ` pinskia at gcc dot gnu.org
  2012-05-21 10:18 ` [Bug c/53418] " rguenth at gcc dot gnu.org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-05-20 20:00 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      Known to work|                            |4.4.3
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|                            |2012-05-20
     Ever Confirmed|0                           |1
            Summary|ICE at gimplify.c:7773      |[4.5/4.6/4.7/4.8
                   |                            |Regression] ICE at
                   |                            |gimplify.c:7773
   Target Milestone|---                         |4.5.4
      Known to fail|                            |4.7.0, 4.8.0

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-05-20 19:29:19 UTC ---
Confirmed.


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

* [Bug c/53418] [4.5/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
  2012-05-20 20:00 ` [Bug middle-end/53418] [4.5/4.6/4.7/4.8 Regression] " pinskia at gcc dot gnu.org
@ 2012-05-21 10:18 ` rguenth at gcc dot gnu.org
  2012-05-21 15:11 ` jsm28 at gcc dot gnu.org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-21 10:18 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsm28 at gcc dot gnu.org
          Component|middle-end                  |c

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-21 09:32:31 UTC ---
(gdb) call debug_generic_expr (*expr_p)
<<< Unknown tree: c_maybe_const_expr

  3439574642 / 0 >>>

The C frontend fails to strip C_MAYBE_CONST_EXPR.


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

* [Bug c/53418] [4.5/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
  2012-05-20 20:00 ` [Bug middle-end/53418] [4.5/4.6/4.7/4.8 Regression] " pinskia at gcc dot gnu.org
  2012-05-21 10:18 ` [Bug c/53418] " rguenth at gcc dot gnu.org
@ 2012-05-21 15:11 ` jsm28 at gcc dot gnu.org
  2012-05-21 15:31 ` burnus at gcc dot gnu.org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-05-21 15:11 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |jsm28 at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #3 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2012-05-21 13:49:50 UTC ---
Testing a patch.


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

* [Bug c/53418] [4.5/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (2 preceding siblings ...)
  2012-05-21 15:11 ` jsm28 at gcc dot gnu.org
@ 2012-05-21 15:31 ` burnus at gcc dot gnu.org
  2012-05-21 17:51 ` jsm28 at gcc dot gnu.org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-05-21 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-21 15:25:14 UTC ---
(In reply to comment #3)
> Testing a patch.

Which was seemingly committed (with the wrong PR number in the ChangeLog);
commit log copied from PR fortran/53148 [I've edited the PR in the log below]:


Author: jsm28
Date: Mon May 21 14:42:26 2012
New Revision: 187718

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187718
Log:
    PR c/53418
    * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
    from folded operands before wrapping another around the
    conditional expression.

testsuite:
    * gcc.c-torture/compile/pr53418-1.c,
    gcc.c-torture/compile/pr53418-2.c: New tests.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
    trunk/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/c-typeck.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c/53418] [4.5/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (3 preceding siblings ...)
  2012-05-21 15:31 ` burnus at gcc dot gnu.org
@ 2012-05-21 17:51 ` jsm28 at gcc dot gnu.org
  2012-05-21 20:57 ` jsm28 at gcc dot gnu.org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-05-21 17:51 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2012-05-21 16:47:47 UTC ---
Author: jsm28
Date: Mon May 21 16:47:32 2012
New Revision: 187726

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187726
Log:
    PR c/53418
    * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
    from folded operands before wrapping another around the
    conditional expression.

testsuite:
    * gcc.c-torture/compile/pr53418-1.c,
    gcc.c-torture/compile/pr53418-2.c: New tests.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
    branches/gcc-4_7-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/c-typeck.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


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

* [Bug c/53418] [4.5/4.6/4.7/4.8 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (4 preceding siblings ...)
  2012-05-21 17:51 ` jsm28 at gcc dot gnu.org
@ 2012-05-21 20:57 ` jsm28 at gcc dot gnu.org
  2012-05-21 20:59 ` [Bug c/53418] [4.5 " jsm28 at gcc dot gnu.org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-05-21 20:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2012-05-21 20:12:17 UTC ---
Author: jsm28
Date: Mon May 21 20:12:05 2012
New Revision: 187736

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187736
Log:
    PR c/53418
    * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
    from folded operands before wrapping another around the
    conditional expression.

testsuite:
    * gcc.c-torture/compile/pr53418-1.c,
    gcc.c-torture/compile/pr53418-2.c: New tests.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
    branches/gcc-4_6-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/c-typeck.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (5 preceding siblings ...)
  2012-05-21 20:57 ` jsm28 at gcc dot gnu.org
@ 2012-05-21 20:59 ` jsm28 at gcc dot gnu.org
  2012-06-20 13:22 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-05-21 20:59 UTC (permalink / raw)
  To: gcc-bugs

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

Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
         AssignedTo|jsm28 at gcc dot gnu.org    |unassigned at gcc dot
                   |                            |gnu.org
            Summary|[4.5/4.6/4.7/4.8            |[4.5 Regression] ICE at
                   |Regression] ICE at          |gimplify.c:7773
                   |gimplify.c:7773             |

--- Comment #7 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2012-05-21 20:13:45 UTC ---
Fixed for 4.8.0, 4.7.1, 4.6.4.


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (6 preceding siblings ...)
  2012-05-21 20:59 ` [Bug c/53418] [4.5 " jsm28 at gcc dot gnu.org
@ 2012-06-20 13:22 ` rguenth at gcc dot gnu.org
  2012-06-20 14:39 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-20 13:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (7 preceding siblings ...)
  2012-06-20 13:22 ` rguenth at gcc dot gnu.org
@ 2012-06-20 14:39 ` rguenth at gcc dot gnu.org
  2012-06-20 14:41 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-20 14:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-20 14:39:40 UTC ---
Author: rguenth
Date: Wed Jun 20 14:39:36 2012
New Revision: 188837

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188837
Log:
2012-06-20  Richard Guenther  <rguenther@suse.de>

    Backport from mainline
    2012-05-21  Joseph Myers  <joseph@codesourcery.com>

    PR c/53418
    * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR
    from folded operands before wrapping another around the
    conditional expression.

    * gcc.c-torture/compile/pr53418-1.c,
    gcc.c-torture/compile/pr53418-2.c: New tests.

Added:
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-1.c
    branches/gcc-4_5-branch/gcc/testsuite/gcc.c-torture/compile/pr53418-2.c
Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/c-typeck.c
    branches/gcc-4_5-branch/gcc/testsuite/ChangeLog


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (8 preceding siblings ...)
  2012-06-20 14:39 ` rguenth at gcc dot gnu.org
@ 2012-06-20 14:41 ` rguenth at gcc dot gnu.org
  2012-07-26 10:23 ` merkil at savhon dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-06-20 14:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-06-20 14:40:57 UTC ---
Fixed.


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (9 preceding siblings ...)
  2012-06-20 14:41 ` rguenth at gcc dot gnu.org
@ 2012-07-26 10:23 ` merkil at savhon dot org
  2012-07-26 11:10 ` mikpe at it dot uu.se
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: merkil at savhon dot org @ 2012-07-26 10:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Antoine Balestrat <merkil at savhon dot org> 2012-07-26 10:23:43 UTC ---
This simple testcase appears to trigger the same ICE :

$ cat ice.c

void f(void)
{
    0 || 0 / 0 ? : 0;
}

$ gcc -w ice.c

ice.c: In function ‘f’:
ice.c:3:12: internal compiler error: in gimplify_expr, at gimplify.c:7790
     0 || 0 / 0 ? : 0;
            ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

I'm using GCC 4.8.0 20120725.


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (10 preceding siblings ...)
  2012-07-26 10:23 ` merkil at savhon dot org
@ 2012-07-26 11:10 ` mikpe at it dot uu.se
  2012-07-26 14:09 ` joseph at codesourcery dot com
  2012-07-27  8:52 ` merkil at savhon dot org
  13 siblings, 0 replies; 15+ messages in thread
From: mikpe at it dot uu.se @ 2012-07-26 11:10 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #11 from Mikael Pettersson <mikpe at it dot uu.se> 2012-07-26 11:10:13 UTC ---
The new test case in #c10 ICEs gcc 4.8-20120722, 4.7-20120721, 4.6-20120720,
and 4.5-20120628, but not gcc-4.4.7, for me on x86_64-linux.


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (11 preceding siblings ...)
  2012-07-26 11:10 ` mikpe at it dot uu.se
@ 2012-07-26 14:09 ` joseph at codesourcery dot com
  2012-07-27  8:52 ` merkil at savhon dot org
  13 siblings, 0 replies; 15+ messages in thread
From: joseph at codesourcery dot com @ 2012-07-26 14:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-07-26 14:09:07 UTC ---
If something ICEs on current trunk it's clearly a different bug from this 
one, which is fixed, and so would need to be filed as a separate bug.


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

* [Bug c/53418] [4.5 Regression] ICE at gimplify.c:7773
  2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
                   ` (12 preceding siblings ...)
  2012-07-26 14:09 ` joseph at codesourcery dot com
@ 2012-07-27  8:52 ` merkil at savhon dot org
  13 siblings, 0 replies; 15+ messages in thread
From: merkil at savhon dot org @ 2012-07-27  8:52 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Antoine Balestrat <merkil at savhon dot org> 2012-07-27 08:51:54 UTC ---
Filed as PR54103.


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

end of thread, other threads:[~2012-07-27  8:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-19 19:23 [Bug middle-end/53418] New: ICE at gimplify.c:7773 merkil at savhon dot org
2012-05-20 20:00 ` [Bug middle-end/53418] [4.5/4.6/4.7/4.8 Regression] " pinskia at gcc dot gnu.org
2012-05-21 10:18 ` [Bug c/53418] " rguenth at gcc dot gnu.org
2012-05-21 15:11 ` jsm28 at gcc dot gnu.org
2012-05-21 15:31 ` burnus at gcc dot gnu.org
2012-05-21 17:51 ` jsm28 at gcc dot gnu.org
2012-05-21 20:57 ` jsm28 at gcc dot gnu.org
2012-05-21 20:59 ` [Bug c/53418] [4.5 " jsm28 at gcc dot gnu.org
2012-06-20 13:22 ` rguenth at gcc dot gnu.org
2012-06-20 14:39 ` rguenth at gcc dot gnu.org
2012-06-20 14:41 ` rguenth at gcc dot gnu.org
2012-07-26 10:23 ` merkil at savhon dot org
2012-07-26 11:10 ` mikpe at it dot uu.se
2012-07-26 14:09 ` joseph at codesourcery dot com
2012-07-27  8:52 ` merkil at savhon dot 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).