public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1
@ 2003-08-12 15:49 gcc-bugzilla at gcc dot gnu dot org
  2003-08-12 16:55 ` [Bug c++/11895] ICE in reshape_init on "attribute(vector_size(16)) int" bangerth at dealii dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2003-08-12 15:49 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: cc1plus gets ICE on valid C code accepted by cc1
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fnf at ninemoons dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-unknown-eabialtivec

	Compiling valid altivec code with the C++ compiler gives an ICE in reshape_init()

Environment:
System: Linux fred.ninemoons.com 2.4.20-19.9 #1 Tue Jul 15 17:03:30 EDT 2003 i686 athlon i386 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: powerpc-unknown-eabialtivec
configured with: /src/sourceware/gcc/gcc/configure -v --prefix=/usr/local/sourceware --target=powerpc-unknown-eabialtivec --enable-gdbtk --disable-multilib --with-gnu-as --with-gnu-ld --with-newlib --enable-languages=c,c++

How-To-Repeat:

    Script started on Tue 12 Aug 2003 08:33:29 AM MST
    $ cat b.i
    __attribute__((vector_size(16))) int a1 = { 100, 200, 300, 400 };
    $ ./cc1 b.i
    
    Execution times (seconds)
     TOTAL                 :   0.01             0.00             0.01
    $ cat b.s
    	.file	"b.i"
    	.globl a1
    	.section	".data"
    	.align 4
    	.type	a1, @object
    	.size	a1, 16
    a1:
    	.long	100
    	.long	200
    	.long	300
    	.long	400
    	.ident	"GCC: (GNU) 3.4 20030812 (experimental)"
    $ ./cc1plus b.i
    b.i:1: internal compiler error: in reshape_init, at cp/decl.c:7613
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    $ exit
    
    Script done on Tue 12 Aug 2003 08:34:24 AM MST


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

* [Bug c++/11895] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
@ 2003-08-12 16:55 ` bangerth at dealii dot org
  2003-08-17  1:40 ` pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bangerth at dealii dot org @ 2003-08-12 16:55 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|i686-pc-linux-gnu           |
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|powerpc-unknown-eabialtivec |
   Last reconfirmed|0000-00-00 00:00:00         |2003-08-12 16:55:52
               date|                            |
            Summary|cc1plus gets ICE on valid C |ICE in reshape_init on
                   |code accepted by cc1        |"attribute(vector_size(16))
                   |                            |int"


------- Additional Comments From bangerth at dealii dot org  2003-08-12 16:55 -------
Confirmed even on x86


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

* [Bug c++/11895] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
  2003-08-12 16:55 ` [Bug c++/11895] ICE in reshape_init on "attribute(vector_size(16)) int" bangerth at dealii dot org
@ 2003-08-17  1:40 ` pinskia at gcc dot gnu dot org
  2003-11-25  1:18 ` [Bug c++/11895] [3.4 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-17  1:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


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

* [Bug c++/11895] [3.4 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
  2003-08-12 16:55 ` [Bug c++/11895] ICE in reshape_init on "attribute(vector_size(16)) int" bangerth at dealii dot org
  2003-08-17  1:40 ` pinskia at gcc dot gnu dot org
@ 2003-11-25  1:18 ` pinskia at gcc dot gnu dot org
  2003-12-19  8:53 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-25  1:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-25 01:18 -------
Just noticed this is a regression.
>From Phil's regression hunter: Search converges between 2003-06-03-trunk (#302) and 
2003-06-04-trunk (#303).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|2003-08-12 16:55:52         |2003-11-25 01:18:45
               date|                            |
            Summary|ICE in reshape_init on      |[3.4 Regression] ICE in
                   |"attribute(vector_size(16)) |reshape_init on
                   |int"                        |"attribute(vector_size(16))
                   |                            |int"
   Target Milestone|---                         |3.4


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


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

* [Bug c++/11895] [3.4 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2003-11-25  1:18 ` [Bug c++/11895] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2003-12-19  8:53 ` pinskia at gcc dot gnu dot org
  2004-01-14  5:08 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-19  8:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-19 08:26 -------
This is caused by:
2003-06-03  Jason Merrill  <jason@redhat.com>

        * cp/cp-tree.h (CP_AGGREGATE_TYPE_P): Accept vectors.

        * cp/decl.c (reshape_init): Handle vectors.

        * testsuite/g++.dg/init/array10.C: New.

Jason could you look at the patch in here or create a new one because you caused this regression.

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


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


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

* [Bug c++/11895] [3.4 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2003-12-19  8:53 ` pinskia at gcc dot gnu dot org
@ 2004-01-14  5:08 ` pinskia at gcc dot gnu dot org
  2004-01-14  5:43 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-14  5:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-14 05:08 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01286.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug c++/11895] [3.4 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-01-14  5:08 ` pinskia at gcc dot gnu dot org
@ 2004-01-14  5:43 ` pinskia at gcc dot gnu dot org
  2004-01-17 18:59 ` [Bug c++/11895] [3.4/3.5 " cvs-commit at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-14  5:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-14 05:43 -------
I will take over because I submitted the patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jason at gcc dot gnu dot org|pinskia at gcc dot gnu dot
                   |                            |org


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


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

* [Bug c++/11895] [3.4/3.5 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-01-14  5:43 ` pinskia at gcc dot gnu dot org
@ 2004-01-17 18:59 ` cvs-commit at gcc dot gnu dot org
  2004-01-17 19:03 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-17 18:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-17 18:59 -------
Subject: Bug 11895

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-01-17 18:59:46

Modified files:
	gcc/cp         : ChangeLog decl.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/ext: vector1.C 

Log message:
	2004-01-16  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR c++/11895
	* g++.dg/ext/vector1.C: New test.
	
	2003-08-26  Fred Fish  <fnf@intrinsity.com>
	
	PR c++/11895
	* decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
	except don't call array_type_nelts() with a VECTOR_TYPE.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3892&r2=1.3893
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&r1=1.1174&r2=1.1175
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3390&r2=1.3391
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/vector1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug c++/11895] [3.4/3.5 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-01-17 18:59 ` [Bug c++/11895] [3.4/3.5 " cvs-commit at gcc dot gnu dot org
@ 2004-01-17 19:03 ` cvs-commit at gcc dot gnu dot org
  2004-01-17 19:05 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-17 19:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-17 19:03 -------
Subject: Bug 11895

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	pinskia@gcc.gnu.org	2004-01-17 19:03:07

Modified files:
	gcc/cp         : ChangeLog decl.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/ext: vector1.C 

Log message:
	2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR c++/11895
	* g++.dg/ext/vector1.C: New test.
	
	2004-01-17  Fred Fish  <fnf@intrinsity.com>
	
	PR c++/11895
	* decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
	except don't call array_type_nelts() with a VECTOR_TYPE.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892&r2=1.3892.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.1174&r2=1.1174.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389&r2=1.3389.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/ext/vector1.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1



-- 


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


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

* [Bug c++/11895] [3.4/3.5 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-01-17 19:03 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-17 19:05 ` pinskia at gcc dot gnu dot org
  2004-01-29 20:59 ` cvs-commit at gcc dot gnu dot org
  2004-01-30  0:42 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-17 19:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-01-17 19:05 -------
Fixed for 3.4 and 3.5.

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


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


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

* [Bug c++/11895] [3.4/3.5 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-01-17 19:05 ` pinskia at gcc dot gnu dot org
@ 2004-01-29 20:59 ` cvs-commit at gcc dot gnu dot org
  2004-01-30  0:42 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-29 20:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-29 20:58 -------
Subject: Bug 11895

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-e500-branch
Changes by:	aldyh@gcc.gnu.org	2004-01-29 20:58:50

Modified files:
	gcc            : ChangeLog.e500 
	gcc/cp         : ChangeLog decl.c 

Log message:
	2004-01-29  Aldy Hernandez  <aldyh@redhat.com>
	
	Backport:
	
	2004-01-17  Fred Fish  <fnf@intrinsity.com>
	
	PR c++/11895
	* cp/decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
	except don't call array_type_nelts() with a VECTOR_TYPE.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.e500.diff?cvsroot=gcc&only_with_tag=gcc-3_3-e500-branch&r1=1.1.2.33&r2=1.1.2.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-e500-branch&r1=1.3076.2.108.2.6&r2=1.3076.2.108.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-e500-branch&r1=1.965.2.35.2.4&r2=1.965.2.35.2.5



-- 


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


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

* [Bug c++/11895] [3.4/3.5 Regression] ICE in reshape_init on "attribute(vector_size(16)) int"
  2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2004-01-29 20:59 ` cvs-commit at gcc dot gnu dot org
@ 2004-01-30  0:42 ` cvs-commit at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-01-30  0:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-01-30 00:42 -------
Subject: Bug 11895

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	aldyh@gcc.gnu.org	2004-01-30 00:42:24

Modified files:
	gcc/cp         : ChangeLog decl.c 

Log message:
	2004-01-29  Aldy Hernandez  <aldyh@redhat.com>
	
	Backport:
	
	2004-01-17  Fred Fish  <fnf@intrinsity.com>
	
	PR c++/11895
	* cp/decl.c (reshape_init): Handle VECTOR_TYPE like ARRAY_TYPE,
	except don't call array_type_nelts() with a VECTOR_TYPE.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3076.2.244&r2=1.3076.2.245
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.965.2.73&r2=1.965.2.74



-- 


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


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

end of thread, other threads:[~2004-01-30  0:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-12 15:49 [Bug c++/11895] New: cc1plus gets ICE on valid C code accepted by cc1 gcc-bugzilla at gcc dot gnu dot org
2003-08-12 16:55 ` [Bug c++/11895] ICE in reshape_init on "attribute(vector_size(16)) int" bangerth at dealii dot org
2003-08-17  1:40 ` pinskia at gcc dot gnu dot org
2003-11-25  1:18 ` [Bug c++/11895] [3.4 Regression] " pinskia at gcc dot gnu dot org
2003-12-19  8:53 ` pinskia at gcc dot gnu dot org
2004-01-14  5:08 ` pinskia at gcc dot gnu dot org
2004-01-14  5:43 ` pinskia at gcc dot gnu dot org
2004-01-17 18:59 ` [Bug c++/11895] [3.4/3.5 " cvs-commit at gcc dot gnu dot org
2004-01-17 19:03 ` cvs-commit at gcc dot gnu dot org
2004-01-17 19:05 ` pinskia at gcc dot gnu dot org
2004-01-29 20:59 ` cvs-commit at gcc dot gnu dot org
2004-01-30  0:42 ` cvs-commit at gcc dot gnu 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).