🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
1 messages
1 total messages Started by news Tue, 26 Jan 1999 00:00
GCC case statements
#3394
Author: news
Date: Tue, 26 Jan 1999 00:00
17 lines
1448 bytes
Hi all!

Does anyone know of any limits for gcc with case statemts?  My yyparse
function is HUGE, with about 1700 case statements, and gas seems to not be
able to jump that far, I get an error message about Index out of bounds in
gas, and it looks like when I cut down to about 1200 case statements, the
indexes slowly creep back into range until it compiles fine.  Is there a flag
in gcc to allow for larger switch statements in a file or any help would be
appreciated.  Thanks!


sean

CC sal@blksmith.com if possible

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads